2021-05-19

This commit is contained in:
wans 2021-05-19 14:37:32 +08:00
parent b0d1f71337
commit 16d6b30f52

View File

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