Commit 51b78cc64a34c6b273b22e0861cbcc59b4f32d3a

Authored by ggun12
1 parent 639dce54

1

src/main/java/com/batch/service/JobService.java
@@ -434,20 +434,14 @@ public class JobService { @@ -434,20 +434,14 @@ public class JobService {
434 /**** 매칭제외 처리 start **************************************************************************************************/ 434 /**** 매칭제외 처리 start **************************************************************************************************/
435 /** 1. 거래금액 = 0 */ 435 /** 1. 거래금액 = 0 */
436 iUpdated = matchingInnerDelingMapper.updateInitExclusion1(params); 436 iUpdated = matchingInnerDelingMapper.updateInitExclusion1(params);
  437 + log.info("매칭제외 : 1. 거래금액 = 0 : " + iUpdated + "건");
437 438
438 439
439 /** 2. 거래유형, 자기/상대 법인, 거래일자, 계정 이 같은 1:1 내역 금액이 +, - 로 합이 0 인 경우 */ 440 /** 2. 거래유형, 자기/상대 법인, 거래일자, 계정 이 같은 1:1 내역 금액이 +, - 로 합이 0 인 경우 */
440 - iUpdated += matchingInnerDelingMapper.updateInitExclusion2(params);  
441 -  
442 -  
443 -  
444 -  
445 - 441 + iUpdated = matchingInnerDelingMapper.updateInitExclusion2(params);
  442 + log.info("매칭제외 : 2. 1:1 내역 금액이 +, - 로 합이 0 : " + iUpdated + "건");
446 /**** 매칭제외 처리 end **************************************************************************************************/ 443 /**** 매칭제외 처리 end **************************************************************************************************/
447 444
448 -  
449 -  
450 -  
451 iDeleted = matchingInnerDelingMapper.deleteDataAi(params); 445 iDeleted = matchingInnerDelingMapper.deleteDataAi(params);
452 log.debug("Deleted Work AI Data : " + iDeleted + "건"); 446 log.debug("Deleted Work AI Data : " + iDeleted + "건");
453 iInserted = matchingInnerDelingMapper.insertDataAiFromOriginal(params); 447 iInserted = matchingInnerDelingMapper.insertDataAiFromOriginal(params);
src/main/resources/mybatis/primaryMapper/MatchingInnerDelingMapper.xml
@@ -667,8 +667,8 @@ @@ -667,8 +667,8 @@
667 update batch_tbcr_inner_delng 667 update batch_tbcr_inner_delng
668 set 668 set
669 MTCH_SYS = 'EXCLUSION' 669 MTCH_SYS = 'EXCLUSION'
670 - , MTCH_TY = 'EXCLUSION'  
671 - , MTCH_TY_NM = 'EXCLUSION' 670 + , MTCH_TY = 'ZERO'
  671 + , MTCH_TY_NM = 'ZERO'
672 where sys_se = #{sysSe} 672 where sys_se = #{sysSe}
673 and accnut_ym = #{accnutYm} 673 and accnut_ym = #{accnutYm}
674 and mtch_ty is null 674 and mtch_ty is null
@@ -702,8 +702,8 @@ @@ -702,8 +702,8 @@
702 when matched then 702 when matched then
703 update 703 update
704 set MTCH_SYS = 'EXCLUSION' 704 set MTCH_SYS = 'EXCLUSION'
705 - , MTCH_TY = 'EXCLUSION'  
706 - , MTCH_TY_NM = 'EXCLUSION' 705 + , MTCH_TY = 'REVERSAL'
  706 + , MTCH_TY_NM = 'REVERSAL'
707 </update> 707 </update>
708 708
709 </mapper> 709 </mapper>
710 \ No newline at end of file 710 \ No newline at end of file