whycxzp
2022-08-15 a9d75442f771d558f363b63d2fe443bcf66d2820
src/main/java/com/whyc/controller/WorksheetMainController.java
@@ -3,6 +3,7 @@
import com.github.pagehelper.PageInfo;
import com.whyc.dto.Response;
import com.whyc.dto.WorksheetMainDTO;
import com.whyc.dto.WorksheetMainDTO2;
import com.whyc.pojo.DocUser;
import com.whyc.pojo.WorksheetMain;
import com.whyc.service.WorksheetMainService;
@@ -13,6 +14,7 @@
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.io.IOException;
import java.util.List;
import java.util.Map;
@@ -77,6 +79,14 @@
        return response;
    }
    @PostMapping("productSoftwareSubmit")
    @ApiOperation(value="产品软件审批提交")
    public Response productSoftwareSubmit(@RequestBody WorksheetMainDTO2 mainDTO) throws IOException {
        Response<Object> response = new Response<>();
        DocUser user = ActionUtil.getUser();
        return service.productSoftwareSubmit(mainDTO,user);
    }
    @GetMapping("statusStatistic")
    @ApiOperation("获取工作流-各角色用户对应的工作台数据分类统计")
    public Response<Map<String,Integer>> getStatusStatistic(){