xiaoyong931011
2021-03-24 ff49166608be400f4467bfc8964bee41787bcd6a
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>