修改规划报告提交接口

master
xiaoCJ 6 months ago
parent 30ebe199c8
commit b91ed33bca

@ -245,6 +245,7 @@ public class SynthesisPlanController {
return score;
}
synthesisPlanClient.setSubmitStatus("未审核");
synthesisPlanClientMapper.updateByPrimaryKeySelective(synthesisPlanClient);
return new ResultEntity<>(HttpStatus.OK, "规划报告提交成功!");
}
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "规划报告提交失败!提交状态错误");

@ -1704,7 +1704,7 @@ public class CaseServiceImpl implements CaseService {
List<SynthesisPlanClient> synthesisPlanClientList = synthesisPlanClientMapper.selectByExample(example1);
if (synthesisPlanClientList!=null && !synthesisPlanClientList.isEmpty()){
SynthesisPlanClient synthesisPlanClient = synthesisPlanClientList.get(0);
synthesisPlanClient.setSubmitStatus("未提交");
synthesisPlanClient.setSubmitStatus("未审核");
synthesisPlanClientMapper.updateByPrimaryKey(synthesisPlanClient);
}
if (comCases == null || comCases.isEmpty()) {

@ -516,6 +516,7 @@ public class SynthesisPlanServiceImpl implements SynthesisPlanService {
// 循环处理每个字段
for (int i = 0; i < fields.length; i++) {
SynthesisPlanScoreWithBLOBs synthesisPlanScore = new SynthesisPlanScoreWithBLOBs();
synthesisPlanScore.setSynthesisPlanId(IdUtil.randomUUID());
synthesisPlanScore.setUserid(userId);
synthesisPlanScore.setCaseid(caseID);
synthesisPlanScore.setTestCenter(fields[i]);

Loading…
Cancel
Save