|
|
|
@ -36,6 +36,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="bureauDeptId" column="bureau_dept_id" /> |
|
|
|
<result property="bureauDeptName" column="bureau_dept_name" /> |
|
|
|
<result property="checkTimeOrder" column="check_time_order" /> |
|
|
|
<result property="checkHourStart" column="check_hour_start" /> |
|
|
|
<result property="checkHourEnd" column="check_hour_end" /> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="selectEnterpriseLawEnforcementVo"> |
|
|
|
@ -43,7 +45,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
create_time, create_by, law_enforcer, law_enforcer_id, law_enforcer_two, law_enforcer_two_id, |
|
|
|
remark, user_id, dept_id, is_delete, status, law_enforcement_code, link_man, link_tel, check_item, |
|
|
|
check_item_text, check_require, check_require_text, enterprise_number,is_submit, unite_check, is_unite, |
|
|
|
is_reg, main_deputy_order, tmp_dept_json,bureau_dept_id,bureau_dept_name,check_time_order |
|
|
|
is_reg, main_deputy_order, tmp_dept_json,bureau_dept_id,bureau_dept_name,check_time_order,check_hour_start, |
|
|
|
check_hour_end |
|
|
|
from enterprise_law_enforcement |
|
|
|
</sql> |
|
|
|
|
|
|
|
@ -233,6 +236,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="bureauDeptName != null and bureauDeptName != ''"> bureau_dept_name,</if> |
|
|
|
<if test="bureauDeptId != null and bureauDeptId != ''"> bureau_dept_id,</if> |
|
|
|
<if test="checkTimeOrder != null"> check_time_order,</if> |
|
|
|
<if test="checkHourStart != null and checkHourStart!=''"> check_hour_start,</if> |
|
|
|
<if test="checkHourEnd != null and checkHourEnd!=''"> check_hour_end,</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="id != null and id != ''">#{id},</if> |
|
|
|
@ -269,6 +274,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="bureauDeptName != null and bureauDeptName != ''"> #{bureauDeptName},</if> |
|
|
|
<if test="bureauDeptId != null and bureauDeptId != ''"> #{bureauDeptId},</if> |
|
|
|
<if test="checkTimeOrder != null"> #{checkTimeOrder},</if> |
|
|
|
<if test="checkHourStart != null and checkHourStart!=''"> #{checkHourStart},</if> |
|
|
|
<if test="checkHourEnd != null and checkHourEnd!=''"> #{checkHourEnd},</if> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
|
|
|
|
@ -306,6 +313,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="bureauDeptName != null and bureauDeptName != ''"> bureau_dept_name = #{bureauDeptName},</if> |
|
|
|
<if test="bureauDeptId != null and bureauDeptId != ''"> bureau_dept_id = #{bureauDeptId},</if> |
|
|
|
<if test="checkTimeOrder != null"> check_time_order = #{checkTimeOrder},</if> |
|
|
|
<if test="checkHourStart != null and checkHourStart!=''"> check_hour_start=#{checkHourStart},</if> |
|
|
|
<if test="checkHourEnd != null and checkHourEnd!=''"> check_hour_end=#{checkHourEnd},</if> |
|
|
|
</trim> |
|
|
|
where id = #{id} |
|
|
|
</update> |
|
|
|
|