Althars123 há 3 anos atrás
pai
commit
f9c621c5d0

+ 1 - 0
jkt-service/src/main/resources/mapper/vip/VipCodeMapper.xml

@@ -21,6 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectVipCodeList" parameterType="QueryVipCodeListDTO" resultMap="VipCodeResult">
         <include refid="selectVipCodeVo"/>
         <where>
+            1=1
             <if test="vipCode != null  and vipCode != ''"> and vip_code like concat('%', #{vipCode}, '%')</if>
             <if test="status != null "> and status = #{status}</if>
             <if test="startTime != null">