Commit 138a9649 authored by zengxiaoli@yeah.net's avatar zengxiaoli@yeah.net

评定报告录入,修改评定人信息顺序出错

parent ede26ad7
...@@ -350,7 +350,7 @@ public class TaskServiceImpl implements TaskService { ...@@ -350,7 +350,7 @@ public class TaskServiceImpl implements TaskService {
//附件上传 //附件上传
this.updateAttachs(vo.getFileDataList(), chAprReport.getReportId().longValue()); this.updateAttachs(vo.getFileDataList(), chAprReport.getReportId().longValue());
//修改鉴定报告人员(有就update,没有就insert) //修改鉴定报告人员(有就update,没有就insert)
List<ChAprPersonInfo> personInfos = personInfoMapper.selectList(new QueryWrapper<ChAprPersonInfo>().eq("report_id", vo.getReportId()).orderByDesc("info_id")); List<ChAprPersonInfo> personInfos = personInfoMapper.selectList(new QueryWrapper<ChAprPersonInfo>().eq("report_id", vo.getReportId()).orderByAsc("info_id"));
if (vo.getPerson1() != null) { if (vo.getPerson1() != null) {
if (personInfos.size() >= 1) { if (personInfos.size() >= 1) {
ChAprPersonInfo personInfo = personInfos.get(0); ChAprPersonInfo personInfo = personInfos.get(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment