Althars123 3 년 전
부모
커밋
f9c621c5d0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      jkt-service/src/main/resources/mapper/vip/VipCodeMapper.xml

+ 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">