haogh hai 1 ano
pai
achega
e66fd38515

+ 3 - 3
sop-business/src/main/java/com/qmth/sop/business/service/impl/TBDeviceDeliveryServiceImpl.java

@@ -801,9 +801,9 @@ public class TBDeviceDeliveryServiceImpl extends ServiceImpl<TBDeviceDeliveryMap
         if (Objects.isNull(deviceDelivery)) {
             throw ExceptionResultEnum.ERROR.exception(String.format("设备发货记录不存在,ID:[%s]", id));
         }
-        if (deviceDelivery.getDeviceStatus().equals(deviceStatus)) {
-            throw ExceptionResultEnum.ERROR.exception("未做改动");
-        }
+//        if (deviceDelivery.getDeviceStatus().equals(deviceStatus)) {
+//            throw ExceptionResultEnum.ERROR.exception("未做改动");
+//        }
         //更新设备发货记录的设备状态
         this.update(new UpdateWrapper<TBDeviceDelivery>().lambda().eq(TBDeviceDelivery::getId, id)
                 .set(TBDeviceDelivery::getDeviceStatus, deviceStatus).set(TBDeviceDelivery::getUpdateId, userId)