提交代码
parent
4c9fdf7d79
commit
a0abfe7d63
|
@ -23,6 +23,7 @@ import org.springframework.web.bind.annotation.*;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/bgscreen/flow")
|
||||
|
@ -223,6 +224,7 @@ public class FloweController extends BaseController {
|
|||
@PostMapping("/findFlowLabourList")
|
||||
public TableDataInfo list(@RequestBody FlowLabourInfo flowLabourInfo)
|
||||
{
|
||||
startPage();
|
||||
List<FlowLabourInfo> list = flowLabourInfoService.selectFlowLabourInfoList(flowLabourInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package com.yanzhu.jh.flow.service;
|
|||
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.yanzhu.jh.flow.domain.FlowLabourInfo;
|
||||
import org.apache.xmlbeans.impl.xb.xsdschema.Public;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
|
|
@ -59,6 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
</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="nowRole == null"> and fl.approve_status < 100</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>
|
||||
|
@ -66,6 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and fl.approve_status != '100'
|
||||
</if>
|
||||
<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 == "5" or nowRole == "6" or nowRole == "7"'> and fl.approve_status in ('11','20','30','31','100')</if>
|
||||
|
|
Loading…
Reference in New Issue