4 changed files with 159 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||
|
package com.acupuncture.web.controller.web; |
||||
|
|
||||
|
/** |
||||
|
* @Author zzc |
||||
|
* @Package com.acupuncture.web.controller.web |
||||
|
* @Date 2025/2/13 8:58 |
||||
|
* @description: |
||||
|
*/ |
||||
|
public class StatisticsController { |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,121 @@ |
|||||
|
package com.acupuncture.system.domain.vo; |
||||
|
|
||||
|
import com.acupuncture.common.annotation.DataSource; |
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zzc |
||||
|
* @Package com.acupuncture.system.domain.vo |
||||
|
* @Date 2025/2/13 8:59 |
||||
|
* @description: |
||||
|
*/ |
||||
|
public class StatisticsVo { |
||||
|
|
||||
|
@Data |
||||
|
@ApiModel("患者统计") |
||||
|
public static class PatientVo { |
||||
|
private Integer totalPatients; |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
|
private Date date; |
||||
|
|
||||
|
private GenderVo gender; |
||||
|
|
||||
|
private AgeVo age; |
||||
|
|
||||
|
private JwbzVo jwbz; |
||||
|
|
||||
|
@Data |
||||
|
public static class GenderVo { |
||||
|
@ApiModelProperty("男患者人数") |
||||
|
private Integer male; |
||||
|
@ApiModelProperty("女患者人数") |
||||
|
private Integer female; |
||||
|
@ApiModelProperty("未知患者人数") |
||||
|
private Integer other; |
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
public static class AgeVo { |
||||
|
private Integer num1; |
||||
|
private Integer num2; |
||||
|
private Integer num3; |
||||
|
private Integer num4; |
||||
|
private Integer num5; |
||||
|
private Integer num6; |
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
public static class JwbzVo { |
||||
|
private Integer gxy; |
||||
|
private Integer nxgb; |
||||
|
private Integer exzl; |
||||
|
private Integer gxb; |
||||
|
private Integer jsjb; |
||||
|
private Integer whsezcky; |
||||
|
private Integer fpz; |
||||
|
private Integer gzssz; |
||||
|
private Integer ycxXtxjb; |
||||
|
private Integer tnb; |
||||
|
private Integer mxfxjb; |
||||
|
private Integer gzxz; |
||||
|
private Integer gzjb; |
||||
|
private Integer gmxjb; |
||||
|
private Integer gjy; |
||||
|
private Integer tf; |
||||
|
private Integer sySb; |
||||
|
private Integer other; |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
@Data |
||||
|
@ApiModel("诊疗信息") |
||||
|
public static class TreamentVo { |
||||
|
|
||||
|
private List<SortVo> sort; |
||||
|
|
||||
|
private TxfbVo txfb; |
||||
|
|
||||
|
@Data |
||||
|
@ApiModel("排名信息") |
||||
|
public static class SortVo { |
||||
|
private Integer total; |
||||
|
private Integer sort; |
||||
|
private Integer type; |
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
@ApiModel("体型分布") |
||||
|
public static class TxfbVo { |
||||
|
@ApiModelProperty("") |
||||
|
private Integer total; |
||||
|
@ApiModelProperty("") |
||||
|
private Integer date; |
||||
|
@ApiModelProperty("隐形肥胖型") |
||||
|
private Integer yxfpz; |
||||
|
@ApiModelProperty("脂肪过多型") |
||||
|
private Integer zfgdx; |
||||
|
@ApiModelProperty("肥胖型") |
||||
|
private Integer fpx; |
||||
|
@ApiModelProperty("肌肉不足型") |
||||
|
private Integer jrbzx; |
||||
|
@ApiModelProperty("健康匀称型") |
||||
|
private Integer jkjcx; |
||||
|
@ApiModelProperty("超重肌肉型") |
||||
|
private Integer czjrx; |
||||
|
@ApiModelProperty("消瘦型") |
||||
|
private Integer xsx; |
||||
|
@ApiModelProperty("低脂肪型") |
||||
|
private Integer dzfx; |
||||
|
@ApiModelProperty("运动员型") |
||||
|
private Integer ydyx; |
||||
|
} |
||||
|
} |
||||
|
} |
@ -0,0 +1,13 @@ |
|||||
|
package com.acupuncture.system.service; |
||||
|
|
||||
|
/** |
||||
|
* @Author zzc |
||||
|
* @Package com.acupuncture.system.service |
||||
|
* @Date 2025/2/13 8:58 |
||||
|
* @description: |
||||
|
*/ |
||||
|
public interface StatisticsService { |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.acupuncture.system.service.impl; |
||||
|
|
||||
|
import com.acupuncture.system.service.StatisticsService; |
||||
|
|
||||
|
/** |
||||
|
* @Author zzc |
||||
|
* @Package com.acupuncture.system.service |
||||
|
* @Date 2025/2/13 8:58 |
||||
|
* @description: |
||||
|
*/ |
||||
|
public class StatisticsServiceImpl implements StatisticsService { |
||||
|
} |
Loading…
Reference in new issue