| | |
| | | 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; |
| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.validation.Valid; |
| | | import java.io.IOException; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | return response; |
| | | } |
| | | |
| | | @PostMapping("productSoftwareSubmit") |
| | | @ApiOperation(value="产品软件审批提交") |
| | | public Response productSoftwareSubmit(@RequestParam MultipartFile file, @RequestBody WorksheetMain main) throws IOException { |
| | | DocUser user = ActionUtil.getUser(); |
| | | return service.productSoftwareSubmit(file,main,user); |
| | | } |
| | | |
| | | @GetMapping("statusStatistic") |
| | | @ApiOperation("获取工作流-各角色用户对应的工作台数据分类统计") |
| | | public Response<Map<String,Integer>> getStatusStatistic(){ |