3254194295 преди 7 месеца
родител
ревизия
e4db326099
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      platform-service/src/main/java/com/platform/service/sb/impl/SbMeasureLogServiceImpl.java

+ 2 - 2
platform-service/src/main/java/com/platform/service/sb/impl/SbMeasureLogServiceImpl.java

@@ -434,8 +434,8 @@ public class SbMeasureLogServiceImpl extends BaseServiceImpl<SbMeasureLogMapper,
             }
 
         }*/
-//        sbInfo.setNextCheckDate(model.getYouXiaoDate());
-        sbInfo.setNextCheckDate(model.getLastDate().minusMonths(-checkPeriod).minusDays(1));
+        sbInfo.setNextCheckDate(model.getYouXiaoDate());
+//        sbInfo.setNextCheckDate(model.getLastDate().minusMonths(-checkPeriod).minusDays(1));
         sbInfo.setZaiz(model.getName());// 检定单位
         sbInfo.setSbdh(model.getNo());// 检定编号
         sbInfo.setRemark(model.getRemark());// 备注