| | |
| | | </resultMap> |
| | | |
| | | <select id="selectGdFlyerPage" resultMap="gdFlyerVOResultMap"> |
| | | select * from ja_gd_flyer |
| | | select |
| | | * |
| | | from |
| | | ja_gd_flyer |
| | | <where> |
| | | is_deleted = 0 |
| | | <if test="param2.flyerName != null and param2.flyerName != ''"> |
| | | and flyer_name like concat('%',#{param2.flyerName},'%') |
| | | </if> |
| | |
| | | <if test="param2.skilledTaskType != null and param2.skilledTaskType != ''"> |
| | | and skilled_task_type = #{param2.skilledTaskType} |
| | | </if> |
| | | <!-- <if test="param2.deptList != null and param2.deptList.size > 0"> --> |
| | | <!-- AND create_dept in --> |
| | | <!-- <foreach collection="param2.deptList" item="deptId" open="(" separator="," close=")"> --> |
| | | <!-- #{deptId} --> |
| | | <!-- </foreach> --> |
| | | <!-- </if> --> |
| | | </where> |
| | | </select> |
| | | |