提交代码

dev_xds
姜玉琦 2024-04-26 01:39:29 +08:00
parent 4c9fdf7d79
commit a0abfe7d63
3 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
@RestController @RestController
@RequestMapping("/bgscreen/flow") @RequestMapping("/bgscreen/flow")
@ -223,6 +224,7 @@ public class FloweController extends BaseController {
@PostMapping("/findFlowLabourList") @PostMapping("/findFlowLabourList")
public TableDataInfo list(@RequestBody FlowLabourInfo flowLabourInfo) public TableDataInfo list(@RequestBody FlowLabourInfo flowLabourInfo)
{ {
startPage();
List<FlowLabourInfo> list = flowLabourInfoService.selectFlowLabourInfoList(flowLabourInfo); List<FlowLabourInfo> list = flowLabourInfoService.selectFlowLabourInfoList(flowLabourInfo);
return getDataTable(list); return getDataTable(list);
} }

View File

@ -2,6 +2,7 @@ package com.yanzhu.jh.flow.service;
import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.common.core.domain.AjaxResult;
import com.yanzhu.jh.flow.domain.FlowLabourInfo; import com.yanzhu.jh.flow.domain.FlowLabourInfo;
import org.apache.xmlbeans.impl.xb.xsdschema.Public;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;

View File

@ -59,6 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if> </if>
<if test='nowRole == "15" or nowRole == "16" or nowRole == "17"'> and fl.approve_status in ('10','20','21','30','31','100') and sp.id in (select spui.project_id from sur_project_userinfo spui where spui.dept_id = #{nowDept} and spui.user_id=(select su.user_id from sys_user su where su.user_name=#{nowUser}) and spui.job_type='24' and spui.is_del=0)</if> <if test='nowRole == "15" or nowRole == "16" or nowRole == "17"'> and fl.approve_status in ('10','20','21','30','31','100') and sp.id in (select spui.project_id from sur_project_userinfo spui where spui.dept_id = #{nowDept} and spui.user_id=(select su.user_id from sys_user su where su.user_name=#{nowUser}) and spui.job_type='24' and spui.is_del=0)</if>
<if test='activeName == "jxz"'> <if test='activeName == "jxz"'>
<if test="nowRole == null"> and fl.approve_status &lt; 100</if>
<if test='nowRole == "4"'> and fl.approve_status in ('20','31')</if> <if test='nowRole == "4"'> and fl.approve_status in ('20','31')</if>
<!--监理单位/总包公司/分包单位查询当前关联数据--> <!--监理单位/总包公司/分包单位查询当前关联数据-->
<if test='nowRole == "5" or nowRole == "6" or nowRole == "7"'> and fl.approve_status in ('10','21')</if> <if test='nowRole == "5" or nowRole == "6" or nowRole == "7"'> and fl.approve_status in ('10','21')</if>
@ -66,6 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and fl.approve_status != '100' and fl.approve_status != '100'
</if> </if>
<if test='activeName == "ywc"'> <if test='activeName == "ywc"'>
<if test="nowRole == null"> and fl.approve_status = 100</if>
<if test='nowRole == "4"'> and fl.approve_status in ('21','30','100')</if> <if test='nowRole == "4"'> and fl.approve_status in ('21','30','100')</if>
<!--监理单位/总包公司/分包单位查询当前关联数据--> <!--监理单位/总包公司/分包单位查询当前关联数据-->
<if test='nowRole == "5" or nowRole == "6" or nowRole == "7"'> and fl.approve_status in ('11','20','30','31','100')</if> <if test='nowRole == "5" or nowRole == "6" or nowRole == "7"'> and fl.approve_status in ('11','20','30','31','100')</if>