| | |
| | | |
| | | <!--自定义分页查询--> |
| | | <select id="selectPlaceExtPage" resultType="org.springblade.modules.place.vo.PlaceExtVO"> |
| | | select * from jczz_place_ext where is_deleted = 0 |
| | | select jpe.*,jp.place_name as placeName from jczz_place_ext jpe |
| | | left join jczz_place jp on jpe.place_id = jp.id and jp.is_deleted = 0 |
| | | where jpe.is_deleted = 0 |
| | | <if test="placeExt.placeName != null and placeExt.placeName != ''"> |
| | | and jp.place_name like concat('%',#{placeExt.placeName},'%') |
| | | </if> |
| | | <if test="placeExt.confirmFlag != null"> |
| | | and jpe.confirm_flag = #{placeExt.confirmFlag} |
| | | </if> |
| | | </select> |
| | | |
| | | |