Bläddra i källkod

签到积分不展示订单积分

wanxl 1 år sedan
förälder
incheckning
dad2b1061a
1 ändrade filer med 1 tillägg och 4 borttagningar
  1. 1 4
      src/main/resources/mapper/integra/UserIntegralDetailsMapper.xml

+ 1 - 4
src/main/resources/mapper/integra/UserIntegralDetailsMapper.xml

@@ -9,10 +9,7 @@
 
     <select id="selectIntegraldetailsList" resultType="com.sqx.modules.integral.entity.UserIntegralDetails">
         select * from user_integral_details where user_id = #{userId}
-        <if test="classify==1">
-            and classify in (1,4)
-        </if>
-        <if test="classify!=null and classify!= 1 ">
+        <if test="classify!=null ">
             and classify = #{classify}
         </if>
         order by create_time desc