耗材 虚拟列 不做修改

This commit is contained in:
wangw 2024-10-21 09:48:56 +08:00
parent 29292c54ed
commit 4ced0336e4
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ public class TbConsInfoServiceImpl implements TbConsInfoService {
throw new Exception("耗材信息不存在");
}
BeanUtil.copyProperties(resource,tbConsInfo, CopyOptions.create().setIgnoreNullValue(true));
tbConsInfo.setBalance(null);
tbConsInfo.setUpdateTime(new Timestamp(System.currentTimeMillis()));
tbConsInfoRepository.save(tbConsInfo);