Browse Source

修改执法预告时段

v6
Chendy 1 year ago
parent
commit
84c18844a8
  1. 23
      lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnterpriseLawEnforcement.java
  2. 11
      lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseLawEnforcementMapper.xml

23
lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnterpriseLawEnforcement.java

@ -131,6 +131,29 @@ public class EnterpriseLawEnforcement extends BaseDomain
private String lawEnforcer2Show;
private String appName;
/**
* 执法时段
*/
private String checkHourStart;
private String checkHourEnd;
public String getCheckHourStart() {
return checkHourStart;
}
public void setCheckHourStart(String checkHourStart) {
this.checkHourStart = checkHourStart;
}
public String getCheckHourEnd() {
return checkHourEnd;
}
public void setCheckHourEnd(String checkHourEnd) {
this.checkHourEnd = checkHourEnd;
}
public List<UserBean> getUserObjs() {
return userObjs;
}

11
lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseLawEnforcementMapper.xml

@ -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>

Loading…
Cancel
Save