Commit aacf5a54 authored by suhuiguang's avatar suhuiguang

fix(jg) :使用登记

1.登记完成后,datasource 被覆盖
parent dd2672af
......@@ -468,6 +468,8 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
// 修改设备使用状态为在用
useInfo.setEquState(String.valueOf(EquipmentEnum.ZAIYONG.getCode()));
}
// 上边的BeanUtil.copyProperties(map, useInfo); 把DATA_SOURCE 覆盖了,所以进行恢复
useInfo.setDataSource(null);
// 更新使用信息
useInfoMapper.update(useInfo, lambda);
// 更新检验检测信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment