| | |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.project.enforce.mapper.EnforceOrderMapper"> |
| | | |
| | | <resultMap type="EnforceOrder" id="EnforceOrderResult"> |
| | | <resultMap type="EnforceOrderVo" id="EnforceOrderResult"> |
| | | <result property="orderId" column="order_id" /> |
| | | <result property="orderNo" column="order_no" /> |
| | | <result property="companyId" column="company_id" /> |
| | |
| | | <result property="isShow" column="is_show" /> |
| | | <result property="isEva" column="is_eva" /> |
| | | <result property="totalScore" column="total_score" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectEnforceOrderVo"> |
| | | select order_id, order_no, company_id, company_name, company_code, company_user, company_phone, company_address, |
| | | region_code,region_name,enforce_reason,user_num, |
| | | apply_id,apply_user,apply_phone,apply_dept_id,apply_dept_name,apply_time, |
| | | warn_status,warn_reason,order_status, |
| | | check_dept_id,check_dept_name,check_status,check_reason,check_level, |
| | | execute_id,execute_user,execute_phone,execute_dept_id,execute_dept_name,execute_time, |
| | | region_status,region_reason,region_imgs,region_videos,is_notice_company,is_show,is_eva,total_score |
| | | from sys_job_log |
| | | select * |
| | | from enforce_order |
| | | </sql> |
| | | |
| | | <select id="selectCheckList" |
| | |
| | | <if test="checkIds != null and checkIds != '' "> |
| | | AND check_ids like concat('%', #{checkIds}, '%') |
| | | </if> |
| | | <if test="applyDeptIds != null "> |
| | | <if test="applyDeptIds != null and applyDeptIds !='' "> |
| | | AND apply_dept_id in |
| | | <foreach collection="applyDeptIds" item="applyDeptId" open="(" separator="," close=")"> |
| | | #{applyDeptId} |