|
|
@@ -11,7 +11,6 @@ import com.ningdatech.pmapi.projectlib.model.req.StartProjectDeclareReq; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.vo.AnnualPlanListItemVO; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
@@ -69,16 +68,17 @@ public class AnnualPlanController { |
|
|
|
annualPlanLibManage.importAnnualPlan(file); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/modify") |
|
|
|
@PostMapping("/modify") |
|
|
|
@ApiOperation("年度计划编辑") |
|
|
|
@WebLog("年度计划编辑") |
|
|
|
public void modify(@RequestBody ProjectDTO req) { |
|
|
|
annualPlanLibManage.updateAnnualPlan(req); |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("/exportList") |
|
|
|
@ApiOperation("项目库【列表|编辑表】导出") |
|
|
|
public void exportList(@Valid @RequestBody ProjectListReq param, HttpServletResponse response){ |
|
|
|
annualPlanLibManage.exportList(param,response); |
|
|
|
public void exportList(@Valid @RequestBody ProjectListReq param, HttpServletResponse response) { |
|
|
|
annualPlanLibManage.exportList(param, response); |
|
|
|
} |
|
|
|
|
|
|
|
} |