| | |
| | | |
| | | <resultMap id="gdFlyerVOResultMap" type="org.sxkj.gd.flyer.vo.GdFlyerVO"> |
| | | <result column="id" property="id"/> |
| | | <result column="flyer_id" property="flyerId"/> |
| | | <result column="flyer_name" property="flyerName"/> |
| | | <result column="flyer_phone" property="flyerPhone"/> |
| | | <result column="flight_hours" property="flightHours"/> |
| | |
| | | <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 test="param2.areaCode != null and param2.areaCode != ''"> |
| | | and area_code like concat('%',#{param2.areaCode},'%') |
| | | </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> |
| | | |