Commit 836ef530 by Suvalue

Merge remote-tracking branch 'origin/future-page-ywd' into dev

parents 730bed88 e65b48e7
...@@ -8,6 +8,7 @@ import com.bsoft.api.model.requmodel.BlockValues; ...@@ -8,6 +8,7 @@ import com.bsoft.api.model.requmodel.BlockValues;
import com.bsoft.api.service.BlockValuesService; import com.bsoft.api.service.BlockValuesService;
import com.bsoft.api.service.Impl.BlockValuesServiceImpl; import com.bsoft.api.service.Impl.BlockValuesServiceImpl;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
...@@ -30,6 +31,7 @@ public class BlockValuesController { ...@@ -30,6 +31,7 @@ public class BlockValuesController {
*/ */
@GetMapping("blockValues") @GetMapping("blockValues")
// @Token // @Token
@ApiOperation("根据Page查询板块数值")
public Object getBlockValuesByPageID(@RequestBody BlockValues blockValues){ public Object getBlockValuesByPageID(@RequestBody BlockValues blockValues){
return Result.success(blockValuesService.getBlockValuesByPageID(blockValues.getPageId(),blockValues.getDisease(), return Result.success(blockValuesService.getBlockValuesByPageID(blockValues.getPageId(),blockValues.getDisease(),
......
package com.bsoft.api.model.requmodel; package com.bsoft.api.model.requmodel;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date; import java.util.Date;
...@@ -48,9 +49,16 @@ public class BlockValues { ...@@ -48,9 +49,16 @@ public class BlockValues {
this.time = time; this.time = time;
} }
@ApiModelProperty(value = "pageID",required = true)
private Integer pageId; private Integer pageId;
@ApiModelProperty("病组")
private Integer disease; private Integer disease;
@ApiModelProperty("科室")
private Integer department; private Integer department;
@ApiModelProperty("医生")
private Integer doctor; private Integer doctor;
@ApiModelProperty("时间")
private Integer time; private Integer time;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment