diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ReviewTemplateSettingsController.java b/pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ReviewTemplateSettingsController.java index 0baacbf..dc0dc15 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ReviewTemplateSettingsController.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ReviewTemplateSettingsController.java @@ -6,6 +6,7 @@ import com.ningdatech.pmapi.expert.manage.ReviewTemplateSettingsManage; import com.ningdatech.pmapi.expert.model.req.ReviewTemplateReq; import com.ningdatech.pmapi.expert.model.vo.ReviewTemplateVO; import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiOperation; import lombok.AllArgsConstructor; @@ -45,12 +46,14 @@ public class ReviewTemplateSettingsController { @GetMapping("/template") @ApiModelProperty("根据模版ID获取评审模版") + @ApiImplicitParam(name = "templateId", defaultValue = "模版ID") public ReviewTemplateVO getTemplateById(@RequestParam Long templateId) { return reviewTemplateSettingsManage.getReviewTemplateSettings(templateId); } @GetMapping("/templates") @ApiModelProperty("(批量)根据模版ID获取评审模版") + @ApiImplicitParam(name = "templateIds", defaultValue = "模版ID集合") public List getTemplateById(@RequestParam List templateIds) { return reviewTemplateSettingsManage.listReviewTemplateSettings(templateIds); }