Selaa lähdekoodia

입금 승인 버그 수정

marseyes 2 vuotta sitten
vanhempi
commit
df62a78d92

+ 2 - 0
src/main/java/com/oqpo/api/mapper/loanmng/DsptMngMapper.java

@@ -21,6 +21,8 @@ public interface DsptMngMapper {
21 21
 
22 22
     LoanMgntDsptProcEntity selectLoanMgntDsptProcInfo(@Param("dsptMgntNo") String dsptMgntNo) throws Exception;
23 23
 
24
+    LoanMgntDsptProcEntity selectLoanMgntDsptProcInfo4Org(@Param("dsptMgntNo") String dsptMgntNo) throws Exception;
25
+
24 26
     int insertLoanMgntDsptProcInfo(@Param("userId") String userId, LoanMgntDsptProcEntity entity) throws Exception;
25 27
 
26 28
     int updateLoanMgntDsptProcInfo4Approve(@Param("userId") String userId, LoanMgntDsptProcEntity entity) throws Exception;

+ 1 - 1
src/main/java/com/oqpo/api/service/loanmng/DsptMngService.java

@@ -132,7 +132,7 @@ public class DsptMngService extends CommonService {
132 132
 
133 133
         for (String dsptMgntNo : list) {
134 134
             // 여신관리입금처리 데이터 조회
135
-            LoanMgntDsptProcEntity procEntity = dsptMngMapper.selectLoanMgntDsptProcInfo(dsptMgntNo);
135
+            LoanMgntDsptProcEntity procEntity = dsptMngMapper.selectLoanMgntDsptProcInfo4Org(dsptMgntNo);
136 136
 
137 137
             // 매장의 여신관리기본정보 조회 - 없으면 에러 처리
138 138
             LoanMgntBaseInfoEntity infoEntity = dsptMngMapper.selectLoanMgntBaseInfo(procEntity.getBrandId(), procEntity.getStoreId());

+ 10 - 0
src/main/resources/mybatis/sqlmaps/loanmng/DsptMng.xml

@@ -81,6 +81,16 @@
81 81
         WHERE A.dspt_mgnt_no = #{dsptMgntNo}
82 82
     </select>
83 83
 
84
+    <select id="selectLoanMgntDsptProcInfo4Org" resultType="com.oqpo.api.entity.loanmng.LoanMgntDsptProcEntity">
85
+        /* DsptMngMapper.selectLoanMgntDsptProcInfo4Org */
86
+        SELECT A.dspt_mgnt_no, A.req_dt, A.req_tm, A.dpst_amt, A.dpst_dt, A.dpst_nm, A.rcv_acct_no, A.dpst_bnk_cd,
87
+            A.dpst_st_cd, A.dpst_req_id, A.dpst_req_nm, A.dpst_auth_id, A.dpst_auth_nm, A.dpst_auth_dt, A.dpst_auth_tm, A.dspt_rjct_dt,
88
+            A.dspt_rjct_tm, A.store_id, A.brand_id, A.dpst_auth_yn, A.dspt_rjct_rsn,
89
+            A.sys_reg_dttm, A.sys_reg_id, A.sys_chg_dttm, A.sys_chg_id
90
+        FROM loan_mgnt_dspt_proc A
91
+        WHERE A.dspt_mgnt_no = #{dsptMgntNo}
92
+    </select>
93
+
84 94
     <insert id="insertLoanMgntDsptProcInfo" >
85 95
         /* DsptMngMapper.insertLoanMgntDsptProcInfo */
86 96
         INSERT INTO loan_mgnt_dspt_proc