代码优化
This commit is contained in:
@ -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"/>
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user