Browse Source

정산현황

marseyes 2 years ago
parent
commit
a35cd2d185
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/main/resources/mybatis/sqlmaps/sttlmng/SttlState.xml

+ 4 - 4
src/main/resources/mybatis/sqlmaps/sttlmng/SttlState.xml

@@ -16,13 +16,13 @@
16 16
         FROM stl_mgnt_base_info A
17 17
         WHERE A.brand_id = #{sBrandId}
18 18
         AND A.sttl_req_dt BETWEEN #{fromDt} AND #{toDt}
19
-        <if test="sGubun == 'A'">
19
+        <if test="sGubun == '1'">
20 20
             AND A.store_id IS NOT NULL
21 21
             <if test="sStoreId != null and sStoreId != ''">
22 22
                 AND A.store_id = #{sStoreId}
23 23
             </if>
24 24
         </if>
25
-        <if test="sGubun == 'B'">
25
+        <if test="sGubun == '2'">
26 26
             AND A.spply_id IS NOT NULL
27 27
             <if test="sSpplyId != null and sSpplyId != ''">
28 28
                 AND A.spply_id = #{sSpplyId}
@@ -60,13 +60,13 @@
60 60
         FROM stl_mgnt_base_info A
61 61
         WHERE A.brand_id = #{sBrandId}
62 62
         AND A.sttl_req_dt BETWEEN #{fromDt} AND #{toDt}
63
-        <if test="sGubun == 'A'">
63
+        <if test="sGubun == '1'">
64 64
             AND A.store_id IS NOT NULL
65 65
             <if test="sStoreId != null and sStoreId != ''">
66 66
                 AND A.store_id = #{sStoreId}
67 67
             </if>
68 68
         </if>
69
-        <if test="sGubun == 'B'">
69
+        <if test="sGubun == '2'">
70 70
             AND A.spply_id IS NOT NULL
71 71
             <if test="sSpplyId != null and sSpplyId != ''">
72 72
                 AND A.spply_id = #{sSpplyId}