解决了newListMethod() 新增标准清单添加标准问题

This commit is contained in:
zhaokaiyao@91isoft.com
2021-08-23 13:15:52 +08:00
parent c223de4c32
commit 52503aa715
@@ -251,6 +251,8 @@ public class SarLawsDetailedListServiceImpl extends ServiceImpl<SarLawsDetailedL
for (int a = 0; a < id.length; a++) { for (int a = 0; a < id.length; a++) {
TimeDto dto = new TimeDto(); TimeDto dto = new TimeDto();
dto.setStandId(id[a]); dto.setStandId(id[a]);
//putTiem即ssrq可能为空 ''
if (putTime.length>0){
if ("-".equals(putTime[a]) || null == putTime[a]) { if ("-".equals(putTime[a]) || null == putTime[a]) {
dto.setSsrq(null); dto.setSsrq(null);
} else { } else {
@@ -266,6 +268,7 @@ public class SarLawsDetailedListServiceImpl extends ServiceImpl<SarLawsDetailedL
} else { } else {
dto.setZccssrqgj(zcc[a]); dto.setZccssrqgj(zcc[a]);
} }
}
timeDto.add(dto); timeDto.add(dto);
} }
} else { } else {