|
|
@ -14,6 +14,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="createBy" column="create_by" /> |
|
|
<result property="createBy" column="create_by" /> |
|
|
<result property="lawEnforcer" column="law_enforcer" /> |
|
|
<result property="lawEnforcer" column="law_enforcer" /> |
|
|
<result property="lawEnforcerId" column="law_enforcer_id" /> |
|
|
<result property="lawEnforcerId" column="law_enforcer_id" /> |
|
|
|
|
|
<result property="lawEnforcerTwo" column="law_enforcer_two" /> |
|
|
|
|
|
<result property="lawEnforcerTwoId" column="law_enforcer_two_id" /> |
|
|
<result property="lawEnforcerTel" column="law_enforcer_tel" /> |
|
|
<result property="lawEnforcerTel" column="law_enforcer_tel" /> |
|
|
<result property="userId" column="user_id" /> |
|
|
<result property="userId" column="user_id" /> |
|
|
<result property="deptId" column="dept_id" /> |
|
|
<result property="deptId" column="dept_id" /> |
|
|
@ -24,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectEnterpriseLawEnforcementVo"> |
|
|
<sql id="selectEnterpriseLawEnforcementVo"> |
|
|
select id, law_enforcement, law_enforcement_id, enterprise_id, enterprise_name, check_time, create_time, create_by, law_enforcer, law_enforcer_id, remark, user_id, dept_id, is_delete, status, law_enforcement_code, link_man, link_tel, check_item, check_require,enterprise_number from enterprise_law_enforcement |
|
|
select id, law_enforcement, law_enforcement_id, enterprise_id, enterprise_name, check_time, 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_require,enterprise_number from enterprise_law_enforcement |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<select id="selectEnterpriseLawEnforcementList" parameterType="EnterpriseLawEnforcement" resultMap="EnterpriseLawEnforcementResult"> |
|
|
<select id="selectEnterpriseLawEnforcementList" parameterType="EnterpriseLawEnforcement" resultMap="EnterpriseLawEnforcementResult"> |
|
|
@ -102,6 +104,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="createBy != null and createBy != ''">create_by,</if> |
|
|
<if test="createBy != null and createBy != ''">create_by,</if> |
|
|
<if test="lawEnforcer != null and lawEnforcer != ''">law_enforcer,</if> |
|
|
<if test="lawEnforcer != null and lawEnforcer != ''">law_enforcer,</if> |
|
|
<if test="lawEnforcerId != null and lawEnforcerId != ''">law_enforcer_id,</if> |
|
|
<if test="lawEnforcerId != null and lawEnforcerId != ''">law_enforcer_id,</if> |
|
|
|
|
|
<if test="lawEnforcerTwo != null and lawEnforcerTwo != ''">law_enforcer_two,</if> |
|
|
|
|
|
<if test="lawEnforcerTwoId != null and lawEnforcerTwoId != ''">law_enforcer_two_id,</if> |
|
|
<if test="remark != null and remark != ''">remark,</if> |
|
|
<if test="remark != null and remark != ''">remark,</if> |
|
|
<if test="userId != null ">user_id,</if> |
|
|
<if test="userId != null ">user_id,</if> |
|
|
<if test="deptId != null ">dept_id,</if> |
|
|
<if test="deptId != null ">dept_id,</if> |
|
|
@ -125,6 +129,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="createBy != null and createBy != ''">#{createBy},</if> |
|
|
<if test="createBy != null and createBy != ''">#{createBy},</if> |
|
|
<if test="lawEnforcer != null and lawEnforcer != ''">#{lawEnforcer},</if> |
|
|
<if test="lawEnforcer != null and lawEnforcer != ''">#{lawEnforcer},</if> |
|
|
<if test="lawEnforcerId != null and lawEnforcerId != ''">#{lawEnforcerId},</if> |
|
|
<if test="lawEnforcerId != null and lawEnforcerId != ''">#{lawEnforcerId},</if> |
|
|
|
|
|
<if test="lawEnforcerTwo != null and lawEnforcerTwo != ''">#{lawEnforcerTwo},</if> |
|
|
|
|
|
<if test="lawEnforcerTwoId != null and lawEnforcerTwoId != ''">#{lawEnforcerTwoId},</if> |
|
|
<if test="remark != null and remark != ''">#{remark},</if> |
|
|
<if test="remark != null and remark != ''">#{remark},</if> |
|
|
<if test="userId != null ">#{userId},</if> |
|
|
<if test="userId != null ">#{userId},</if> |
|
|
<if test="deptId != null ">#{deptId},</if> |
|
|
<if test="deptId != null ">#{deptId},</if> |
|
|
@ -151,6 +157,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if> |
|
|
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if> |
|
|
<if test="lawEnforcer != null and lawEnforcer != ''">law_enforcer = #{lawEnforcer},</if> |
|
|
<if test="lawEnforcer != null and lawEnforcer != ''">law_enforcer = #{lawEnforcer},</if> |
|
|
<if test="lawEnforcerId != null and lawEnforcerId != ''">law_enforcer_id = #{lawEnforcerId},</if> |
|
|
<if test="lawEnforcerId != null and lawEnforcerId != ''">law_enforcer_id = #{lawEnforcerId},</if> |
|
|
|
|
|
<if test="lawEnforcerTwo != null and lawEnforcerTwo != ''">law_enforcer_two = #{lawEnforcerTwo},</if> |
|
|
|
|
|
<if test="lawEnforcerTwoId != null and lawEnforcerTwoId != ''">law_enforcer_two_id = #{lawEnforcerTwoId},</if> |
|
|
<if test="remark != null and remark != ''">remark = #{remark},</if> |
|
|
<if test="remark != null and remark != ''">remark = #{remark},</if> |
|
|
<if test="userId != null ">user_id = #{userId},</if> |
|
|
<if test="userId != null ">user_id = #{userId},</if> |
|
|
<if test="deptId != null ">dept_id = #{deptId},</if> |
|
|
<if test="deptId != null ">dept_id = #{deptId},</if> |
|
|
|