Commit 55d2ba5d by zhiwj

返回报错信息

parent 15f37875
......@@ -738,7 +738,11 @@ public class StoreApiServiceImpl implements StoreApiService {
storeDTO.setReason(StoreLogReasonEnum.EXTERNAL.getCode());
// 保存门店
// this.storeService.save(storeDTO);
this.saveOrUpdate(storeDTO);
ServiceResponse<Integer> serviceResponse = this.saveOrUpdate(storeDTO);
if (!serviceResponse.isSuccess()) {
return EnterpriseServiceResponse.failure(serviceResponse.getCode(), serviceResponse.getMessage());
}
if ((StringUtils.isBlank(processBatchStoreDTO.getProvince()) && StringUtils.isBlank(processBatchStoreDTO.getCity()) && StringUtils.isBlank(processBatchStoreDTO.getCounty()))) {
return responseErrorElement(ImportStoreBatchResultEnum.B3);
......
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