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