Sfoglia il codice sorgente

签到积分不展示订单积分

wanxl 1 anno fa
parent
commit
dad2b1061a

+ 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