首页 接收任务 按钮 点击则隐藏
This commit is contained in:
@@ -56,4 +56,6 @@ public class BusProcessName implements Serializable {
|
||||
private String isEnd;
|
||||
|
||||
private String taskBackAssignee;
|
||||
|
||||
private boolean showreceive;
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ import com.adc.da.http.ResponseMessage;
|
||||
import com.adc.da.http.Result;
|
||||
import com.adc.da.common.Page;
|
||||
import com.adc.da.login.util.JwtUtils;
|
||||
import com.adc.da.slrs.StandardQA.service.Impl.SarAgenldAcceptButtonServiceImpl;
|
||||
import com.adc.da.slrs.esRevisePlan.dao.EsRevisePlanDao;
|
||||
import com.adc.da.slrs.esRevisePlan.entity.EsRevisePlan;
|
||||
import com.adc.da.slrs.esRevisePlan.service.IEsRevisePlanLogService;
|
||||
@@ -83,6 +84,9 @@ public class WorkFlowController {
|
||||
@Autowired
|
||||
private IEsRevisePlanLogService esRevisePlanLogService;
|
||||
|
||||
@Autowired
|
||||
private SarAgenldAcceptButtonServiceImpl sarAgenldAcceptButtonService;
|
||||
|
||||
// @Autowired
|
||||
// private ExportExcelMapper exportExcelMapper;
|
||||
|
||||
@@ -259,6 +263,7 @@ public class WorkFlowController {
|
||||
@ApiOperation(value = "管控流程接收任务")
|
||||
@GetMapping("/acceptTack")
|
||||
public Integer acceptTack(@RequestParam("nowEsId") String nowEsId, @RequestParam("oaFlag") String oaFlag, @RequestParam("taskId") String taskId) {
|
||||
sarAgenldAcceptButtonService.add(taskId);
|
||||
return workFlowFeignClient.acceptTack(nowEsId,oaFlag,taskId);
|
||||
}
|
||||
|
||||
@@ -507,6 +512,16 @@ public class WorkFlowController {
|
||||
pageInfo.setCount(Long.valueOf(0));
|
||||
pageInfo.setPageSize(taskCommonQuery.getSize());
|
||||
}
|
||||
for (BusProcessName data : pageInfo.getList()){
|
||||
if(StringUtils.isNotBlank(data.getTaskIds())){
|
||||
String s = sarAgenldAcceptButtonService.selectIsNot(data.getTaskIds());
|
||||
if(s.equals("1")){
|
||||
data.setShowreceive(false);
|
||||
}else {
|
||||
data.setShowreceive(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
return pageInfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user