zhangxin 3 주 전
부모
커밋
ec99057918
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      prod-line-imes/src/main/java/com/huaxia/imes/service/MesLineService.java

+ 1 - 1
prod-line-imes/src/main/java/com/huaxia/imes/service/MesLineService.java

@@ -104,7 +104,7 @@ public class MesLineService extends ServiceImpl<MesLineMapper, MesLine> implemen
         // 转换为 Instant 进行比较,避免时区问题
         Instant createInstant = boy.getCreateTime().toInstant();
         Instant nowInstant = Instant.now();
-        Assert.isTrue(!createInstant.isAfter(nowInstant), "500-创建时间不能大于当前时间");
+        Assert.isTrue(!createInstant.isAfter(nowInstant), "500-生产时间不能大于当前时间");
         boy.setUpdateTime(new Date())
                 .setUpdateBy(SecurityUtils.getUsername());
         this.updateById(boy);