|
|
|
@ -53,6 +53,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="hasUnion" column="has_union" /> |
|
|
|
<result property="hasAuto" column="has_auto" /> |
|
|
|
<result property="lawEnforceCategory" column="law_enforce_category" /> |
|
|
|
<result property="entrustDeptId" column="entrust_dept_id" /> |
|
|
|
<result property="entrustDeptName" column="entrust_dept_name" /> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<resultMap type="com.zdxt.code.domain.EnforceRegCount" id="EnforceRegCountResult"> |
|
|
|
@ -71,7 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
law_enforcement_basis, law_enforcement_basis_text, remark, reslut, user_id, dept_id, is_delete, status, law_enforcement_code, |
|
|
|
is_complaint,is_submit, unite_check,check_css, enforce_reason, law_field,check_category, |
|
|
|
bureau_dept_id,bureau_dept_name,is_evaluate, law_id, law_text, has_union, has_auto, union_no, |
|
|
|
law_enforce_category |
|
|
|
law_enforce_category,entrust_dept_id,entrust_dept_name |
|
|
|
from enforcement_registration |
|
|
|
</sql> |
|
|
|
|
|
|
|
@ -729,6 +731,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="hasUnion != null"> has_union,</if> |
|
|
|
<if test="hasAuto != null"> has_auto,</if> |
|
|
|
<if test="lawEnforceCategory != null and lawEnforceCategory!=''"> law_enforce_category,</if> |
|
|
|
<if test="entrustDeptId != null and entrustDeptId!=''"> entrust_dept_id,</if> |
|
|
|
<if test="entrustDeptName != null and entrustDeptName!=''"> entrust_dept_name,</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="id != null and id != ''">#{id},</if> |
|
|
|
@ -777,6 +781,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="hasUnion != null"> #{hasUnion},</if> |
|
|
|
<if test="hasAuto != null"> #{hasAuto},</if> |
|
|
|
<if test="lawEnforceCategory != null and lawEnforceCategory!=''"> #{lawEnforceCategory},</if> |
|
|
|
<if test="entrustDeptId != null and entrustDeptId!=''"> #{entrustDeptId},</if> |
|
|
|
<if test="entrustDeptName != null and entrustDeptName!=''"> #{entrustDeptName},</if> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
|
|
|
|
@ -829,6 +835,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="hasUnion != null"> has_union = #{hasUnion},</if> |
|
|
|
<if test="hasAuto != null"> has_auto = #{hasAuto},</if> |
|
|
|
<if test="lawEnforceCategory != null and lawEnforceCategory!=''"> law_enforce_category = #{lawEnforceCategory},</if> |
|
|
|
<if test="entrustDeptId != null and entrustDeptId!=''"> entrust_dept_id=#{entrustDeptId},</if> |
|
|
|
<if test="entrustDeptName != null and entrustDeptName!=''"> entrust_dept_name=#{entrustDeptName},</if> |
|
|
|
</trim> |
|
|
|
where id = #{id} |
|
|
|
</update> |
|
|
|
|