Browse Source

添加节点类型、标签等

master
陈裕财 4 years ago
parent
commit
e289dc414a
  1. 4
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskMapper.xml

4
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskMapper.xml

@ -109,7 +109,7 @@
<foreach collection="taskIds" item="item" index="index" open="(" separator="," close=")" > <foreach collection="taskIds" item="item" index="index" open="(" separator="," close=")" >
#{item} #{item}
</foreach> </foreach>
and res.ntype='0'
and res.ntype!='1'
</update> </update>
<update id="batchRelTasksWithPhase" parameterType="com.xm.core.vo.BatchRelTasksWithPhase"> <update id="batchRelTasksWithPhase" parameterType="com.xm.core.vo.BatchRelTasksWithPhase">
@ -306,7 +306,7 @@
<select id="calcProjectAndTaskBudget" resultType="HashMap" parameterType="HashMap"> <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 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=")" > <foreach collection="excludeTaskIds" item="item" index="index" open="(" separator="," close=")" >
#{item} #{item}
</foreach> </foreach>

Loading…
Cancel
Save