Commit ba0517f3 by huangZW

111

parent b4f354e0
......@@ -141,6 +141,7 @@ public class AuditApiServiceImpl implements AuditApiService{
}
}
void getStoreDTO(StoreDTO store,String changeField,String oldValue,String newValue){
logger.info("==========================>changeField={}",changeField);
if(StoreFieldEnum.BUSINESS_TIME_STRING.getValue().equals(changeField)){
SimpleDateFormat sdf = new SimpleDateFormat("HH:mm");
//营业时间
......@@ -165,11 +166,12 @@ public class AuditApiServiceImpl implements AuditApiService{
//联系电话
store.setConactsPhone(newValue);
}else if(StoreFieldEnum.STORE_ADDRESS.getValue().equals(changeField)){
logger.info("==========================>进来333");
//门店地址
StoreAddressDTO obj = JSONObject.parseObject(newValue,StoreAddressDTO.class);
String areaId = obj.getAreaId();
String storeAddress = obj.getStoreAddress();
logger.info("==========================>areaId={},storeAddress={}",areaId,storeAddress);
logger.info("==========================>areaId={},storeAddress={},newValue={}",areaId,storeAddress,newValue);
String arr[] = storeAddress.split(" ");
store.setAreaId(areaId);
store.setFullArea(arr[0]);
......
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