| | |
| | | package com.ruoyi.task.domain; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.fasterxml.jackson.annotation.JsonAlias; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | import io.swagger.annotations.ApiModel; |
| | |
| | | @ApiModelProperty(value = "子任务Id集合") |
| | | private List<Long> subTaskIds; |
| | | |
| | | @ApiModelProperty(value = "科室病区:1,病区统计 2,科室统计 3. 病种统计") |
| | | @ApiModelProperty(value = "统计维度:1-按病区(leavehospitaldistrictcode) 2-按科室(deptcode) 3-按taskid") |
| | | @JsonAlias("statisticalType") |
| | | private Integer statisticaltype; |
| | | |
| | | private String visitDeptCode; |
| | |
| | | |
| | | @ApiModelProperty(value = "继续标识:1 没 2有") |
| | | private Integer continueFlag; |
| | | |
| | | /** |
| | | * 「普通 / 日间」过滤:配合 /getSfStatistics 新增的 *Normal / *Daytime 细分字段做下钻。 |
| | | * <p> |
| | | * 1-只看日间;0-只看普通;不传-不限。 |
| | | * 判定口径见 {@code com.ruoyi.common.enums.ImportFlagEnum#isDaytime}:日间 = importance_flag_code |
| | | * 含「日间」(中文描述口径)或含 FH0165.01 / FH0165.02(枚举编码口径);其余(含 NULL)为普通。 |
| | | * <p> |
| | | * 目前只在 {@code getSfStatisticsHyperlink}(明细下钻)里生效。 |
| | | */ |
| | | @ApiModelProperty(value = "普通/日间过滤:1-日间 0-普通 不传-不限") |
| | | private Integer daytimeOnly; |
| | | |
| | | @ApiModelProperty(value = "继续时间现在") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | |
| | | private String scriptids; |
| | | |
| | | /** |
| | | /** |
| | | * 把 scriptids(逗号分隔的问题ID字符串)严格解析为 Long 集合,仅供 SQL 的 foreach 预编译使用。 |
| | | * <p> |
| | | * 只保留纯数字项,其余内容一律丢弃,返回 null 表示“不过滤”。 |
| | |
| | | } |
| | | return scriptidList.isEmpty() ? null : scriptidList; |
| | | } |
| | | |
| | | /** |
| | | * 问题ID(题目明细行返回的 scriptid),用于选项数字下钻 |
| | | */ |
| | | @ApiModelProperty(value = "问题ID") |
| | | @JsonAlias("scriptId") |
| | | private Long scriptid; |
| | | |
| | | /** |
| | | * 问题内容。传入后按题目内容匹配,兼容同一道题被复制到多个任务模板的场景 |
| | | */ |
| | | @ApiModelProperty(value = "问题内容") |
| | | private String scriptContent; |
| | | |
| | | /** |
| | | * 选项文本(题目明细行返回的 optionText) |
| | | */ |
| | | @ApiModelProperty(value = "选项文本") |
| | | @JsonAlias({"optiontext", "option", "optionContent"}) |
| | | private String optionText; |
| | | |
| | | /** |
| | | * 题目明细中的任务类型(subtaskType),用于下钻时区分语音/问卷 |
| | | */ |
| | | @ApiModelProperty(value = "任务类型(题目明细中的 subtaskType)") |
| | | @JsonAlias("subTaskType") |
| | | private String subtaskType; |
| | | |
| | | /** |
| | | * 分组类型 drCode, deptCode, leaveHospitalDistrictCode |
| | |
| | | private String hyperLinkInfoType; |
| | | |
| | | @ApiModelProperty(value = "任务ID", required = true) |
| | | @JsonAlias("taskid") |
| | | private Long taskId; |
| | | |
| | | @ApiModelProperty(value = "taskIds集合") |