提交代码
parent
08d0cc59b8
commit
6eba1c3319
|
@ -216,6 +216,17 @@ public class FloweController extends BaseController {
|
||||||
return AjaxResult.success(flowBusinessKeyService.selectFormDatasByProcInsId(procInsId));
|
return AjaxResult.success(flowBusinessKeyService.selectFormDatasByProcInsId(procInsId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据条件查询劳资预警列表
|
||||||
|
* JiangYuQi
|
||||||
|
*/
|
||||||
|
@PostMapping("/findFlowLabourList")
|
||||||
|
public TableDataInfo list(FlowLabourInfo flowLabourInfo)
|
||||||
|
{
|
||||||
|
List<FlowLabourInfo> list = flowLabourInfoService.selectFlowLabourInfoList(flowLabourInfo);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据条件统计劳资预警信息
|
* 根据条件统计劳资预警信息
|
||||||
* JiangYuQi
|
* JiangYuQi
|
||||||
|
@ -234,7 +245,9 @@ public class FloweController extends BaseController {
|
||||||
if(obj!=null){
|
if(obj!=null){
|
||||||
return AjaxResult.success(obj);
|
return AjaxResult.success(obj);
|
||||||
}
|
}
|
||||||
where.setProjectDeptId(deptId<1?"":""+deptId);
|
if(deptId>0){
|
||||||
|
where.setProjectDeptId(""+deptId);
|
||||||
|
}
|
||||||
where.setProjectId(projectId<1?null:projectId);
|
where.setProjectId(projectId<1?null:projectId);
|
||||||
Map<String, Object> data = flowLabourInfoService.findFlowLabourGroupCountByApprove(where);
|
Map<String, Object> data = flowLabourInfoService.findFlowLabourGroupCountByApprove(where);
|
||||||
redisCache.setCacheObject(key, data, Constants.BIGSCREEN_QUERY_CACHE, TimeUnit.MINUTES);
|
redisCache.setCacheObject(key, data, Constants.BIGSCREEN_QUERY_CACHE, TimeUnit.MINUTES);
|
||||||
|
|
|
@ -65,7 +65,7 @@ public class FlowLabourInfoServiceImpl implements IFlowLabourInfoService
|
||||||
@Override
|
@Override
|
||||||
public List<FlowLabourInfo> selectFlowLabourInfoList(FlowLabourInfo flowLabourInfo)
|
public List<FlowLabourInfo> selectFlowLabourInfoList(FlowLabourInfo flowLabourInfo)
|
||||||
{
|
{
|
||||||
if(Convert.toInt(flowLabourInfo.getNowRole())>4){
|
if(Convert.toInt(flowLabourInfo.getNowRole(),1)>4){
|
||||||
//这里总包只能审批自己单位数据
|
//这里总包只能审批自己单位数据
|
||||||
flowLabourInfo.setDeptId(Convert.toLong(flowLabourInfo.getNowDept()));
|
flowLabourInfo.setDeptId(Convert.toLong(flowLabourInfo.getNowDept()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue