项目清单确认流程

This commit is contained in:
yuezhihang
2021-08-31 15:27:02 +08:00
parent 038a2232eb
commit a6883f2cb5
@@ -42,11 +42,7 @@ public class confirmAfter implements TaskListener {
JSONObject jsonObject=JSONObject.parseObject(os.toString());
StandProjectRelationDto standProjectRelationDto=new StandProjectRelationDto();
standProjectRelationDto.setProjectId(object.getString("projectId"));
if (null!= jsonObject.getString("id") ) {
standProjectRelationDto.setStandId(jsonObject.getString("id"));
}else {
standProjectRelationDto.setStandId(jsonObject.getString("standId"));
}
standProjectRelationDto.setStandId(jsonObject.getString("standId"));
standProjectRelationDtos.add(standProjectRelationDto);
}
lawsUserInfoService.batchInsert(standProjectRelationDtos);