Browse Source

优化diamante

java110 5 years ago
parent
commit
25dbb90370

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

@@ -41,7 +41,7 @@
         <if test="labelCd !=null and labelCd != ''">
         <if test="labelCd !=null and labelCd != ''">
             and t.label_cd= #{labelCd}
             and t.label_cd= #{labelCd}
         </if>
         </if>
-        <if test="hasProduct !=null and hasProduct == 'N'">
+        <if test='hasProduct !=null and hasProduct == "N"'>
             and p.product_id is null
             and p.product_id is null
         </if>
         </if>
         order by t.create_time desc
         order by t.create_time desc
@@ -97,7 +97,7 @@
         <if test="labelCd !=null and labelCd != ''">
         <if test="labelCd !=null and labelCd != ''">
             and t.label_cd= #{labelCd}
             and t.label_cd= #{labelCd}
         </if>
         </if>
-        <if test="hasProduct !=null and hasProduct == 'N'">
+        <if test='hasProduct !=null and hasProduct == "N"'>
             and p.product_id is null
             and p.product_id is null
         </if>
         </if>