简要描述:
- 获取报告参数
接口版本:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 3.8.9 | 朱小乾 | 2023-10-08 | - |
请求URL:
-/api/mobileGuide/examReport/GetExamReportParams
请求方式:
- GET
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| Content-Type | 是 | string | 请求类型: application/json |
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| templateId | 是 | int | 模板Id |
返回示例:
正确时返回:
{"code": 1,"message": "操作成功","data": [{"id": 1,"createTime": "2023-10-08T12:10:47.317","updateTime": "2023-10-08T12:10:47.317","templateId": 2,"name": "string","remark": null,"sqlParamsType": 0,"defaultValueType": 0,"defaultValue": "string","years": 0,"months": 0,"quarters": 0,"weeks": 0,"days": 0,"dayType": 0}]}
错误时返回:
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int | id |
| templateId | int | 模板Id |
| name | string | 名称 |
| remark | string | 说明 |
| sqlParamsType | int | sql参数类型:0:int 1: string 2:Date |
| DefaultValueType | int | 默认值类型:0:固定值 1:动态值 |
| DefaultValue | string | 默认值 |
| Years | int | 相对年数 |
| Months | int | 相对月数 |
| Quarters | int | 相对季度数 |
| Weeks | int | 相对周数 |
| Days | int | 相对天数 |
| DayType | int | 天数类型:0:当日 1:前日 2:后日 3:年初 4:年末 5:季初 6:季末 7:月初 8:月末 9:周初 10:周末 |
备注:
-
文档更新时间: 2023-10-08 16:42