diff --git a/src/main/java/com/batch/service/JobService.java b/src/main/java/com/batch/service/JobService.java index cc17a0f..df0186e 100644 --- a/src/main/java/com/batch/service/JobService.java +++ b/src/main/java/com/batch/service/JobService.java @@ -434,20 +434,14 @@ public class JobService { /**** 매칭제외 처리 start **************************************************************************************************/ /** 1. 거래금액 = 0 */ iUpdated = matchingInnerDelingMapper.updateInitExclusion1(params); + log.info("매칭제외 : 1. 거래금액 = 0 : " + iUpdated + "건"); /** 2. 거래유형, 자기/상대 법인, 거래일자, 계정 이 같은 1:1 내역 금액이 +, - 로 합이 0 인 경우 */ - iUpdated += matchingInnerDelingMapper.updateInitExclusion2(params); - - - - - + iUpdated = matchingInnerDelingMapper.updateInitExclusion2(params); + log.info("매칭제외 : 2. 1:1 내역 금액이 +, - 로 합이 0 : " + iUpdated + "건"); /**** 매칭제외 처리 end **************************************************************************************************/ - - - iDeleted = matchingInnerDelingMapper.deleteDataAi(params); log.debug("Deleted Work AI Data : " + iDeleted + "건"); iInserted = matchingInnerDelingMapper.insertDataAiFromOriginal(params); diff --git a/src/main/resources/mybatis/primaryMapper/MatchingInnerDelingMapper.xml b/src/main/resources/mybatis/primaryMapper/MatchingInnerDelingMapper.xml index 04192fa..dc6c873 100644 --- a/src/main/resources/mybatis/primaryMapper/MatchingInnerDelingMapper.xml +++ b/src/main/resources/mybatis/primaryMapper/MatchingInnerDelingMapper.xml @@ -667,8 +667,8 @@ update batch_tbcr_inner_delng set MTCH_SYS = 'EXCLUSION' - , MTCH_TY = 'EXCLUSION' - , MTCH_TY_NM = 'EXCLUSION' + , MTCH_TY = 'ZERO' + , MTCH_TY_NM = 'ZERO' where sys_se = #{sysSe} and accnut_ym = #{accnutYm} and mtch_ty is null @@ -702,8 +702,8 @@ when matched then update set MTCH_SYS = 'EXCLUSION' - , MTCH_TY = 'EXCLUSION' - , MTCH_TY_NM = 'EXCLUSION' + , MTCH_TY = 'REVERSAL' + , MTCH_TY_NM = 'REVERSAL' \ No newline at end of file -- libgit2 0.21.4