公式功能迁移
正在显示
22 个修改的文件
包含
156 行增加
和
130 行删除
sk-module-biz/src/main/java/com/skua/modules/algorithm/controller/SysAlgorithmLibraryController.java
... | @@ -60,11 +60,7 @@ public class SysAlgorithmLibraryController { | ... | @@ -60,11 +60,7 @@ public class SysAlgorithmLibraryController { |
60 | @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, | 60 | @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, |
61 | HttpServletRequest req) { | 61 | HttpServletRequest req) { |
62 | Result<IPage<SysAlgorithmLibrary>> result = new Result<IPage<SysAlgorithmLibrary>>(); | 62 | Result<IPage<SysAlgorithmLibrary>> result = new Result<IPage<SysAlgorithmLibrary>>(); |
63 | Map<String, String[]> paramMap = req.getParameterMap(); | ||
64 | |||
65 | |||
66 | QueryWrapper<SysAlgorithmLibrary> queryWrapper = QueryGenerator.initQueryWrapper(sysAlgorithmLibrary, req.getParameterMap()); | 63 | QueryWrapper<SysAlgorithmLibrary> queryWrapper = QueryGenerator.initQueryWrapper(sysAlgorithmLibrary, req.getParameterMap()); |
67 | |||
68 | Page<SysAlgorithmLibrary> page = new Page<>(pageNo, pageSize); | 64 | Page<SysAlgorithmLibrary> page = new Page<>(pageNo, pageSize); |
69 | IPage<SysAlgorithmLibrary> pageList = sysAlgorithmLibraryService.page(page, queryWrapper); | 65 | IPage<SysAlgorithmLibrary> pageList = sysAlgorithmLibraryService.page(page, queryWrapper); |
70 | List<SysAlgorithmLibrary> sysAlgorithmLibraryList = pageList.getRecords(); | 66 | List<SysAlgorithmLibrary> sysAlgorithmLibraryList = pageList.getRecords(); | ... | ... |
... | @@ -99,30 +99,6 @@ public class SysAlgorithmStatisticsLibraryController { | ... | @@ -99,30 +99,6 @@ public class SysAlgorithmStatisticsLibraryController { |
99 | return result; | 99 | return result; |
100 | } | 100 | } |
101 | 101 | ||
102 | @AutoLog(value = "统计功能配置表-统计计算") | ||
103 | @ApiOperation(value="统计功能配置表-统计计算", notes="统计功能配置表-统计计算") | ||
104 | @PostMapping(value = "/statistics/waterData") | ||
105 | public Result<SysAlgorithmStatisticsResultVO> statisticsByWaterData(@RequestBody JSONObject jsonObject, | ||
106 | HttpServletRequest req) throws Exception { | ||
107 | Result<SysAlgorithmStatisticsResultVO> result = new Result<>(); | ||
108 | //将jsonObject转sysAlgorithmStatisticsLibraryVO对象 | ||
109 | SysAlgorithmStatisticsLibraryVO sysAlgorithmStatisticsLibraryVO = JSONObject.toJavaObject(jsonObject, SysAlgorithmStatisticsLibraryVO.class); | ||
110 | //将jsonObject转Map对象 | ||
111 | Map<String,Object> paramMap = JSONObject.toJavaObject(jsonObject,Map.class); | ||
112 | //将paramMap集合去掉SysAlgorithmStatisticsLibraryVO对象内容 | ||
113 | Map<String,Object> sysAlgorithmStatisticsLibraryVOMap = JSON.parseObject(JSON.toJSONString(sysAlgorithmStatisticsLibraryVO), new TypeReference<Map<String, Object>>() {}); | ||
114 | //Maps.difference(Map, Map)用来比较两个Map以获取所有不同点 | ||
115 | MapDifference<String, Object> difference = Maps.difference(paramMap, sysAlgorithmStatisticsLibraryVOMap); | ||
116 | // 键只存在于左边Map的映射项 | ||
117 | paramMap = difference.entriesOnlyOnLeft(); | ||
118 | SysAlgorithmStatisticsResultVO vo = sysAlgorithmStatisticsLibraryService.statistics(sysAlgorithmStatisticsLibraryVO,paramMap); | ||
119 | //todo 演示暂时注释 | ||
120 | result.setSuccess(true); | ||
121 | result.setResult(vo); | ||
122 | return result; | ||
123 | } | ||
124 | |||
125 | |||
126 | /** | 102 | /** |
127 | * 添加 | 103 | * 添加 |
128 | * @param sysAlgorithmStatisticsLibrary | 104 | * @param sysAlgorithmStatisticsLibrary |
... | @@ -132,7 +108,7 @@ public class SysAlgorithmStatisticsLibraryController { | ... | @@ -132,7 +108,7 @@ public class SysAlgorithmStatisticsLibraryController { |
132 | @ApiOperation(value="统计功能配置表-添加", notes="统计功能配置表-添加") | 108 | @ApiOperation(value="统计功能配置表-添加", notes="统计功能配置表-添加") |
133 | @PostMapping(value = "/add") | 109 | @PostMapping(value = "/add") |
134 | public Result<SysAlgorithmStatisticsLibrary> add(@RequestBody SysAlgorithmStatisticsLibrary sysAlgorithmStatisticsLibrary) { | 110 | public Result<SysAlgorithmStatisticsLibrary> add(@RequestBody SysAlgorithmStatisticsLibrary sysAlgorithmStatisticsLibrary) { |
135 | 111 | ||
136 | Result<SysAlgorithmStatisticsLibrary> result = new Result<SysAlgorithmStatisticsLibrary>(); | 112 | Result<SysAlgorithmStatisticsLibrary> result = new Result<SysAlgorithmStatisticsLibrary>(); |
137 | try { | 113 | try { |
138 | //根据统计接口名称生成编码 | 114 | //根据统计接口名称生成编码 | ... | ... |
... | @@ -28,21 +28,21 @@ public class SysAlgorithmDatabaseInfo { | ... | @@ -28,21 +28,21 @@ public class SysAlgorithmDatabaseInfo { |
28 | /**主键*/ | 28 | /**主键*/ |
29 | @TableId(type = IdType.ID_WORKER_STR) | 29 | @TableId(type = IdType.ID_WORKER_STR) |
30 | @ApiModelProperty(value = "主键") | 30 | @ApiModelProperty(value = "主键") |
31 | private java.lang.String id; | 31 | private String id; |
32 | /**项目名称*/ | 32 | /**项目名称*/ |
33 | @Excel(name = "项目名称", width = 15) | 33 | @Excel(name = "项目名称", width = 15) |
34 | @ApiModelProperty(value = "项目名称") | 34 | @ApiModelProperty(value = "项目名称") |
35 | private java.lang.String projectName; | 35 | private String projectName; |
36 | /**数据库连接地址*/ | 36 | /**数据库连接地址*/ |
37 | @Excel(name = "数据库连接地址", width = 15) | 37 | @Excel(name = "数据库连接地址", width = 15) |
38 | @ApiModelProperty(value = "数据库连接地址") | 38 | @ApiModelProperty(value = "数据库连接地址") |
39 | private java.lang.String url; | 39 | private String url; |
40 | /**数据库用户名*/ | 40 | /**数据库用户名*/ |
41 | @Excel(name = "数据库用户名", width = 15) | 41 | @Excel(name = "数据库用户名", width = 15) |
42 | @ApiModelProperty(value = "数据库用户名") | 42 | @ApiModelProperty(value = "数据库用户名") |
43 | private java.lang.String username; | 43 | private String username; |
44 | /**数据库密码*/ | 44 | /**数据库密码*/ |
45 | @Excel(name = "数据库密码", width = 15) | 45 | @Excel(name = "数据库密码", width = 15) |
46 | @ApiModelProperty(value = "数据库密码") | 46 | @ApiModelProperty(value = "数据库密码") |
47 | private java.lang.String pwd; | 47 | private String pwd; |
48 | } | 48 | } | ... | ... |
... | @@ -23,17 +23,17 @@ public class SysAlgorithmInterfaceService { | ... | @@ -23,17 +23,17 @@ public class SysAlgorithmInterfaceService { |
23 | /**主键*/ | 23 | /**主键*/ |
24 | @TableId(type = IdType.ID_WORKER_STR) | 24 | @TableId(type = IdType.ID_WORKER_STR) |
25 | @ApiModelProperty(value = "主键") | 25 | @ApiModelProperty(value = "主键") |
26 | private java.lang.String id; | 26 | private String id; |
27 | /**服务名称*/ | 27 | /**服务名称*/ |
28 | @Excel(name = "服务名称", width = 15) | 28 | @Excel(name = "服务名称", width = 15) |
29 | @ApiModelProperty(value = "服务名称") | 29 | @ApiModelProperty(value = "服务名称") |
30 | private java.lang.String serviceName; | 30 | private String serviceName; |
31 | /**服务编码*/ | 31 | /**服务编码*/ |
32 | @Excel(name = "服务编码", width = 15) | 32 | @Excel(name = "服务编码", width = 15) |
33 | @ApiModelProperty(value = "服务编码") | 33 | @ApiModelProperty(value = "服务编码") |
34 | private java.lang.String serviceCode; | 34 | private String serviceCode; |
35 | /**服务bean对象*/ | 35 | /**服务bean对象*/ |
36 | @Excel(name = "服务bean对象", width = 15) | 36 | @Excel(name = "服务bean对象", width = 15) |
37 | @ApiModelProperty(value = "服务bean对象") | 37 | @ApiModelProperty(value = "服务bean对象") |
38 | private java.lang.String serviceBean; | 38 | private String serviceBean; |
39 | } | 39 | } | ... | ... |
... | @@ -4,15 +4,12 @@ import com.baomidou.mybatisplus.annotation.IdType; | ... | @@ -4,15 +4,12 @@ import com.baomidou.mybatisplus.annotation.IdType; |
4 | import com.baomidou.mybatisplus.annotation.TableField; | 4 | import com.baomidou.mybatisplus.annotation.TableField; |
5 | import com.baomidou.mybatisplus.annotation.TableId; | 5 | import com.baomidou.mybatisplus.annotation.TableId; |
6 | import com.baomidou.mybatisplus.annotation.TableName; | 6 | import com.baomidou.mybatisplus.annotation.TableName; |
7 | import com.fasterxml.jackson.annotation.JsonFormat; | ||
8 | |||
9 | import io.swagger.annotations.ApiModel; | 7 | import io.swagger.annotations.ApiModel; |
10 | import io.swagger.annotations.ApiModelProperty; | 8 | import io.swagger.annotations.ApiModelProperty; |
11 | import lombok.Data; | 9 | import lombok.Data; |
12 | import lombok.EqualsAndHashCode; | 10 | import lombok.EqualsAndHashCode; |
13 | import lombok.experimental.Accessors; | 11 | import lombok.experimental.Accessors; |
14 | import org.jeecgframework.poi.excel.annotation.Excel; | 12 | import org.jeecgframework.poi.excel.annotation.Excel; |
15 | import org.springframework.format.annotation.DateTimeFormat; | ||
16 | 13 | ||
17 | import java.util.List; | 14 | import java.util.List; |
18 | 15 | ||
... | @@ -29,72 +26,51 @@ public class SysAlgorithmLibrary { | ... | @@ -29,72 +26,51 @@ public class SysAlgorithmLibrary { |
29 | /**主键*/ | 26 | /**主键*/ |
30 | @TableId(type = IdType.ID_WORKER_STR) | 27 | @TableId(type = IdType.ID_WORKER_STR) |
31 | @ApiModelProperty(value = "主键") | 28 | @ApiModelProperty(value = "主键") |
32 | private java.lang.String id; | 29 | private String id; |
33 | /**厂站id*/ | 30 | /**厂站id*/ |
34 | @Excel(name = "厂站id", width = 15) | 31 | @Excel(name = "厂站id", width = 15) |
35 | @ApiModelProperty(value = "厂站id") | 32 | @ApiModelProperty(value = "厂站id") |
36 | private java.lang.String departId; | 33 | private String departId; |
37 | /**算法名称*/ | 34 | /**算法名称*/ |
38 | @Excel(name = "算法名称", width = 15) | 35 | @Excel(name = "算法名称", width = 15) |
39 | @ApiModelProperty(value = "算法名称") | 36 | @ApiModelProperty(value = "算法名称") |
40 | private java.lang.String algorithmName; | 37 | private String algorithmName; |
41 | /**算法编码*/ | 38 | /**算法编码*/ |
42 | @Excel(name = "算法编码", width = 15) | 39 | @Excel(name = "算法编码", width = 15) |
43 | @ApiModelProperty(value = "算法编码") | 40 | @ApiModelProperty(value = "算法编码") |
44 | private java.lang.String algorithmCode; | 41 | private String algorithmCode; |
45 | /**算法描述*/ | 42 | /**算法描述*/ |
46 | @Excel(name = "算法描述", width = 15) | 43 | @Excel(name = "算法描述", width = 15) |
47 | @ApiModelProperty(value = "算法描述") | 44 | @ApiModelProperty(value = "算法描述") |
48 | private java.lang.String algorithmDesc; | 45 | private String algorithmDesc; |
49 | /**算法公式*/ | 46 | /**算法公式*/ |
50 | @Excel(name = "算法公式", width = 15) | 47 | @Excel(name = "算法公式", width = 15) |
51 | @ApiModelProperty(value = "算法公式") | 48 | @ApiModelProperty(value = "算法公式") |
52 | private java.lang.String algorithmFormula; | 49 | private String algorithmFormula; |
53 | /**算法公式*/ | 50 | /**算法公式*/ |
54 | @Excel(name = "算法公式说明", width = 15) | 51 | @Excel(name = "算法公式说明", width = 15) |
55 | @ApiModelProperty(value = "算法公式说明") | 52 | @ApiModelProperty(value = "算法公式说明") |
56 | private java.lang.String algorithmFormulaName; | 53 | private String algorithmFormulaName; |
57 | /**算法级别*/ | 54 | /**算法级别*/ |
58 | @Excel(name = "算法级别", width = 15) | 55 | @Excel(name = "算法级别", width = 15) |
59 | @ApiModelProperty(value = "算法级别") | 56 | @ApiModelProperty(value = "算法级别") |
60 | private java.lang.String algorithmLevel; | 57 | private String algorithmLevel; |
61 | /**计算方式1求和4平均*/ | 58 | /**计算方式1求和4平均*/ |
62 | @Excel(name = "计算方式1求和4平均", width = 15) | 59 | @Excel(name = "计算方式1求和4平均", width = 15) |
63 | @ApiModelProperty(value = "计算方式1求和4平均") | 60 | @ApiModelProperty(value = "计算方式1求和4平均") |
64 | private java.lang.String calculationType; | 61 | private String calculationType; |
65 | /**单位*/ | 62 | /**单位*/ |
66 | @Excel(name = "单位", width = 15) | 63 | @Excel(name = "单位", width = 15) |
67 | @ApiModelProperty(value = "单位") | 64 | @ApiModelProperty(value = "单位") |
68 | private java.lang.String unit; | 65 | private String unit; |
69 | /**小数保留位数*/ | 66 | /**小数保留位数*/ |
70 | @Excel(name = "小数保留位数", width = 15) | 67 | @Excel(name = "小数保留位数", width = 15) |
71 | @ApiModelProperty(value = "小数保留位数") | 68 | @ApiModelProperty(value = "小数保留位数") |
72 | private java.lang.String scale; | 69 | private String scale; |
73 | /**系统内置标记*/ | 70 | /**系统内置标记*/ |
74 | @Excel(name = "系统内置标记", width = 15) | 71 | @Excel(name = "系统内置标记", width = 15) |
75 | @ApiModelProperty(value = "系统内置标记【1系统/0项目】") | 72 | @ApiModelProperty(value = "系统内置标记【1系统/0项目】") |
76 | private java.lang.String systemTag; | 73 | private String systemTag; |
77 | |||
78 | //@Excel(name = "创建人Id", width = 15) | ||
79 | @ApiModelProperty(value = "创建人Id") | ||
80 | private java.lang.String createBy; | ||
81 | /**创建时间*/ | ||
82 | //@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") | ||
83 | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") | ||
84 | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") | ||
85 | @ApiModelProperty(value = "创建时间") | ||
86 | private java.util.Date createTime; | ||
87 | /**修改人Id*/ | ||
88 | //@Excel(name = "修改人Id", width = 15) | ||
89 | @ApiModelProperty(value = "修改人Id") | ||
90 | private java.lang.String updateBy; | ||
91 | /**修改时间*/ | ||
92 | //@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") | ||
93 | @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") | ||
94 | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") | ||
95 | @ApiModelProperty(value = "修改时间") | ||
96 | private java.util.Date updateTime; | ||
97 | |||
98 | /**计算项配置*/ | 74 | /**计算项配置*/ |
99 | @Excel(name = "计算项配置", width = 15) | 75 | @Excel(name = "计算项配置", width = 15) |
100 | @ApiModelProperty(value = "计算项配置") | 76 | @ApiModelProperty(value = "计算项配置") | ... | ... |
... | @@ -24,58 +24,58 @@ public class SysAlgorithmStatisticsLibrary { | ... | @@ -24,58 +24,58 @@ public class SysAlgorithmStatisticsLibrary { |
24 | /**主键*/ | 24 | /**主键*/ |
25 | @TableId(type = IdType.ID_WORKER_STR) | 25 | @TableId(type = IdType.ID_WORKER_STR) |
26 | @ApiModelProperty(value = "主键") | 26 | @ApiModelProperty(value = "主键") |
27 | private java.lang.String id; | 27 | private String id; |
28 | /**统计编码*/ | 28 | /**统计编码*/ |
29 | @Excel(name = "统计编码", width = 15) | 29 | @Excel(name = "统计编码", width = 15) |
30 | @ApiModelProperty(value = "统计编码") | 30 | @ApiModelProperty(value = "统计编码") |
31 | private java.lang.String statisticsCode; | 31 | private String statisticsCode; |
32 | /**统计名称*/ | 32 | /**统计名称*/ |
33 | @Excel(name = "统计名称", width = 15) | 33 | @Excel(name = "统计名称", width = 15) |
34 | @ApiModelProperty(value = "统计名称") | 34 | @ApiModelProperty(value = "统计名称") |
35 | private java.lang.String statisticsName; | 35 | private String statisticsName; |
36 | /**统计类型0数字、1统计图、2数字列表*/ | 36 | /**统计类型0数字、1统计图、2数字列表*/ |
37 | @Excel(name = "统计类型0数字、1统计图、2数字列表", width = 15) | 37 | @Excel(name = "统计类型0数字、1统计图、2数字列表", width = 15) |
38 | @ApiModelProperty(value = "统计类型0数字、1统计图、2数字列表") | 38 | @ApiModelProperty(value = "统计类型0数字、1统计图、2数字列表") |
39 | @Dict(dicCode = "cheAlasType") | 39 | @Dict(dicCode = "cheAlasType") |
40 | private java.lang.String statisticsType; | 40 | private String statisticsType; |
41 | /**同比0不启用、1启用*/ | 41 | /**同比0不启用、1启用*/ |
42 | @Excel(name = "同比0不启用、1启用", width = 15) | 42 | @Excel(name = "同比0不启用、1启用", width = 15) |
43 | @ApiModelProperty(value = "同比0不启用、1启用") | 43 | @ApiModelProperty(value = "同比0不启用、1启用") |
44 | private java.lang.String statisticsTb; | 44 | private String statisticsTb; |
45 | /**环比0不启用、1启用*/ | 45 | /**环比0不启用、1启用*/ |
46 | @Excel(name = "环比0不启用、1启用", width = 15) | 46 | @Excel(name = "环比0不启用、1启用", width = 15) |
47 | @ApiModelProperty(value = "环比0不启用、1启用") | 47 | @ApiModelProperty(value = "环比0不启用、1启用") |
48 | private java.lang.String statisticsHb; | 48 | private String statisticsHb; |
49 | /**上期0不启用、1启用*/ | 49 | /**上期0不启用、1启用*/ |
50 | @Excel(name = "上期0不启用、1启用", width = 15) | 50 | @Excel(name = "上期0不启用、1启用", width = 15) |
51 | @ApiModelProperty(value = "上期0不启用、1启用") | 51 | @ApiModelProperty(value = "上期0不启用、1启用") |
52 | private java.lang.String statisticsPre; | 52 | private String statisticsPre; |
53 | /**公式id*/ | 53 | /**公式id*/ |
54 | @Excel(name = "公式id", width = 15) | 54 | @Excel(name = "公式id", width = 15) |
55 | @ApiModelProperty(value = "公式id") | 55 | @ApiModelProperty(value = "公式id") |
56 | private java.lang.String algorithmId; | 56 | private String algorithmId; |
57 | /**统计粒度day、month、year*/ | 57 | /**统计粒度day、month、year*/ |
58 | @Excel(name = "统计粒度day、month、year", width = 15) | 58 | @Excel(name = "统计粒度day、month、year", width = 15) |
59 | @ApiModelProperty(value = "统计粒度day、month、year") | 59 | @ApiModelProperty(value = "统计粒度day、month、year") |
60 | private java.lang.String statisticsGranularity; | 60 | private String statisticsGranularity; |
61 | /**分组字段factory、time*/ | 61 | /**分组字段factory、time*/ |
62 | @Excel(name = "分组字段factory、time", width = 15) | 62 | @Excel(name = "分组字段factory、time", width = 15) |
63 | @ApiModelProperty(value = "分组字段factory、time") | 63 | @ApiModelProperty(value = "分组字段factory、time") |
64 | private java.lang.String groupField; | 64 | private String groupField; |
65 | /**自定义逻辑类*/ | 65 | /**自定义逻辑类*/ |
66 | @Excel(name = "自定义逻辑类", width = 15) | 66 | @Excel(name = "自定义逻辑类", width = 15) |
67 | @ApiModelProperty(value = "自定义逻辑类") | 67 | @ApiModelProperty(value = "自定义逻辑类") |
68 | private java.lang.String customService; | 68 | private String customService; |
69 | /**数据类型(0:日表和填报,1:小时表,2:实时表)*/ | 69 | /**数据类型(0:日表和填报,1:小时表,2:实时表)*/ |
70 | @Excel(name = "数据类型(0:日表和填报,1:小时表,2:实时表)", width = 15) | 70 | @Excel(name = "数据类型(0:日表和填报,1:小时表,2:实时表)", width = 15) |
71 | @ApiModelProperty(value = "数据类型(0:日表和填报,1:小时表,2:实时表)") | 71 | @ApiModelProperty(value = "数据类型(0:日表和填报,1:小时表,2:实时表)") |
72 | private java.lang.String dataType; | 72 | private String dataType; |
73 | /**机构类型*/ | 73 | /**机构类型*/ |
74 | @Excel(name = "机构类型", width = 15) | 74 | @Excel(name = "机构类型", width = 15) |
75 | @ApiModelProperty(value = "机构类型") | 75 | @ApiModelProperty(value = "机构类型") |
76 | private java.lang.String departType; | 76 | private String departType; |
77 | /**是否查询子机构(0:不是,1:是)*/ | 77 | /**是否查询子机构(0:不是,1:是)*/ |
78 | @Excel(name = "是否查询子机构(0:不是,1:是)", width = 15) | 78 | @Excel(name = "是否查询子机构(0:不是,1:是)", width = 15) |
79 | @ApiModelProperty(value = "是否查询子机构(0:不是,1:是)") | 79 | @ApiModelProperty(value = "是否查询子机构(0:不是,1:是)") |
80 | private java.lang.String isChildDepart; | 80 | private String isChildDepart; |
81 | } | 81 | } | ... | ... |
... | @@ -26,21 +26,21 @@ public class SysDataCalculationParam { | ... | @@ -26,21 +26,21 @@ public class SysDataCalculationParam { |
26 | /**主键*/ | 26 | /**主键*/ |
27 | @TableId(type = IdType.ID_WORKER_STR) | 27 | @TableId(type = IdType.ID_WORKER_STR) |
28 | @ApiModelProperty(value = "主键") | 28 | @ApiModelProperty(value = "主键") |
29 | private java.lang.String id; | 29 | private String id; |
30 | /**标签*/ | 30 | /**标签*/ |
31 | @Excel(name = "标签", width = 15) | 31 | @Excel(name = "标签", width = 15) |
32 | @ApiModelProperty(value = "标签") | 32 | @ApiModelProperty(value = "标签") |
33 | private java.lang.String metricTag; | 33 | private String metricTag; |
34 | /**计算类型(1:求和;4:平均)*/ | 34 | /**计算类型(1:求和;4:平均)*/ |
35 | @Excel(name = "计算类型(1:求和;4:平均)", width = 15) | 35 | @Excel(name = "计算类型(1:求和;4:平均)", width = 15) |
36 | @ApiModelProperty(value = "计算类型(1:求和;4:平均)") | 36 | @ApiModelProperty(value = "计算类型(1:求和;4:平均)") |
37 | private java.lang.String calculationType; | 37 | private String calculationType; |
38 | /**时间粒度*/ | 38 | /**时间粒度*/ |
39 | @Excel(name = "时间粒度", width = 15) | 39 | @Excel(name = "时间粒度", width = 15) |
40 | @ApiModelProperty(value = "时间粒度") | 40 | @ApiModelProperty(value = "时间粒度") |
41 | private java.lang.String timePeriod; | 41 | private String timePeriod; |
42 | /**单位*/ | 42 | /**单位*/ |
43 | @Excel(name = "单位", width = 15) | 43 | @Excel(name = "单位", width = 15) |
44 | @ApiModelProperty(value = "单位") | 44 | @ApiModelProperty(value = "单位") |
45 | private java.lang.String unit; | 45 | private String unit; |
46 | } | 46 | } | ... | ... |
... | @@ -5,5 +5,17 @@ import java.util.Map; | ... | @@ -5,5 +5,17 @@ import java.util.Map; |
5 | 5 | ||
6 | public interface IAlarmLimitCustomService { | 6 | public interface IAlarmLimitCustomService { |
7 | 7 | ||
8 | |||
9 | /** | ||
10 | * <pre> | ||
11 | * <请输入描述信息> 指标值报警预警上下限信息 | ||
12 | * </pre> | ||
13 | * @param departIds 厂站ids | ||
14 | * @param | ||
15 | * @author Gao Ran, | ||
16 | * @Description: stringIntegerMap key->factoryId+_+code val->报警上下限值 | ||
17 | */ | ||
18 | |||
8 | Map<String, Map<String,Double>> getAlarmLimitData(String departIds); | 19 | Map<String, Map<String,Double>> getAlarmLimitData(String departIds); |
20 | |||
9 | } | 21 | } | ... | ... |
1 | package com.skua.modules.algorithm.handle.impl; | 1 | package com.skua.modules.algorithm.handle.impl; |
2 | 2 | ||
3 | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | 3 | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
4 | import com.skua.core.util.ConvertUtils; | ||
4 | import com.skua.core.util.DateUtils; | 5 | import com.skua.core.util.DateUtils; |
5 | import com.skua.modules.algorithm.entity.InterfaceData; | 6 | import com.skua.modules.algorithm.entity.InterfaceData; |
6 | import com.skua.modules.algorithm.handle.IInterfaceDataCustomService; | 7 | import com.skua.modules.algorithm.handle.IInterfaceDataCustomService; |
... | @@ -40,7 +41,7 @@ public class DesignScaleInterfaceDataServiceImpl implements IInterfaceDataCustom | ... | @@ -40,7 +41,7 @@ public class DesignScaleInterfaceDataServiceImpl implements IInterfaceDataCustom |
40 | interfaceData = new InterfaceData(); | 41 | interfaceData = new InterfaceData(); |
41 | interfaceData.setDepartId(sysFactoryInfo.getDepartId()); | 42 | interfaceData.setDepartId(sysFactoryInfo.getDepartId()); |
42 | interfaceData.setDataTime(day); | 43 | interfaceData.setDataTime(day); |
43 | interfaceData.setDataVal(Double.parseDouble(sysFactoryInfo.getProScale())); | 44 | interfaceData.setDataVal(ConvertUtils.getDouble(sysFactoryInfo.getProScale(),0)); |
44 | interfaceDataList.add(interfaceData); | 45 | interfaceDataList.add(interfaceData); |
45 | } | 46 | } |
46 | } | 47 | } | ... | ... |
1 | package com.skua.modules.algorithm.handle.impl; | ||
2 | |||
3 | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | ||
4 | import com.skua.core.util.DateUtils; | ||
5 | import com.skua.modules.algorithm.entity.InterfaceData; | ||
6 | import com.skua.modules.algorithm.handle.IInterfaceDataCustomService; | ||
7 | import com.skua.modules.system.entity.SysFactoryInfo; | ||
8 | import com.skua.modules.system.service.ISysFactoryInfoService; | ||
9 | import org.springframework.beans.factory.annotation.Autowired; | ||
10 | import org.springframework.stereotype.Component; | ||
11 | |||
12 | import java.util.ArrayList; | ||
13 | import java.util.List; | ||
14 | |||
15 | /** | ||
16 | * <pre> | ||
17 | * 获取稳定运行天数,算法:水厂档案投产运营时间到当前时间 | ||
18 | * </pre> | ||
19 | * @author Li Yuanyuan | ||
20 | * @version V1.0, 2024年12月20日 下午1:55:44 | ||
21 | */ | ||
22 | @Component("safeOperationInterfaceDataServiceImpl") | ||
23 | public class SafeOperationInterfaceDataServiceImpl implements IInterfaceDataCustomService { | ||
24 | |||
25 | @Autowired | ||
26 | private ISysFactoryInfoService sysFactoryInfoService; | ||
27 | |||
28 | @Override | ||
29 | public List<InterfaceData> getInterfaceDataList(String departIds, String startDate, String endDate) { | ||
30 | List<InterfaceData> interfaceDataList = new ArrayList<>(); | ||
31 | QueryWrapper<SysFactoryInfo> sysFactoryInfoQueryWrapper = new QueryWrapper<>(); | ||
32 | sysFactoryInfoQueryWrapper.select("built_time","depart_id"); | ||
33 | sysFactoryInfoQueryWrapper.in("depart_id",departIds.split(",")); | ||
34 | List<SysFactoryInfo> sysFactoryInfoList = sysFactoryInfoService.list(sysFactoryInfoQueryWrapper); | ||
35 | List<String> dayList = DateUtils.sliceUpDateRange(startDate, endDate, "month"); | ||
36 | InterfaceData interfaceData; | ||
37 | for (SysFactoryInfo sysFactoryInfo : sysFactoryInfoList) { | ||
38 | for (String day : dayList) { | ||
39 | interfaceData = new InterfaceData(); | ||
40 | interfaceData.setDepartId(sysFactoryInfo.getDepartId()); | ||
41 | interfaceData.setDataTime(day); | ||
42 | interfaceData.setDataVal(Double.valueOf(DateUtils.dayDiff(sysFactoryInfo.getBuiltTime(), DateUtils.now()))); | ||
43 | interfaceDataList.add(interfaceData); | ||
44 | } | ||
45 | } | ||
46 | return interfaceDataList; | ||
47 | } | ||
48 | } |
... | @@ -13,8 +13,7 @@ import java.util.Map; | ... | @@ -13,8 +13,7 @@ import java.util.Map; |
13 | */ | 13 | */ |
14 | public interface SysAlgorithmLibraryMapper extends BaseMapper<SysAlgorithmLibrary> { | 14 | public interface SysAlgorithmLibraryMapper extends BaseMapper<SysAlgorithmLibrary> { |
15 | 15 | ||
16 | @Select("SELECT group_concat(id) id FROM sys_depart,(select getDepartTree (#{departId}) departIds) t WHERE FIND_IN_SET(id,departIds) and depart_type = #{departType} " + | 16 | |
17 | " and del_flag='0' order by depart_order") | ||
18 | Map<String,Object> getChildDepartIds(@Param(value = "departId")String departId, @Param(value = "departType")String departType); | 17 | Map<String,Object> getChildDepartIds(@Param(value = "departId")String departId, @Param(value = "departType")String departType); |
19 | 18 | ||
20 | @Select("select a.time as data_time,a.depart_id,${dataFillCodes} from ${tablename} a") | 19 | @Select("select a.time as data_time,a.depart_id,${dataFillCodes} from ${tablename} a") | ... | ... |
... | @@ -2,4 +2,13 @@ | ... | @@ -2,4 +2,13 @@ |
2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | 2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
3 | <mapper namespace="com.skua.modules.algorithm.mapper.SysAlgorithmLibraryMapper"> | 3 | <mapper namespace="com.skua.modules.algorithm.mapper.SysAlgorithmLibraryMapper"> |
4 | 4 | ||
5 | <select id="getChildDepartIds" resultType="java.util.Map"> | ||
6 | SELECT group_concat(id) id FROM sys_depart, | ||
7 | (SELECT getDepartTree(#{departId}) departIds)t | ||
8 | WHERE FIND_IN_SET(id, departIds) | ||
9 | <if test='departType != null'> | ||
10 | AND depart_type IN (${departType}) | ||
11 | </if> | ||
12 | AND del_flag = '0' ORDER BY depart_order | ||
13 | </select> | ||
5 | </mapper> | 14 | </mapper> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -38,7 +38,19 @@ public class CalculationServiceImpl implements ICalculationService { | ... | @@ -38,7 +38,19 @@ public class CalculationServiceImpl implements ICalculationService { |
38 | System.out.println("***************计算逻辑开始***************"); | 38 | System.out.println("***************计算逻辑开始***************"); |
39 | try { | 39 | try { |
40 | List<String> dateList = DateUtils.sliceUpDateRange(startDate, endEnd, "month"); | 40 | List<String> dateList = DateUtils.sliceUpDateRange(startDate, endEnd, "month"); |
41 | List<SysDataCalculationParam> sysDataCalculationParamList = sysDataCalculationParamService.list(); | 41 | QueryWrapper<SysDataCalculationParam> qw = new QueryWrapper<SysDataCalculationParam>(); |
42 | //List<String> tagList = new ArrayList<String>(); | ||
43 | //tagList.add("PAC1HHNCTJLLLJ");tagList.add("PAC2HHNCTJLLLJ");tagList.add("PAC1CDCTJLLLJ");tagList.add("PAC2CDCTJLLLJ"); | ||
44 | //tagList.add("PAC3CDCTJLLLJ"); | ||
45 | |||
46 | //tagList.add("XTJSLJLL1"); | ||
47 | //tagList.add("XTJSLJLL2"); | ||
48 | |||
49 | //tagList.add("YSN1TJLJLL");tagList.add("YSN2TJLJLL");tagList.add("YSN3TJLJLL");tagList.add("YSN4TJLJLL"); | ||
50 | //tagList.add("YSN5TJLJLL");tagList.add("YSN6TJLJLL");tagList.add("YSN7TJLJLL");tagList.add("YSN8TJLJLL"); | ||
51 | //tagList.add("YSN9TJLJLL");tagList.add("YSN10TJLJLL"); | ||
52 | //qw.in("metric_tag", tagList); | ||
53 | List<SysDataCalculationParam> sysDataCalculationParamList = sysDataCalculationParamService.list(qw); | ||
42 | //删除符合条件的历史数据 | 54 | //删除符合条件的历史数据 |
43 | for (SysDataCalculationParam sysDataCalculationParam : sysDataCalculationParamList) { | 55 | for (SysDataCalculationParam sysDataCalculationParam : sysDataCalculationParamList) { |
44 | UpdateWrapper<SysDataCalculation> sysDataCalculationUpdateWrapper = new UpdateWrapper<>(); | 56 | UpdateWrapper<SysDataCalculation> sysDataCalculationUpdateWrapper = new UpdateWrapper<>(); |
... | @@ -57,13 +69,13 @@ public class CalculationServiceImpl implements ICalculationService { | ... | @@ -57,13 +69,13 @@ public class CalculationServiceImpl implements ICalculationService { |
57 | String unit = sysDataCalculationParam.getUnit(); | 69 | String unit = sysDataCalculationParam.getUnit(); |
58 | //根据字典获取真实指标编码 | 70 | //根据字典获取真实指标编码 |
59 | QueryWrapper<SysMonitorMetricInfo> sysMonitorMetricInfoQueryWrapper = new QueryWrapper<>(); | 71 | QueryWrapper<SysMonitorMetricInfo> sysMonitorMetricInfoQueryWrapper = new QueryWrapper<>(); |
60 | sysMonitorMetricInfoQueryWrapper.select("id", "fac_code"); | 72 | sysMonitorMetricInfoQueryWrapper.select("id", "depart_id"); |
61 | sysMonitorMetricInfoQueryWrapper.eq("metric_uid_tag", metricTag); | 73 | sysMonitorMetricInfoQueryWrapper.eq("metric_uid_tag", metricTag); |
62 | List<Map<String, Object>> metricInfoList = sysMonitorMetricInfoService.listMaps(sysMonitorMetricInfoQueryWrapper); | 74 | List<Map<String, Object>> metricInfoList = sysMonitorMetricInfoService.listMaps(sysMonitorMetricInfoQueryWrapper); |
63 | SysDataCalculation sysDataCalculation; | 75 | SysDataCalculation sysDataCalculation; |
64 | for (Map<String, Object> map : metricInfoList) { | 76 | for (Map<String, Object> map : metricInfoList) { |
65 | String id = ConvertUtils.getString(map.get("id")); | 77 | String id = ConvertUtils.getString(map.get("id")); |
66 | String departId = ConvertUtils.getString(map.get("fac_code")); | 78 | String departId = ConvertUtils.getString(map.get("depart_id")); |
67 | //获取小时数据,按要求计算 | 79 | //获取小时数据,按要求计算 |
68 | List<Map<String, Object>> dataList; | 80 | List<Map<String, Object>> dataList; |
69 | try { | 81 | try { | ... | ... |
此文件的差异被折叠,
点击展开。
此文件的差异被折叠,
点击展开。
... | @@ -18,30 +18,30 @@ public class SysAlgorithmLibraryVO { | ... | @@ -18,30 +18,30 @@ public class SysAlgorithmLibraryVO { |
18 | /**厂站id*/ | 18 | /**厂站id*/ |
19 | @Excel(name = "厂站id", width = 15) | 19 | @Excel(name = "厂站id", width = 15) |
20 | @ApiModelProperty(value = "厂站id") | 20 | @ApiModelProperty(value = "厂站id") |
21 | private java.lang.String departId; | 21 | private String departId; |
22 | /**算法名称*/ | 22 | /**算法名称*/ |
23 | @Excel(name = "算法名称", width = 15) | 23 | @Excel(name = "算法名称", width = 15) |
24 | @ApiModelProperty(value = "算法名称") | 24 | @ApiModelProperty(value = "算法名称") |
25 | private java.lang.String algorithmName; | 25 | private String algorithmName; |
26 | /**算法编码*/ | 26 | /**算法编码*/ |
27 | @Excel(name = "算法编码", width = 15) | 27 | @Excel(name = "算法编码", width = 15) |
28 | @ApiModelProperty(value = "算法编码") | 28 | @ApiModelProperty(value = "算法编码") |
29 | private java.lang.String algorithmCode; | 29 | private String algorithmCode; |
30 | /**算法计算结果*/ | 30 | /**算法计算结果*/ |
31 | @ApiModelProperty(value = "算法计算结果") | 31 | @ApiModelProperty(value = "算法计算结果") |
32 | private Map<String, List<Map<String, Object>>> map = new HashMap<String, List<Map<String, Object>>>(); | 32 | private Map<String, List<Map<String, Object>>> map = new HashMap<String, List<Map<String, Object>>>(); |
33 | /**开始时间*/ | 33 | /**开始时间*/ |
34 | @Excel(name = "开始时间", width = 15) | 34 | @Excel(name = "开始时间", width = 15) |
35 | @ApiModelProperty(value = "开始时间") | 35 | @ApiModelProperty(value = "开始时间") |
36 | private java.lang.String startDate; | 36 | private String startDate; |
37 | @Excel(name = "结束时间", width = 15) | 37 | @Excel(name = "结束时间", width = 15) |
38 | @ApiModelProperty(value = "结束时间") | 38 | @ApiModelProperty(value = "结束时间") |
39 | private java.lang.String endDate; | 39 | private String endDate; |
40 | @Excel(name = "时间粒度", width = 15) | 40 | @Excel(name = "时间粒度", width = 15) |
41 | @ApiModelProperty(value = "聚合时间粒度,day天、month月") | 41 | @ApiModelProperty(value = "聚合时间粒度,day天、month月") |
42 | private java.lang.String timePeriod; | 42 | private String timePeriod; |
43 | /**系统内置标记*/ | 43 | /**系统内置标记*/ |
44 | @Excel(name = "系统内置标记", width = 15) | 44 | @Excel(name = "系统内置标记", width = 15) |
45 | @ApiModelProperty(value = "系统内置标记【0系统/1项目】") | 45 | @ApiModelProperty(value = "系统内置标记【0系统/1项目】") |
46 | private java.lang.String systemTag; | 46 | private String systemTag; |
47 | } | 47 | } | ... | ... |
... | @@ -17,54 +17,54 @@ public class SysAlgorithmStatisticsLibraryVO { | ... | @@ -17,54 +17,54 @@ public class SysAlgorithmStatisticsLibraryVO { |
17 | /**主键*/ | 17 | /**主键*/ |
18 | @TableId(type = IdType.UUID) | 18 | @TableId(type = IdType.UUID) |
19 | @ApiModelProperty(value = "主键") | 19 | @ApiModelProperty(value = "主键") |
20 | private java.lang.String id; | 20 | private String id; |
21 | /**统计编码*/ | 21 | /**统计编码*/ |
22 | @Excel(name = "统计编码", width = 15) | 22 | @Excel(name = "统计编码", width = 15) |
23 | @ApiModelProperty(value = "统计编码") | 23 | @ApiModelProperty(value = "统计编码") |
24 | private java.lang.String statisticsCode; | 24 | private String statisticsCode; |
25 | /**统计名称*/ | 25 | /**统计名称*/ |
26 | @Excel(name = "统计名称", width = 15) | 26 | @Excel(name = "统计名称", width = 15) |
27 | @ApiModelProperty(value = "统计名称") | 27 | @ApiModelProperty(value = "统计名称") |
28 | private java.lang.String statisticsName; | 28 | private String statisticsName; |
29 | /**公式id*/ | 29 | /**公式id*/ |
30 | @Excel(name = "公式id", width = 15) | 30 | @Excel(name = "公式id", width = 15) |
31 | @ApiModelProperty(value = "公式id") | 31 | @ApiModelProperty(value = "公式id") |
32 | private java.lang.String algorithmId; | 32 | private String algorithmId; |
33 | /**统计粒度day、month、year*/ | 33 | /**统计粒度day、month、year*/ |
34 | @Excel(name = "统计粒度day、month、year", width = 15) | 34 | @Excel(name = "统计粒度day、month、year", width = 15) |
35 | @ApiModelProperty(value = "统计粒度day、month、year") | 35 | @ApiModelProperty(value = "统计粒度day、month、year") |
36 | private java.lang.String statisticsGranularity; | 36 | private String statisticsGranularity; |
37 | /**计算方式1求和4平均*/ | 37 | /**计算方式1求和4平均*/ |
38 | @Excel(name = "计算方式1求和4平均", width = 15) | 38 | @Excel(name = "计算方式1求和4平均", width = 15) |
39 | @ApiModelProperty(value = "计算方式1求和4平均") | 39 | @ApiModelProperty(value = "计算方式1求和4平均") |
40 | private java.lang.String calculationType; | 40 | private String calculationType; |
41 | /**分组字段factory、time*/ | 41 | /**分组字段factory、time*/ |
42 | @Excel(name = "分组字段factory、time", width = 15) | 42 | @Excel(name = "分组字段factory、time", width = 15) |
43 | @ApiModelProperty(value = "分组字段factory、time") | 43 | @ApiModelProperty(value = "分组字段factory、time") |
44 | private java.lang.String groupField; | 44 | private String groupField; |
45 | /**自定义逻辑类*/ | 45 | /**自定义逻辑类*/ |
46 | @Excel(name = "自定义逻辑类", width = 15) | 46 | @Excel(name = "自定义逻辑类", width = 15) |
47 | @ApiModelProperty(value = "自定义逻辑类") | 47 | @ApiModelProperty(value = "自定义逻辑类") |
48 | private java.lang.String customService; | 48 | private String customService; |
49 | /**开始时间*/ | 49 | /**开始时间*/ |
50 | @Excel(name = "开始时间", width = 15) | 50 | @Excel(name = "开始时间", width = 15) |
51 | @ApiModelProperty(value = "开始时间") | 51 | @ApiModelProperty(value = "开始时间") |
52 | private java.lang.String startDate; | 52 | private String startDate; |
53 | @Excel(name = "结束时间", width = 15) | 53 | @Excel(name = "结束时间", width = 15) |
54 | @ApiModelProperty(value = "结束时间") | 54 | @ApiModelProperty(value = "结束时间") |
55 | private java.lang.String endDate; | 55 | private String endDate; |
56 | @ApiModelProperty(value = "厂站id") | 56 | @ApiModelProperty(value = "厂站id") |
57 | private java.lang.String departIds; | 57 | private String departIds; |
58 | @ApiModelProperty(value = "类型0数据型,1图表型") | 58 | @ApiModelProperty(value = "类型0数据型,1图表型") |
59 | private java.lang.String statisticsType; | 59 | private String statisticsType; |
60 | /**机构类型*/ | 60 | /**机构类型*/ |
61 | @Excel(name = "机构类型", width = 15) | 61 | @Excel(name = "机构类型", width = 15) |
62 | @ApiModelProperty(value = "机构类型") | 62 | @ApiModelProperty(value = "机构类型") |
63 | private java.lang.String departType; | 63 | private String departType; |
64 | /**是否查询子机构(0:不是,1:是)*/ | 64 | /**是否查询子机构(0:不是,1:是)*/ |
65 | @Excel(name = "是否查询子机构(0:不是,1:是)", width = 15) | 65 | @Excel(name = "是否查询子机构(0:不是,1:是)", width = 15) |
66 | @ApiModelProperty(value = "是否查询子机构(0:不是,1:是)") | 66 | @ApiModelProperty(value = "是否查询子机构(0:不是,1:是)") |
67 | private java.lang.String isChildDepart; | 67 | private String isChildDepart; |
68 | 68 | ||
69 | /**报表选项code*/ | 69 | /**报表选项code*/ |
70 | @ApiModelProperty(value = "报表Itme选项code") | 70 | @ApiModelProperty(value = "报表Itme选项code") |
... | @@ -75,5 +75,4 @@ public class SysAlgorithmStatisticsLibraryVO { | ... | @@ -75,5 +75,4 @@ public class SysAlgorithmStatisticsLibraryVO { |
75 | 75 | ||
76 | @ApiModelProperty(value = "负载率类型") | 76 | @ApiModelProperty(value = "负载率类型") |
77 | private Integer loadRateType; | 77 | private Integer loadRateType; |
78 | |||
79 | } | 78 | } | ... | ... |
1 | package com.skua.modules.algorithm.service.impl; | 1 | package com.skua.modules.dataAnalysis.service.impl; |
2 | 2 | ||
3 | import com.skua.common.constant.ReportConstant; | 3 | import com.skua.common.constant.ReportConstant; |
4 | import com.skua.common.report.ReportViewUtil; | 4 | import com.skua.common.report.ReportViewUtil; |
5 | import com.skua.core.context.SpringContextUtils; | 5 | import com.skua.core.context.SpringContextUtils; |
6 | import com.skua.core.util.ConvertUtils; | 6 | import com.skua.core.util.ConvertUtils; |
7 | import com.skua.modules.algorithm.service.ICommandCentreService; | 7 | import com.skua.modules.dataAnalysis.service.ICommandCentreService; |
8 | import com.skua.modules.algorithm.vo.WaterTreatmentVO; | 8 | import com.skua.modules.algorithm.vo.WaterTreatmentVO; |
9 | import com.skua.modules.common.vo.DateVO; | 9 | import com.skua.modules.common.vo.DateVO; |
10 | import com.skua.modules.quartz.util.BaseUtil; | 10 | import com.skua.modules.quartz.util.BaseUtil; | ... | ... |
1 | package com.skua.modules.safe.entity; | 1 | package com.skua.modules.safe.entity; |
2 | 2 | ||
3 | import java.io.Serializable; | ||
4 | import java.util.Date; | 3 | import java.util.Date; |
5 | import com.baomidou.mybatisplus.annotation.IdType; | 4 | import com.baomidou.mybatisplus.annotation.IdType; |
6 | import com.baomidou.mybatisplus.annotation.TableId; | 5 | import com.baomidou.mybatisplus.annotation.TableId; |
7 | import com.baomidou.mybatisplus.annotation.TableName; | 6 | import com.baomidou.mybatisplus.annotation.TableName; |
8 | import com.baomidou.mybatisplus.annotation.TableField; | ||
9 | import com.skua.core.aspect.annotation.Dict; | 7 | import com.skua.core.aspect.annotation.Dict; |
10 | import io.swagger.annotations.ApiModel; | 8 | import io.swagger.annotations.ApiModel; |
11 | import io.swagger.annotations.ApiModelProperty; | 9 | import io.swagger.annotations.ApiModelProperty; |
... | @@ -66,7 +64,9 @@ public class EnvironmentTarget { | ... | @@ -66,7 +64,9 @@ public class EnvironmentTarget { |
66 | @Excel(name = "责任指标评分", width = 15) | 64 | @Excel(name = "责任指标评分", width = 15) |
67 | @ApiModelProperty(value = "责任指标评分") | 65 | @ApiModelProperty(value = "责任指标评分") |
68 | private String liabilityScore ; | 66 | private String liabilityScore ; |
69 | 67 | /**安全环保目标责任状*/ | |
68 | @ApiModelProperty(value = "安全环保目标责任状") | ||
69 | private String targetFile; | ||
70 | /**创建人Id*/ | 70 | /**创建人Id*/ |
71 | @Excel(name = "创建人Id", width = 15) | 71 | @Excel(name = "创建人Id", width = 15) |
72 | @ApiModelProperty(value = "创建人Id") | 72 | @ApiModelProperty(value = "创建人Id") | ... | ... |
-
请 注册 或 登录 后发表评论