Merge remote-tracking branch 'origin/upgrade' into upgrade

This commit is contained in:
TS-QD1 2023-11-04 16:24:39 +08:00
commit 62872782f2
4 changed files with 15 additions and 4 deletions

View File

@ -51,7 +51,11 @@ public class CorrectServiceImpl extends AbstractService implements ICorrectServi
String correctId = UUIDUtil.getUUID();
Map<String, Object> params = HashMapUtil.objectToMap(correctVO);
params.put("correctId", correctId);
setSaveInfo(params);
if(StringUtils.isEmpty(token)) {
setSaveInfo(params);
}else{
setSaveInfo(token, params);
}
correctDao.save(params);
return correctId;
}

View File

@ -59,7 +59,6 @@ public class PetitionServiceImpl extends AbstractService implements IPetitionSer
}else{
setSaveInfo(token, params);
}
petitionDao.save(params);
return petitionId;
}

View File

@ -160,7 +160,11 @@ public class PopulationInfoServiceImpl extends AbstractService implements IPopul
}
Map<String, Object> params = HashMapUtil.objectToMap(populationInfoVO);
params.put("populationInfoId", populationInfoId);
setSaveInfo(params);
if(StringUtils.isEmpty(token)) {
setSaveInfo(params);
}else{
setSaveInfo(token, params);
}
populationInfoDao.save(params);//
return populationInfoId;
}

View File

@ -51,7 +51,11 @@ public class ReleaseServiceImpl extends AbstractService implements IReleaseServi
String releaseId = UUIDUtil.getUUID();
Map<String, Object> params = HashMapUtil.objectToMap(releaseVO);
params.put("releaseId", releaseId);
setSaveInfo(params);
if(StringUtils.isEmpty(token)) {
setSaveInfo(params);
}else{
setSaveInfo(token, params);
}
releaseDao.save(params);
return releaseId;
}