|
|
@@ -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
|