| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.CodeFilesDto; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.Software; |
| | | import com.whyc.service.SoftcodeService; |
| | |
| | | public Response getFileNameByCreateTime(@RequestParam String createTime){ |
| | | return wareService.getFileNameByCreateTime(createTime); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询当前owner的未上传源码记录") |
| | | @GetMapping("getFileNameByOwnerWithCode") |
| | | public Response getFileNameByOwnerWithCode(@RequestParam String owner){ |
| | | return wareService.getFileNameByOwnerWithCode(owner); |
| | | } |
| | | @ApiOperation(value = "批量添加源码包") |
| | | @PostMapping("setCodeByFileNmaes") |
| | | public Response setCodeByFileNmaes(@RequestBody CodeFilesDto dto){ |
| | | return wareService.setCodeByFileNmaes(dto); |
| | | } |
| | | } |