zhangxin 3 settimane fa
parent
commit
ec99057918

+ 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);