|
|
|
@ -45,6 +45,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="isEvaluate" column="is_evaluate" /> |
|
|
|
<result property="lawId" column="law_id" /> |
|
|
|
<result property="lawText" column="law_text" /> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<resultMap type="com.zdxt.code.domain.EnforceRegCount" id="EnforceRegCountResult"> |
|
|
|
@ -60,7 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
subsidiaryer_id, subsidiaryer_tel, law_enforcement_item, law_enforcement_item_text, |
|
|
|
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 |
|
|
|
bureau_dept_id,bureau_dept_name,is_evaluate, law_id, law_text |
|
|
|
from enforcement_registration |
|
|
|
</sql> |
|
|
|
|
|
|
|
@ -190,6 +192,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="isEvaluate != null"> is_evaluate,</if> |
|
|
|
<if test="lawId != null and lawId != ''"> law_id,</if> |
|
|
|
<if test="lawText != null and lawText != ''"> law_text,</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="id != null and id != ''">#{id},</if> |
|
|
|
@ -232,6 +236,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="isEvaluate != null"> #{isEvaluate},</if> |
|
|
|
<if test="lawId != null and lawId != ''"> #{lawId},</if> |
|
|
|
<if test="lawText != null and lawText != ''"> #{lawText},</if> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
|
|
|
|
@ -276,6 +282,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="isEvaluate != null"> is_evaluate = #{isEvaluate},</if> |
|
|
|
<if test="lawId != null and lawId != ''"> law_id = #{lawId},</if> |
|
|
|
<if test="lawText != null and lawText != ''"> law_text = #{lawText},</if> |
|
|
|
</trim> |
|
|
|
where id = #{id} |
|
|
|
</update> |
|
|
|
|