|
|
|
@ -9,14 +9,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="relId" column="rel_id" /> |
|
|
|
<result property="enforceType" column="enforce_type" /> |
|
|
|
<result property="problemDescription" column="problem_description" /> |
|
|
|
<result property="enterpriseAddress" column="enterprise_address" /> |
|
|
|
<result property="linkman" column="linkman" /> |
|
|
|
<result property="linkmanTel" column="linkman_tel" /> |
|
|
|
<result property="comOrOpi" column="com_or_opi" /> |
|
|
|
<result property="authorization" column="authorization" /> |
|
|
|
<result property="createTime" column="create_time" /> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="selectEnterpriseComplaintVo"> |
|
|
|
select id, rel_id, enforce_type, problem_description, linkman, linkman_tel, authorization, create_time from enterprise_complaint |
|
|
|
select id, rel_id, enforce_type, problem_description, enterprise_address, linkman, linkman_tel, com_or_opi, authorization, create_time from enterprise_complaint |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="selectEnterpriseComplaintList" parameterType="EnterpriseComplaint" resultMap="EnterpriseComplaintResult"> |
|
|
|
@ -42,8 +44,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="relId != null and relId != ''">rel_id,</if> |
|
|
|
<if test="enforceType != null ">enforce_type,</if> |
|
|
|
<if test="problemDescription != null and problemDescription != ''">problem_description,</if> |
|
|
|
<if test="enterpriseAddress != null and enterpriseAddress != ''">enterprise_address,</if> |
|
|
|
<if test="linkman != null and linkman != ''">linkman,</if> |
|
|
|
<if test="linkmanTel != null and linkmanTel != ''">linkman_tel,</if> |
|
|
|
<if test="comOrOpi != null and comOrOpi != ''">com_or_opi,</if> |
|
|
|
<if test="authorization != null and authorization != ''">authorization,</if> |
|
|
|
<if test="createTime != null ">create_time,</if> |
|
|
|
</trim> |
|
|
|
@ -52,8 +56,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="relId != null and relId != ''">#{relId},</if> |
|
|
|
<if test="enforceType != null ">#{enforceType},</if> |
|
|
|
<if test="problemDescription != null and problemDescription != ''">#{problemDescription},</if> |
|
|
|
<if test="enterpriseAddress != null and enterpriseAddress != ''">#{enterpriseAddress},</if> |
|
|
|
<if test="linkman != null and linkman != ''">#{linkman},</if> |
|
|
|
<if test="linkmanTel != null and linkmanTel != ''">#{linkmanTel},</if> |
|
|
|
<if test="comOrOpi != null and comOrOpi != ''">#{comOrOpi},</if> |
|
|
|
<if test="authorization != null and authorization != ''">#{authorization},</if> |
|
|
|
<if test="createTime != null ">#{createTime},</if> |
|
|
|
</trim> |
|
|
|
@ -65,8 +71,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="relId != null and relId != ''">rel_id = #{relId},</if> |
|
|
|
<if test="enforceType != null ">enforce_type = #{enforceType},</if> |
|
|
|
<if test="problemDescription != null and problemDescription != ''">problem_description = #{problemDescription},</if> |
|
|
|
<if test="enterpriseAddress != null and enterpriseAddress != ''">enterprise_address = #{enterpriseAddress},</if> |
|
|
|
<if test="linkman != null and linkman != ''">linkman = #{linkman},</if> |
|
|
|
<if test="linkmanTel != null and linkmanTel != ''">linkman_tel = #{linkmanTel},</if> |
|
|
|
<if test="comOrOpi != null and comOrOpi != ''">com_or_opi = #{comOrOpi},</if> |
|
|
|
<if test="authorization != null and authorization != ''">authorization = #{authorization},</if> |
|
|
|
<if test="createTime != null ">create_time = #{createTime},</if> |
|
|
|
</trim> |
|
|
|
|