提交
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);
|
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);
|
||||||
List<String> ids = new ArrayList<>();
|
if(dto != null){
|
||||||
ids.add(dto.getBasicStaffInfoId());
|
List<String> ids = new ArrayList<>();
|
||||||
query.put("ids",ids);
|
ids.add(dto.getBasicStaffInfoId());
|
||||||
basicStaffInfoDao.delete(query);
|
query.put("ids",ids);
|
||||||
|
basicStaffInfoDao.delete(query);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
setSaveInfo(params);
|
setSaveInfo(params);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user