Commit ad37cd86 authored by 赵啸非's avatar 赵啸非

添加巴中经开区windows shell

parent 20af43cb
......@@ -916,7 +916,7 @@ public class DeviceApiController {
deviceAdd(req);
break;
case UPDATE:
//deviceUpdate(req);
deviceUpdate(req);
log.info("【设备更新】暂不支持!");
break;
case DEL:
......@@ -1003,7 +1003,9 @@ public class DeviceApiController {
throw new AppException(DEVICE_CODE_IS_EMPTY, DEVICE_CODE_IS_EMPTY_CONTENT);
}
ProductEntity productEntity = productService.selectOne(new ProductQuery().productCode(req.getProductCode()));
ProductEntity productEntity = productService.getCache(req.getProductCode());
// ProductEntity productEntity = productService.selectOne(new ProductQuery().productCode(req.getProductCode()));
if (ObjectUtils.isEmpty(productEntity)) {
throw new AppException(PRODUCT_IS_EMPTY, PRODUCT_IS_EMPTY_CONTENT);
}
......
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