init
This commit is contained in:
14
target/classes/cn/wujiangbo/mapper/app/AppSwiperMapper.xml
Normal file
14
target/classes/cn/wujiangbo/mapper/app/AppSwiperMapper.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.wujiangbo.mapper.app.AppSwiperMapper">
|
||||
|
||||
<select id="selectMySqlPage" resultType="cn.wujiangbo.domain.app.AppSwiper">
|
||||
select t1.*
|
||||
from app_swiper t1
|
||||
<where>
|
||||
<if test="query.keyword != null and query.keyword != '' ">
|
||||
and t1.img_desc like concat('%', #{query.keyword}, '%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user