|
|
|
@ -76,6 +76,12 @@
|
|
|
|
|
<if test="updateId != null ">and a.update_id = #{updateId}</if>
|
|
|
|
|
<if test="userId != null ">and a.user_id = #{userId}</if>
|
|
|
|
|
<if test="deptId != null ">and a.dept_id = #{deptId}</if>
|
|
|
|
|
<if test="district != '' and district.length==3">
|
|
|
|
|
and a.district like concat('%',#{district}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="district != '' and district.length==6">
|
|
|
|
|
and a.district like concat('%',#{district}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="district != null and district != ''">
|
|
|
|
|
and a.district in
|
|
|
|
|
<foreach item="item" index="index" collection="district.split(',')" open="(" separator="," close=")">
|
|
|
|
@ -108,7 +114,7 @@
|
|
|
|
|
|
|
|
|
|
<select id="getZhifa" resultType="com.ruoyi.programManagement.entity.response.BPlanEnterpriseZhifaResponse">
|
|
|
|
|
|
|
|
|
|
SELECT DISTINCT
|
|
|
|
|
SELECT
|
|
|
|
|
a.id,
|
|
|
|
|
a.enterprise_id,
|
|
|
|
|
a.create_id,
|
|
|
|
@ -145,6 +151,12 @@
|
|
|
|
|
<if test="req.plannedYear !=null and req.plannedYear !=''">
|
|
|
|
|
and a.planned_year =#{req.plannedYear}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="req.enterpriseName !=null and req.enterpriseName !=''">
|
|
|
|
|
and a.enterprise_name =#{req.enterpriseName}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="req.checkStatus !=null and req.checkStatus !=''">
|
|
|
|
|
and a.check_status =#{req.checkStatus}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="req.district !=null and req.district !=''">
|
|
|
|
|
and a.district like concat('%', #{req.district}, '%')
|
|
|
|
|
</if>
|
|
|
|
|