提交
This commit is contained in:
parent
0c05484af0
commit
b0d1f71337
@ -52,10 +52,12 @@ public class BasicStaffInfoServiceImpl extends DefaultBaseService implements IBa
|
||||
Map<String, Object> query = new HashMap<>(4);
|
||||
query.put("bindUserAccount",params.get("creator").toString());
|
||||
BasicStaffInfoDTO dto = basicStaffInfoDao.getById(query);
|
||||
List<String> ids = new ArrayList<>();
|
||||
ids.add(dto.getBasicStaffInfoId());
|
||||
query.put("ids",ids);
|
||||
basicStaffInfoDao.delete(query);
|
||||
if(dto != null){
|
||||
List<String> ids = new ArrayList<>();
|
||||
ids.add(dto.getBasicStaffInfoId());
|
||||
query.put("ids",ids);
|
||||
basicStaffInfoDao.delete(query);
|
||||
}
|
||||
} else {
|
||||
setSaveInfo(params);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user