longyvfengyun
2022-07-21 c1655e378010a1c53b4ac31957545f877c68eefb
src/main/java/com/whyc/controller/WorksheetMainController.java
@@ -3,7 +3,6 @@
import com.whyc.dto.Response;
import com.whyc.dto.WorksheetMainDTO;
import com.whyc.pojo.DocUser;
import com.whyc.pojo.ProductBomApproving;
import com.whyc.pojo.WorksheetMain;
import com.whyc.service.WorksheetMainService;
import com.whyc.util.ActionUtil;
@@ -39,12 +38,12 @@
    @ApiOperation("获取工作流-各角色用户对应的工作台数据分类")
    public Response getList(){
        DocUser user = ActionUtil.getUser();
        Map<String,WorksheetMain> map = service.getList(user);
        Map<String,List<WorksheetMain>> map = service.getList(user);
        return new Response().set(1,map);
    }
    @GetMapping("linkInfo")
    @ApiOperation("获取工作流-单个信息流")
    @ApiOperation("获取工作流-单个审核流程完整信息流")
    public Response getLinkList(@RequestParam int id){
        WorksheetMain main = service.getLinkList(id);
        return  new Response().set(1,main);