Commit 7de42621 by zhiwj

bug

parent dc8a45af
......@@ -34,7 +34,6 @@ import org.apache.logging.log4j.Logger;
import org.elasticsearch.common.geo.GeoUtils;
import org.redisson.api.RKeys;
import org.redisson.api.RedissonClient;
import org.reflections.Store;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
......@@ -161,7 +160,11 @@ public class StoreApiServiceImpl implements StoreApiService {
return ServiceResponse.failure(ErrorCode.NOTEXISTS.getCode(), ErrorCode.NOTEXISTS.getMsg());
}
// 记录门店日志
saveUpdateLog(existStore.getResult(), storeDTO);
try {
saveUpdateLog(existStore.getResult(), storeDTO);
} catch (Exception e) {
logger.warn("门店编辑日志记录错误", e);
}
}
// 自定义属性
storeExtendService.saveOrUpdate(storeDTO.getEnterpriseId(), storeDTO.getStoreInfoId(), storeDTO.getStoreExtendList());
......
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