|
@@ -147,10 +147,9 @@
|
|
parameterType="com.ozs.plan.doman.vo.requestVo.PlanQuarterStandardVo">
|
|
parameterType="com.ozs.plan.doman.vo.requestVo.PlanQuarterStandardVo">
|
|
select p.* from
|
|
select p.* from
|
|
plan_practical p left join pm_audit_dept_ref r
|
|
plan_practical p left join pm_audit_dept_ref r
|
|
- on p.plan_practical_id = r.ref_id and r.ref_type = 1 and plan_type = 0
|
|
|
|
|
|
+ on p.plan_practical_id = r.ref_id and r.ref_type = 1 and p.plan_type = 0
|
|
<where>
|
|
<where>
|
|
( #{created} = 1 or r.dept_id = #{purchaseDeptId} )
|
|
( #{created} = 1 or r.dept_id = #{purchaseDeptId} )
|
|
- AND r.`status`=0 and plan_type = 0
|
|
|
|
<if test="projectName != null and projectName != ''">
|
|
<if test="projectName != null and projectName != ''">
|
|
AND p.project_name like concat('%', #{projectName}, '%')
|
|
AND p.project_name like concat('%', #{projectName}, '%')
|
|
</if>
|
|
</if>
|