java110 пре 5 година
родитељ
комит
4f8fe3ec84

+ 4 - 4
java110-db/src/main/resources/mapper/goods/ProductLabelServiceDaoImplMapper.xml

@@ -35,10 +35,10 @@
             and t.product_id= #{productId}
             and t.product_id= #{productId}
         </if>
         </if>
         <if test="statusCd !=null and statusCd != ''">
         <if test="statusCd !=null and statusCd != ''">
-            and t.status_cd= #{statusCd}
+            and p.status_cd= #{statusCd}
         </if>
         </if>
         <if test="storeId !=null and storeId != ''">
         <if test="storeId !=null and storeId != ''">
-            and t.store_id= #{storeId}
+            and p.store_id= #{storeId}
         </if>
         </if>
         <if test='hasProduct !=null and hasProduct == "N"'>
         <if test='hasProduct !=null and hasProduct == "N"'>
             and t.product_id is null
             and t.product_id is null
@@ -91,10 +91,10 @@
             and t.product_id= #{productId}
             and t.product_id= #{productId}
         </if>
         </if>
         <if test="statusCd !=null and statusCd != ''">
         <if test="statusCd !=null and statusCd != ''">
-            and t.status_cd= #{statusCd}
+            and p.status_cd= #{statusCd}
         </if>
         </if>
         <if test="storeId !=null and storeId != ''">
         <if test="storeId !=null and storeId != ''">
-            and t.store_id= #{storeId}
+            and p.store_id= #{storeId}
         </if>
         </if>
         <if test='hasProduct !=null and hasProduct == "N"'>
         <if test='hasProduct !=null and hasProduct == "N"'>
             and t.product_id is null
             and t.product_id is null