Browse Source

添加节点类型、标签等

master
陈裕财 4 years ago
parent
commit
af30be26aa
  1. 4
      xm-core/src/main/java/com/xm/core/ctrl/XmTaskExecuserController.java
  2. 6
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectPhaseMapper.xml

4
xm-core/src/main/java/com/xm/core/ctrl/XmTaskExecuserController.java

@ -6,6 +6,7 @@ import com.mdp.core.entity.Tips;
import com.mdp.core.err.BizException; import com.mdp.core.err.BizException;
import com.mdp.core.utils.RequestUtils; import com.mdp.core.utils.RequestUtils;
import com.mdp.core.utils.ResponseHelper; import com.mdp.core.utils.ResponseHelper;
import com.mdp.meta.client.service.ItemService;
import com.mdp.mybatis.PageUtils; import com.mdp.mybatis.PageUtils;
import com.mdp.qx.HasQx; import com.mdp.qx.HasQx;
import com.mdp.safe.client.entity.User; import com.mdp.safe.client.entity.User;
@ -55,6 +56,9 @@ public class XmTaskExecuserController {
@Autowired @Autowired
XmProjectGroupUserService xmProjectGroupUserService; XmProjectGroupUserService xmProjectGroupUserService;
@Autowired
ItemService itemService;
@Autowired @Autowired

6
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectPhaseMapper.xml

@ -16,12 +16,6 @@
#{item} like concat(res.pid_paths,'%') #{item} like concat(res.pid_paths,'%')
</foreach> </foreach>
</if> </if>
<if test='iterationId!=null and iterationId!="" '>
and exists( select 1 from xm_task t inner join xm_menu im on t.menu_id=im.menu_id where t.project_phase_id=res.id and im.iteration_id=#{iterationId})
</if>
<if test='productId!=null and productId!="" '>
and exists( select 1 from xm_task t where t.product_id=#{productId} and t.project_phase_id=res.id)
</if>
<if test=" taskFilterType !=null and taskFilterType!=''"> <if test=" taskFilterType !=null and taskFilterType!=''">
and <if test="taskFilterType=='not-join'"> not </if> and <if test="taskFilterType=='not-join'"> not </if>
exists( select 1 from xm_task t where t.project_phase_id=res.id) exists( select 1 from xm_task t where t.project_phase_id=res.id)

Loading…
Cancel
Save