| | |
| | | id, |
| | | task_id, |
| | | place_id, |
| | | district_id, |
| | | district_name, |
| | | check_time, |
| | | check_user_id, |
| | | check_user_name, |
| | |
| | | <if test="taskCampusReportingEvent.id != null "> and id = #{taskCampusReportingEvent.id}</if> |
| | | <if test="taskCampusReportingEvent.taskId != null "> and task_id = #{taskCampusReportingEvent.taskId}</if> |
| | | <if test="taskCampusReportingEvent.placeId != null "> and place_id = #{taskCampusReportingEvent.placeId}</if> |
| | | <if test="taskCampusReportingEvent.districtId != null and taskCampusReportingEvent.districtId != ''"> and district_id = #{taskCampusReportingEvent.districtId}</if> |
| | | <if test="taskCampusReportingEvent.districtName != null and taskCampusReportingEvent.districtName != ''"> and district_name = #{taskCampusReportingEvent.districtName}</if> |
| | | <if test="taskCampusReportingEvent.checkTime != null "> and check_time = #{taskCampusReportingEvent.checkTime}</if> |
| | | <if test="taskCampusReportingEvent.checkUserId != null "> and check_user_id = #{taskCampusReportingEvent.checkUserId}</if> |
| | | <if test="taskCampusReportingEvent.checkUserName != null and taskCampusReportingEvent.checkUserName != ''"> and check_user_name = #{taskCampusReportingEvent.checkUserName}</if> |
| | |
| | | <result column="task_id" property="taskId"/> |
| | | <result column="hotel_name" property="hotelName"/> |
| | | <result column="place_id" property="placeId"/> |
| | | <result column="district_id" property="districtId"/> |
| | | <result column="district_name" property="districtName"/> |
| | | <result column="check_time" property="checkTime"/> |
| | | <result column="check_user_id" property="checkUserId"/> |
| | | <result column="check_user_name" property="checkUserName"/> |
| | |
| | | task_id, |
| | | hotel_name, |
| | | place_id, |
| | | district_id, |
| | | district_name, |
| | | check_time, |
| | | check_user_id, |
| | | check_user_name, |
| | |
| | | sc_flag, |
| | | confirm_notion, |
| | | confirm_flag, |
| | | tenant_id, |
| | | is_deleted, |
| | | create_time, |
| | | update_time, |
| | | create_user, |
| | | create_dept, |
| | | update_user, |
| | | status |
| | | from jczz_task_hotel_reporting where is_deleted = 0 |
| | |
| | | <result column="id" property="id"/> |
| | | <result column="task_id" property="taskId"/> |
| | | <result column="place_id" property="placeId"/> |
| | | <result column="house_id" property="houseId"/> |
| | | <result column="district_id" property="districtId"/> |
| | | <result column="happen_time" property="happenTime"/> |
| | | <result column="user_id" property="userId"/> |
| | | <result column="image_urls" property="imageUrls"/> |
| | |
| | | <result column="confirm_notion" property="confirmNotion"/> |
| | | <result column="owner" property="owner"/> |
| | | <result column="phone_number" property="phoneNumber"/> |
| | | <result column="house_name" property="houseName"/> |
| | | <result column="task_name" property="taskName"/> |
| | | <result column="transaction_object_tel" property="transactionObjectTel"/> |
| | | <result column="transaction_money" property="transactionMoney"/> |
| | | <result column="goods_nums" property="goodsNums"/> |
| | |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="status" property="status"/> |
| | | <result column="source" property="source"/> |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | <result column="house_code" property="houseCode"/> |
| | | <result column="report_type" property="reportType"/> |
| | |
| | | AND jgm.user_id = #{userId} ) |
| | | </if> |
| | | </where> |
| | | |
| | | order by jt.create_time desc |
| | | </select> |
| | | |
| | | |
| | | <select id="selectTaskPageBy" resultType="org.springblade.modules.task.vo.TaskVO"> |
| | | |
| | | SELECT |
| | | jt.* , |
| | | jda.address_name |
| | |
| | | AND jc.res_police_user_id = #{task.userId} |
| | | </if> |
| | | </where> |
| | | |
| | | |
| | | </select> |
| | | |
| | | <select id="getBailReportingPage" resultType="org.springblade.modules.task.vo.TaskVO"> |
| | | SELECT |
| | | IFNULL( jda.address_name, jp.location ) AS address_name, |
| | |
| | | jt.update_time, |
| | | jt.update_user, |
| | | jt.STATUS, |
| | | jt.tenant_id, |
| | | jt.create_dept, |
| | | jt.source, |
| | | jt.is_deleted, |
| | | jt.house_code, |
| | | jt.report_type |
| | |
| | | <if test="task.createUser != null ">and jt.create_user = #{task.createUser}</if> |
| | | <if test="task.updateTime != null ">and jt.update_time = #{task.updateTime}</if> |
| | | <if test="task.updateUser != null ">and jt.update_user = #{task.updateUser}</if> |
| | | <if test="task.tenantId != null and task.tenantId != ''">and jt.tenant_id = #{task.tenantId}</if> |
| | | <if test="task.createDept != null ">and jt.create_dept = #{task.createDept}</if> |
| | | <if test="task.isDeleted != null ">and jt.is_deleted = #{task.isDeleted}</if> |
| | | <if test="task.houseCode != null and task.houseCode != ''">and jt.house_code = #{task.houseCode}</if> |
| | | <if test="task.startTime != null and task.startTime != '' and task.endTime != null and task.endTime != '' "> |