| | |
| | | DATE_FORMAT(a.sys_create_time, '%Y-%m-%d %H:%i:%s') as sysCreateTime, |
| | | a.artificial_status as artificialStatus, |
| | | DATE_FORMAT(a.artificial_create_time, '%Y-%m-%d %H:%i:%s') as artificialCreateTime, |
| | | b.`name` as artificialUserName, |
| | | a.verify |
| | | b.`name` as artificialUserName |
| | | from t_task_detail_vehicles_channel a |
| | | left join sys_user b on (a.artificial_user_id = b.id) |
| | | where 1 = 1 |
| | | <if test="null != taskDetailVehiclesIdList and taskDetailVehiclesIdList.size() > 0"> |
| | | and a.task_detail_vehicles_id in |
| | | <foreach collection="taskDetailVehiclesIdList" item="item" index="index" open="(" separator="," close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | <if test="null != sysStatus"> |
| | | and a.sys_status = #{sysStatus} |
| | | </if> |
| | | <if test="null != artificialStatus"> |
| | | and a.artificial_status = #{artificialStatus} |
| | | </if> |
| | | <where> |
| | | <if test="null != taskDetailVehiclesIdList and taskDetailVehiclesIdList.size() > 0"> |
| | | and a.task_detail_vehicles_id in |
| | | <foreach collection="taskDetailVehiclesIdList" item="item" index="index" open="(" separator="," close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | <if test="null != sysStatus"> |
| | | and a.sys_status = #{sysStatus} |
| | | </if> |
| | | <if test="null != artificialStatus"> |
| | | and a.artificial_status = #{artificialStatus} |
| | | </if> |
| | | </where> |
| | | |
| | | </select> |
| | | </mapper> |