Browse Source

미납금관리 정보 쿼리 수정

marseyes 2 years ago
parent
commit
b7081ce16c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/resources/mybatis/sqlmaps/loanmng/UnpaidMng.xml

+ 1 - 0
src/main/resources/mybatis/sqlmaps/loanmng/UnpaidMng.xml

@@ -87,6 +87,7 @@
87
         ON store.store_id = stl.store_id
87
         ON store.store_id = stl.store_id
88
         AND store.brand_id = stl.brand_id
88
         AND store.brand_id = stl.brand_id
89
         AND stl.sttl_req_dt BETWEEN #{fromDt} AND #{toDt}
89
         AND stl.sttl_req_dt BETWEEN #{fromDt} AND #{toDt}
90
+        AND stl.sttl_st_cd IN ('ST10', 'ST20')      /* 정산요청/정산확정 */
90
         AND IFNULL(stl.rcpt_yn, 'N') = 'N'
91
         AND IFNULL(stl.rcpt_yn, 'N') = 'N'
91
         WHERE 1 = 1
92
         WHERE 1 = 1
92
         AND store.brand_id = #{sBrandId}
93
         AND store.brand_id = #{sBrandId}