姜永辉 1 rok temu
rodzic
commit
909a4bc344

+ 1 - 1
src/main/java/com/dk/oauth/mapper/integral/CouponUseMapper.xml

@@ -53,7 +53,7 @@
     <!-- 通用条件列 -->
     <sql id="Condition">
         <where>
-            <if test="cpId != null and cpId != ''">
+            <if test="cpId != null and cpId != '' and cpId != 0">
                 AND tmcu.cp_id = #{cpId}
             </if>
             <if test="sendId != null and sendId != ''">