Commit 66b5660a94fe60223fc63cd426a89df3043e38e3
1 parent
4c27234c
* Extra매칭 일치key 백만 부터
* 초기화 시 원 자료 필터링 일치여부 != 'Y'
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
src/main/java/com/batch/service/JobService.java
| ... | ... | @@ -182,7 +182,7 @@ public class JobService { |
| 182 | 182 | |
| 183 | 183 | List<Map> retData = matchingInnerDelingMapper.getCustomItemReadData(paramRec); |
| 184 | 184 | |
| 185 | - long mtchNumber = 10000; | |
| 185 | + long mtchNumber = 1000000; /** Extra매칭 일치key 백만 부터 */ | |
| 186 | 186 | paramRec.put("conds", "T"); |
| 187 | 187 | for (Map curMap : retData) { |
| 188 | 188 | paramRec.putAll(curMap); | ... | ... |
src/main/resources/mybatis/primaryMapper/MatchingInnerDelingMapper.xml
| ... | ... | @@ -325,6 +325,7 @@ |
| 325 | 325 | cons_group = #{sysSe} |
| 326 | 326 | and account_period = #{accnutYm} |
| 327 | 327 | and adjust_type is null |
| 328 | + and coalesce(equal_check, 'N') != 'Y' | |
| 328 | 329 | </update> |
| 329 | 330 | |
| 330 | 331 | <update id="deleteDataAi" parameterType="map"> |
| ... | ... | @@ -373,6 +374,7 @@ |
| 373 | 374 | cons_group = #{sysSe} |
| 374 | 375 | and account_period = #{accnutYm} |
| 375 | 376 | and adjust_type is null |
| 377 | + and coalesce(equal_check, 'N') != 'Y' | |
| 376 | 378 | </update> |
| 377 | 379 | |
| 378 | 380 | <update id="updateClearNewMatchKey" parameterType="map"> | ... | ... |