feat: 주정차위반 심의대상 등록 진행

dev
minuk926 3 years ago
parent 7350e12dd0
commit c757053a1a

@ -26,5 +26,5 @@ public interface IMinUserRepository extends JpaRepository<MinUserinfo, String> {
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// 주정차위반 심사대상 등록 - 등록 대상 심사자 조회 // 주정차위반 심사대상 등록 - 등록 대상 심사자 조회
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
List<MinUserinfo> findAllByTeamAndIsenableAndAccesstype(String msuTeam, CtgyConstants.UserInfo isenabledUse, CtgyConstants.UserInfo accesstypeSimsa); List<MinUserinfo> findAllByTeamAndIsenableAndAccesstype(String msuTeam, String isenabled, String accesstype);
} }

@ -87,7 +87,7 @@ public class ParkingService implements IParkingService {
// 심사대상 등록 // 심사대상 등록
mapper.insertSimsaTargetIntoSelect(dto); mapper.insertSimsaTargetIntoSelect(dto);
// 등록된 심사대상 데이타 등록 상태 변경 : 미접수 -> 접수 // 등록된 심사대상 데이타 등록 상태 변경 : 미접수 -> 접수
Tf680Recall recallEntity = recallRepository.findById(dto.getRcCode()).orElseGet(Tf680Recall::new); Tf680Recall recallEntity = recallRepository.findById(dto.getRcCode()).orElseGet(Tf680Recall::new);
recallEntity.setRcIrTransfer(CtgyConstants.Recall.RC_IR_TRANSFER_ACCEPT.getCode()); recallEntity.setRcIrTransfer(CtgyConstants.Recall.RC_IR_TRANSFER_ACCEPT.getCode());
JpaUtil.saveIfNullId(recallEntity.getRcCode(), recallRepository, recallEntity); JpaUtil.saveIfNullId(recallEntity.getRcCode(), recallRepository, recallEntity);
@ -95,8 +95,8 @@ public class ParkingService implements IParkingService {
// 심사자 등록 // 심사자 등록
List<MinUserinfo> userinfoList = userRepository.findAllByTeamAndIsenableAndAccesstype( List<MinUserinfo> userinfoList = userRepository.findAllByTeamAndIsenableAndAccesstype(
dto.getMsuTeam(), dto.getMsuTeam(),
CtgyConstants.UserInfo.ISENABLED_USE, CtgyConstants.UserInfo.ISENABLED_USE.getCode(),
CtgyConstants.UserInfo.ACCESSTYPE_SIMSA); CtgyConstants.UserInfo.ACCESSTYPE_SIMSA.getCode());
List<MinSimsaUser680> simsaUserList = userinfoList.stream().map(u -> List<MinSimsaUser680> simsaUserList = userinfoList.stream().map(u ->
MinSimsaUser680.builder() MinSimsaUser680.builder()

Loading…
Cancel
Save