|
|
|
@ -34,19 +34,6 @@ public class ParkingService implements IParkingService {
|
|
|
|
|
private final IParkingJudgeUserRepository parkingJudgeUserRepository;
|
|
|
|
|
private final IParkingMapper mapper;
|
|
|
|
|
|
|
|
|
|
// @Override
|
|
|
|
|
// @Transactional(readOnly = true)
|
|
|
|
|
// public Page<MinSimsa680> findAll(@Nonnull final MinSimsa680 entity, Pageable pageable) {
|
|
|
|
|
// pageable = JpaUtil.getPagingInfo(pageable);
|
|
|
|
|
// ExampleMatcher exampleMatcher = ExampleMatcher.matchingAll()
|
|
|
|
|
// .withMatcher("ciTitle", contains())
|
|
|
|
|
// .withMatcher("ciName", contains());
|
|
|
|
|
// Example<MinSimsa680> example = Example.of(entity, exampleMatcher);
|
|
|
|
|
// Page<MinSimsa680> page = simsaRepository.findAll(example, pageable);
|
|
|
|
|
// // List<CmmUser> userList = page.getContent();
|
|
|
|
|
// return page;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@Transactional(readOnly = true)
|
|
|
|
|
public Page<JudgeListDto> findParkings(final JudgeListDto dto, Pageable pageable) {
|
|
|
|
@ -125,7 +112,7 @@ public class ParkingService implements IParkingService {
|
|
|
|
|
dto.setMsResult("0");
|
|
|
|
|
isFirst = false;
|
|
|
|
|
}
|
|
|
|
|
mapper.insertParkingJudgeTargetIntoSelect(dto);
|
|
|
|
|
if(mapper.insertParkingJudgeTargetIntoSelect(dto) == 0) throw new CustomBaseException(String.format("처리된 데이타가 있습니다[ %s ]", dto.getMmOcarno()));
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------
|
|
|
|
|
// 등록한 심사대상 데이타 등록 상태 변경 : 미접수 -> 접수
|
|
|
|
@ -174,7 +161,8 @@ public class ParkingService implements IParkingService {
|
|
|
|
|
|
|
|
|
|
msMaincodes.forEach(msMaincode -> {
|
|
|
|
|
parkingJudgeUserRepository.deleteByMsuMaincode(msMaincode);
|
|
|
|
|
recallRepository.updateRcIrTransfer(msMaincode);
|
|
|
|
|
// 전송상태 -> 미접수(1), 심의결과 -> 심의전(0)
|
|
|
|
|
recallRepository.updateRcIrTransferAndRcState(msMaincode);
|
|
|
|
|
repository.deleteById(msMaincode);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|