|
|
|
@ -109,7 +109,7 @@ |
|
|
|
<foreach collection="taskIds" item="item" index="index" open="(" separator="," close=")" > |
|
|
|
#{item} |
|
|
|
</foreach> |
|
|
|
and res.ntype='0' |
|
|
|
and res.ntype!='1' |
|
|
|
</update> |
|
|
|
|
|
|
|
<update id="batchRelTasksWithPhase" parameterType="com.xm.core.vo.BatchRelTasksWithPhase"> |
|
|
|
@ -306,7 +306,7 @@ |
|
|
|
|
|
|
|
<select id="calcProjectAndTaskBudget" resultType="HashMap" parameterType="HashMap"> |
|
|
|
select p.id,p.name,p.plan_total_cost,sum(budget_cost) as budget_cost from xm_project p left join xm_task t on t.project_id=p.id |
|
|
|
where p.id=#{projectId} and task.lvl=1 and t.id not in |
|
|
|
where p.id=#{projectId} and t.lvl=1 and t.id not in |
|
|
|
<foreach collection="excludeTaskIds" item="item" index="index" open="(" separator="," close=")" > |
|
|
|
#{item} |
|
|
|
</foreach> |
|
|
|
|