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

添加巴中经开区windows shell

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