feat: status 시군구 반영

dev
kjh 1 year ago
parent 3ec7d60ce7
commit 4686ad31fa

@ -330,11 +330,11 @@ public interface IEnsBatchMapper {
* <pre> * <pre>
* *
* - tb_ens_sndng_mastr, tb_ens_kakao_my_doc * - tb_ens_sndng_mastr, tb_ens_kakao_my_doc
* @param sndngPprocessSttus * @param dto EnsDTO.BatchEnsRequest
* @return List<String> * @return List<String>
* </pre> * </pre>
*/ */
List<String> selectKakaoStatusTgts(final String sndngPprocessSttus); List<String> selectKakaoStatusTgts(final EnsDTO.BatchEnsRequest dto);
/** /**
* <pre> * <pre>

@ -354,7 +354,7 @@ public class EnsBatchService extends EgovAbstractServiceImpl implements IEnsBatc
public void findKkoMyDocStatusBulks(final EnsDTO.BatchEnsRequest reqDTO) { public void findKkoMyDocStatusBulks(final EnsDTO.BatchEnsRequest reqDTO) {
final String url = apiHost + apiKkoBulkStatus; final String url = apiHost + apiKkoBulkStatus;
final List<String> docsBinderUuids = mapper.selectKakaoStatusTgts(reqDTO.getSndngProcessSttus()); final List<String> docsBinderUuids = mapper.selectKakaoStatusTgts(reqDTO);
final List<List<String>> partitions = ListUtils.partition(docsBinderUuids, bulkKkoMaxCnt); final List<List<String>> partitions = ListUtils.partition(docsBinderUuids, bulkKkoMaxCnt);
final List<ApiResponseDTO> apiResults = partitions.stream() final List<ApiResponseDTO> apiResults = partitions.stream()

Loading…
Cancel
Save