|
|
@ -164,7 +164,7 @@ public interface LntrisB13_16Mapper extends AbstractMapper {
|
|
|
|
Map<String, List<LntrisB14.B14RespDetail>> byB14Id = resps.stream().collect(Collectors.groupingBy(LntrisB14.B14RespDetail::getB14Id));
|
|
|
|
Map<String, List<LntrisB14.B14RespDetail>> byB14Id = resps.stream().collect(Collectors.groupingBy(LntrisB14.B14RespDetail::getB14Id));
|
|
|
|
b14s.forEach(b14 -> {
|
|
|
|
b14s.forEach(b14 -> {
|
|
|
|
List<LntrisB14.B14RespDetail> details = byB14Id.get(b14.getB14Id());
|
|
|
|
List<LntrisB14.B14RespDetail> details = byB14Id.get(b14.getB14Id());
|
|
|
|
b14.getResponse().setResVo1(details);
|
|
|
|
b14.getResponse().setResVo1(details.get(0));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -229,16 +229,13 @@ public interface LntrisB13_16Mapper extends AbstractMapper {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
default int insertB14Resps(LntrisB14 b14) {
|
|
|
|
default int insertB14Resps(LntrisB14 b14) {
|
|
|
|
String b14Id = b14.getB14Id();
|
|
|
|
String b14Id = b14.getB14Id();
|
|
|
|
List<LntrisB14.B14RespDetail> resps = b14.getResponse().getResVo1();
|
|
|
|
LntrisB14.B14RespDetail resp = b14.getResponse().getResVo1();
|
|
|
|
if (isEmpty(b14Id) || resps.isEmpty()) return 0;
|
|
|
|
if (isEmpty(b14Id)) return 0;
|
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < resps.size(); ++i) {
|
|
|
|
|
|
|
|
LntrisB14.B14RespDetail resp = resps.get(i);
|
|
|
|
|
|
|
|
resp.setB14Id(b14Id);
|
|
|
|
resp.setB14Id(b14Id);
|
|
|
|
resp.setB14Sn(Integer.toString(i + 1));
|
|
|
|
resp.setB14Sn("1");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return insertB14Resps(params().set("resps", resps));
|
|
|
|
return insertB14Resps(params().set("resp", resp));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**주정차위반 과태료대장 상세 목록 조회 요청/응답을 등록한다.
|
|
|
|
/**주정차위반 과태료대장 상세 목록 조회 요청/응답을 등록한다.
|
|
|
|