修改新增人员设置
This commit is contained in:
parent
56cfc9f68e
commit
3525027e79
@ -51,7 +51,11 @@ public class CorrectServiceImpl extends AbstractService implements ICorrectServi
|
|||||||
String correctId = UUIDUtil.getUUID();
|
String correctId = UUIDUtil.getUUID();
|
||||||
Map<String, Object> params = HashMapUtil.objectToMap(correctVO);
|
Map<String, Object> params = HashMapUtil.objectToMap(correctVO);
|
||||||
params.put("correctId", correctId);
|
params.put("correctId", correctId);
|
||||||
setSaveInfo(params);
|
if(StringUtils.isEmpty(token)) {
|
||||||
|
setSaveInfo(params);
|
||||||
|
}else{
|
||||||
|
setSaveInfo(token, params);
|
||||||
|
}
|
||||||
correctDao.save(params);
|
correctDao.save(params);
|
||||||
return correctId;
|
return correctId;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ public class PetitionServiceImpl extends AbstractService implements IPetitionSer
|
|||||||
}else{
|
}else{
|
||||||
setSaveInfo(token, params);
|
setSaveInfo(token, params);
|
||||||
}
|
}
|
||||||
|
|
||||||
petitionDao.save(params);
|
petitionDao.save(params);
|
||||||
return petitionId;
|
return petitionId;
|
||||||
}
|
}
|
||||||
|
@ -160,7 +160,11 @@ public class PopulationInfoServiceImpl extends AbstractService implements IPopul
|
|||||||
}
|
}
|
||||||
Map<String, Object> params = HashMapUtil.objectToMap(populationInfoVO);
|
Map<String, Object> params = HashMapUtil.objectToMap(populationInfoVO);
|
||||||
params.put("populationInfoId", populationInfoId);
|
params.put("populationInfoId", populationInfoId);
|
||||||
setSaveInfo(params);
|
if(StringUtils.isEmpty(token)) {
|
||||||
|
setSaveInfo(params);
|
||||||
|
}else{
|
||||||
|
setSaveInfo(token, params);
|
||||||
|
}
|
||||||
populationInfoDao.save(params);//
|
populationInfoDao.save(params);//
|
||||||
return populationInfoId;
|
return populationInfoId;
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,11 @@ public class ReleaseServiceImpl extends AbstractService implements IReleaseServi
|
|||||||
String releaseId = UUIDUtil.getUUID();
|
String releaseId = UUIDUtil.getUUID();
|
||||||
Map<String, Object> params = HashMapUtil.objectToMap(releaseVO);
|
Map<String, Object> params = HashMapUtil.objectToMap(releaseVO);
|
||||||
params.put("releaseId", releaseId);
|
params.put("releaseId", releaseId);
|
||||||
setSaveInfo(params);
|
if(StringUtils.isEmpty(token)) {
|
||||||
|
setSaveInfo(params);
|
||||||
|
}else{
|
||||||
|
setSaveInfo(token, params);
|
||||||
|
}
|
||||||
releaseDao.save(params);
|
releaseDao.save(params);
|
||||||
return releaseId;
|
return releaseId;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user