耗材 虚拟列 不做修改
This commit is contained in:
parent
29292c54ed
commit
4ced0336e4
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue