筛查分析

This commit is contained in:
赵旭 2023-10-30 14:04:06 +08:00
parent d3f31d08b9
commit 7bce05f186
3 changed files with 11 additions and 10 deletions

View File

@ -1,6 +1,6 @@
package com.xinelu.manage.controller.evaluateresult; package com.xinelu.manage.controller.evaluateresult;
import com.xinelu.common.core.controller.BaseController; import com.xinelu.common.core.controller.BaseController;
import com.xinelu.common.core.page.TableDataInfo; import com.xinelu.common.core.domain.AjaxResult;
import com.xinelu.manage.service.evaluateresult.EvaluateResultService; import com.xinelu.manage.service.evaluateresult.EvaluateResultService;
import com.xinelu.manage.vo.evaluateresult.EvaluateResultVo; import com.xinelu.manage.vo.evaluateresult.EvaluateResultVo;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
@ -22,15 +22,16 @@ public class EvaluateResultController extends BaseController {
/** /**
* 根据年龄端性别统计筛查结果 * 根据年龄端性别统计筛查结果
* @param ageA * @param age
* @param ageB
* @param sex * @param sex
* @return * @return
*/ */
@GetMapping("/list/{ageA}/{ageB}/{sex}") @GetMapping("/list/{age}/{sex}")
public TableDataInfo list(@PathVariable("ageA") String ageA, @PathVariable("ageB") String ageB,@PathVariable("sex")String sex) { public AjaxResult list(@PathVariable("age") String age, @PathVariable("sex")String sex) {
startPage(); String[] split = age.split("-");
String ageA = split[0];
String ageB = split[1];
List<EvaluateResultVo> list = evaluateResultService.list(ageA,ageB,sex); List<EvaluateResultVo> list = evaluateResultService.list(ageA,ageB,sex);
return getDataTable(list); return AjaxResult.success(list);
} }
} }

View File

@ -85,6 +85,8 @@ public class HospitalPersonInfoDtoo extends BaseDomain implements Serializable {
@ApiModelProperty(value = "身份证号") @ApiModelProperty(value = "身份证号")
@Excel(name = "身份证号") @Excel(name = "身份证号")
private String cardNo; private String cardNo;
private String personAccount;
private String personPassword;
/** /**
* 人员职称主任医师CHIEF_PHYSICIAN副主任医师DEPUTY_CHIEF_PHYSICIAN主治医师ATTENDING_DOCTOR医师PHYSICIAN医士HEALER住院医师RESIDENT_PHYSICIAN * 人员职称主任医师CHIEF_PHYSICIAN副主任医师DEPUTY_CHIEF_PHYSICIAN主治医师ATTENDING_DOCTOR医师PHYSICIAN医士HEALER住院医师RESIDENT_PHYSICIAN

View File

@ -4,9 +4,7 @@ import com.xinelu.manage.service.evaluateresult.EvaluateResultService;
import com.xinelu.manage.vo.evaluateresult.EvaluateResultVo; import com.xinelu.manage.vo.evaluateresult.EvaluateResultVo;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Map;
@Service @Service
public class EvaluateResultServiceimpl implements EvaluateResultService { public class EvaluateResultServiceimpl implements EvaluateResultService {