| | |
| | | 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; |
| | |
| | | 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集合") |