Commit 0a04338b by zhiwj

门店导入

parent 1a8f1923
......@@ -884,7 +884,7 @@ public class StoreApiServiceImpl implements StoreApiService {
}
jsonObject.put(existObj.toString(), value == null ? 0l : Long.valueOf(value));
} else {
jsonObject.put(existObj.toString(), extendDTO.getValue() == null ? 0 : Long.valueOf(extendDTO.getValue()));
jsonObject.put(existObj.toString(), StringUtils.isBlank(extendDTO.getValue()) ? 0 : Long.valueOf(extendDTO.getValue()));
}
}
}
......
......@@ -323,7 +323,7 @@ public class StoreImportController {
if (validate) {
// 验证门店code唯一
if (storeImportApiService.validateStoreName(enterpriseId, storeName).getResult()) {
bean.setErrorMessage("门店名字重复");
bean.setErrorMessage("门店名称已经存在");
validate = false;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment