Commit 991acf7f by 陶光胜

门店保存修改

parent 7b9a8e22
......@@ -155,6 +155,7 @@ public class StoreApiServiceImpl implements StoreApiService {
} else {
ServiceResponse<StoreDTO> existStore = this.getStoreById(storeDTO.getEnterpriseId(), storeDTO.getStoreId());
storeDTO.setStoreInfoId(existStore.getResult().getStoreInfoId());
storeDTO.setStatus(existStore.getResult().getStatus());
Integer update = storeService.update(storeDTO);
if (update == 0) {
return ServiceResponse.failure(ErrorCode.NOTEXISTS.getCode(), ErrorCode.NOTEXISTS.getMsg());
......
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