diff --git a/api-admin/src/main/java/com/glxp/api/admin/service/inventory/impl/DeviceCollectOrderServiceImpl.java b/api-admin/src/main/java/com/glxp/api/admin/service/inventory/impl/DeviceCollectOrderServiceImpl.java index 7e7aea81..5d3081b7 100644 --- a/api-admin/src/main/java/com/glxp/api/admin/service/inventory/impl/DeviceCollectOrderServiceImpl.java +++ b/api-admin/src/main/java/com/glxp/api/admin/service/inventory/impl/DeviceCollectOrderServiceImpl.java @@ -77,7 +77,7 @@ public class DeviceCollectOrderServiceImpl implements DeviceCollectOrderService return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL); } deviceCollectOrderEntity.setUpdateTime(DateUtil.getDateTime()); - deviceCollectOrderDao.updateByPrimaryKey(deviceCollectOrderEntity); + deviceCollectOrderDao.updateByPrimaryKeySelective(deviceCollectOrderEntity); return ResultVOUtils.success("更新成功"); }