Commit b4f354e0 by huangZW

111

parent f742291c
...@@ -127,13 +127,16 @@ public class AuditApiServiceImpl implements AuditApiService{ ...@@ -127,13 +127,16 @@ public class AuditApiServiceImpl implements AuditApiService{
@Override @Override
public void editStoreInfo(String storeId, String changeField, public void editStoreInfo(String storeId, String changeField,
String oldValue, String newValue) { String oldValue, String newValue) {
logger.info("===================进11");
StoreDTO store = storeService.getStore(storeId); StoreDTO store = storeService.getStore(storeId);
if(!StoreFieldEnum.STORE_IMAG.getValue().equals(changeField)){ if(!StoreFieldEnum.STORE_IMAG.getValue().equals(changeField)){
//非门店图片修改 //非门店图片修改
logger.info("===================进222");
getStoreDTO( store, changeField, oldValue, newValue); getStoreDTO( store, changeField, oldValue, newValue);
storeService.saveOrUpdateStore(store); storeService.saveOrUpdateStore(store);
}else{ }else{
//门店图片修改 //门店图片修改
logger.info("===================进333");
storeService.updateStorePhotos(storeId, newValue); storeService.updateStorePhotos(storeId, newValue);
} }
} }
......
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