提交用户信息补全验证

This commit is contained in:
wans 2021-05-31 14:54:40 +08:00
parent 16d6b30f52
commit ed4bfbdfc5

View File

@ -53,7 +53,7 @@ public class BasicStaffInfoServiceImpl extends DefaultBaseService implements IBa
query.put("bindUserAccount",params.get("creator").toString());
BasicStaffInfoDTO dto = basicStaffInfoDao.getById(query);
// 如果不为空删除后重新保存
if(dto != null){
if(dto != null && dto.getBasicStaffInfoId() != null){
List<String> ids = new ArrayList<>();
ids.add(dto.getBasicStaffInfoId());
query.put("ids",ids);