|
|
|
@ -2350,7 +2350,7 @@ |
|
|
|
or convert(varchar(10), a.PlanEndDate, 120) between #{planStartDate} and #{planEndDate} |
|
|
|
or (DATEDIFF(day, a.PlanStartDate, #{planStartDate}) >= 0 and DATEDIFF(day, #{planEndDate}, a.PlanEndDate) >= 0)) |
|
|
|
and a.PropertiesCode = #{propertiesCode} and a.plan_cycle = #{planCycle} and a.PlanPeriod = #{planPeriod} |
|
|
|
and b.Status not in ('已取消','已完成','待审核') |
|
|
|
and b.Status not in ('已取消','已完工','待审核') |
|
|
|
</select> |
|
|
|
|
|
|
|
<!-- 查询当前计划 --> |
|
|
|
|