jyy
2021-03-22 a17a3616fb0b59d61cda0f97c5005c18d97cdbee
zq-erp/src/main/resources/mybatis/mapper/score/ScoreVipDetailDao.xml
@@ -18,7 +18,13 @@
   </select>
   <select id="selectEffectiveScore" resultType="com.matrix.system.score.entity.ScoreVipDetail">
      select  *  from score_vip_detail where open_id=#{openId} and  state=1 order by create_time
      select  *  from score_vip_detail where state=1
         <if test="openId !=null">
         and open_id=#{openId}
      </if>
         <if test="vipId !=null">
            and vip_id=#{vipId}
         </if>  order by create_time
   </select>