src/main/java/org/springblade/modules/coinspect/mapper/CoinspectMapper.xml
@@ -11,11 +11,16 @@ <result column="reviewTime" property="reviewtime"/> <result column="insid" property="insid"/> <result column="results" property="results"/> <result column="url" property="url"/> </resultMap> <select id="selectCoinspectPage" resultMap="coinspectResultMap"> select * from sys_coinspect where is_deleted = 0 select * from sys_coinspect where 1=1 <if test="coinspect.sname!=null and coinspect.sname != ''"> and sName like concat('%', #{coinspect.sname},'%') </if> </select> </mapper>