Commit 137237ab authored by 韩桐桐's avatar 韩桐桐

fix(tcm):写法修改

parent 66985291
......@@ -77,7 +77,9 @@ public class HistoryDataDealServiceImpl {
// 由于目前系统作业人员为新增的资质,还没维护资质信息,故与测试沟通去掉post里面的6618维保人员,人员维护后程序会把6618重新冗余到post字段
updateWrapper.set(TzsUserInfo::getPost, u.getPost().replace("6618",""));
// 维保人员人员类型去掉,数据归并到作业人员-名称处理保持与new_post一致
updateWrapper.set(u.getPostName() != null, TzsUserInfo::getPostName, u.getPostName().replace("维保人员","作业人员"));
if (u.getPostName() != null) {
updateWrapper.set(TzsUserInfo::getPostName, u.getPostName().replace("维保人员", "作业人员"));
}
updateWrapper.eq(BaseEntity::getSequenceNbr, u.getSequenceNbr());
userInfoService.update(updateWrapper);
});
......
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