src/main/java/org/springblade/modules/integral/mapper/IntegralMapper.xml
@@ -15,7 +15,6 @@ <select id="selectIntegralPage" resultMap="integralResultMap"> select * from sys_integral where is_deleted = 0 </select> <select id="selectCount" resultType="java.util.HashMap"> @@ -27,5 +26,17 @@ FROM sys_integral WHERE type = 2 AND uid=#{uid} </select> <select id="selectList" resultType="org.springblade.modules.integral.entity.Integral"> SELECT * FROM sys_integral WHERE uid=#{uid} <if test="type == 2 "> and type =1 </if> <if test="type == 3 "> and type =2 </if> </select> </mapper>