代码优化

This commit is contained in:
TL
2025-07-14 15:12:31 +08:00
parent e53a527b48
commit 2a5bab6a89
5 changed files with 29 additions and 37 deletions

View File

@ -27,7 +27,7 @@
<result property="orgNumber" column="org_number"/>
<result property="creditCode" column="credit_code"/>
<result property="property3" column="property3"/>
<result property="updatetime" column="updatetime"/>
<result property="updateTime" column="updatetime"/>
<result property="companyId" column="company_id"/>
<result property="taxNumber" column="tax_number"/>
<result property="email" column="email"/>

View File

@ -80,25 +80,26 @@
<select id="selectCoscoSupplierexitList" parameterType="com.chinaunicom.zyhy.ebtp.supplier.coscosupplier.entity.CoscoSupplierexit" resultMap="CoscoSupplierexitResult">
<include refid="selectCoscoSupplierexitVo"/>
<where>
<if test="exitTheme != null and exitTheme != ''">
and exit_theme = #{exitTheme}
</if>
<if test="exitReason != null and exitReason != ''">
and exit_reason = #{exitReason}
</if>
<if test="deptId != null and deptId != ''">
and dept_id = #{deptId}
</if>
<if test="approveStatus != null ">
and approve_status = #{approveStatus}
</if>
<if test="workFlowId != null and workFlowId != ''">
and work_flow_id = #{workFlowId}
</if>
<if test="lastUpdateTime != null ">
and last_update_time = #{lastUpdateTime}
</if>
<if test="exitTheme != null and exitTheme != ''">
and exit_theme = #{exitTheme}
</if>
<if test="exitReason != null and exitReason != ''">
and exit_reason = #{exitReason}
</if>
<if test="deptId != null and deptId != ''">
and dept_id = #{deptId}
</if>
<if test="approveStatus != null ">
and approve_status = #{approveStatus}
</if>
<if test="workFlowId != null and workFlowId != ''">
and work_flow_id = #{workFlowId}
</if>
<if test="lastUpdateTime != null ">
and last_update_time = #{lastUpdateTime}
</if>
</where>
order by create_time desc
</select>
<select id="selectCoscoSupplierexitById" parameterType="String"