kangwei :采购计划,去年数量类型改为string
到货记录,添加供应商名称
正在显示
6 个修改的文件
包含
60 行增加
和
2 行删除
此文件的差异被折叠,
点击展开。
此文件的差异被折叠,
点击展开。
1 | package com.skua.modules.algorithm.vo; | ||
2 | |||
3 | import com.skua.tool.util.JSUtils; | ||
4 | import io.swagger.annotations.ApiModel; | ||
5 | import io.swagger.annotations.ApiModelProperty; | ||
6 | import lombok.Data; | ||
7 | |||
8 | @Data | ||
9 | @ApiModel(value="指挥中心:ReportItemVO", description="指挥中心:ReportItemVO详情类)") | ||
10 | public class ReportItemVO { | ||
11 | |||
12 | @ApiModelProperty(value = "厂站编号") | ||
13 | private String departId; | ||
14 | @ApiModelProperty(value = "厂站名称") | ||
15 | private String departName; | ||
16 | |||
17 | @ApiModelProperty(value = "时间") | ||
18 | private String time; | ||
19 | @ApiModelProperty(value = "label描述") | ||
20 | private String label; | ||
21 | @ApiModelProperty(value = "结果") | ||
22 | private String value; | ||
23 | @ApiModelProperty(value = "日均数据") | ||
24 | private String avgDayValue; | ||
25 | |||
26 | @ApiModelProperty(value = "同比") | ||
27 | private String valueTb; | ||
28 | @ApiModelProperty(value = "同比比例") | ||
29 | private String valueTbBl; | ||
30 | |||
31 | /* @ApiModelProperty(value = "同比差值") | ||
32 | private String valueTbDifference;*/ | ||
33 | @ApiModelProperty(value = "环比") | ||
34 | private String valueHb; | ||
35 | @ApiModelProperty(value = "环比比例") | ||
36 | private String valueHbBl; | ||
37 | |||
38 | |||
39 | @ApiModelProperty(value = "吨水产泥量") | ||
40 | private String dscnl; | ||
41 | /* @ApiModelProperty(value = "环比差值") | ||
42 | private String valueHbDifference; | ||
43 | @ApiModelProperty(value = "单位") | ||
44 | private String unit; | ||
45 | */ | ||
46 | |||
47 | public String getValueTbBl() { | ||
48 | valueTbBl = JSUtils.executeExpression("("+this.getValue() + " - " + this.getValueTb() + ") / " +this.getValueTb(),"0.00") ; | ||
49 | return valueTbBl; | ||
50 | } | ||
51 | |||
52 | public String getValueHbBl() { | ||
53 | valueHbBl = JSUtils.executeExpression("("+this.getValue() + " - " + this.getValueHb() + ") / " +this.getValueHb(),"0.00") ; | ||
54 | return valueHbBl; | ||
55 | } | ||
56 | } |
... | @@ -142,7 +142,7 @@ | ... | @@ -142,7 +142,7 @@ |
142 | FROM | 142 | FROM |
143 | report_electric_cost | 143 | report_electric_cost |
144 | WHERE | 144 | WHERE |
145 | month BETWEEN '2024-01' AND '2024-10' | 145 | month BETWEEN #{startDate} AND ${endDate} |
146 | GROUP BY month | 146 | GROUP BY month |
147 | </select> | 147 | </select> |
148 | 148 | ... | ... |
... | @@ -74,7 +74,7 @@ public class DrugConsumptionAnalusisServiceImpl implements IDrugConsumptionAnaly | ... | @@ -74,7 +74,7 @@ public class DrugConsumptionAnalusisServiceImpl implements IDrugConsumptionAnaly |
74 | 74 | ||
75 | Map<String, Object> dsyhMap = queryForMap(sql.toString());// getJdbcTemplate().queryForMap(sql.toString()); | 75 | Map<String, Object> dsyhMap = queryForMap(sql.toString());// getJdbcTemplate().queryForMap(sql.toString()); |
76 | if(dsyhMap != null ){ | 76 | if(dsyhMap != null ){ |
77 | displayVO.setLszddsyh( dsyhMap.get("dsyh")+"" ); | 77 | displayVO.setLszddsyh( ConvertUtils.getString( dsyhMap.get("dsyh"),"0") ); |
78 | displayVO.setLszddsyhyf( dsyhMap.get("time")+"" ); | 78 | displayVO.setLszddsyhyf( dsyhMap.get("time")+"" ); |
79 | } | 79 | } |
80 | 80 | ... | ... |
... | @@ -102,6 +102,8 @@ public interface ISysFactoryInfoService extends IService<SysFactoryInfo> { | ... | @@ -102,6 +102,8 @@ public interface ISysFactoryInfoService extends IService<SysFactoryInfo> { |
102 | 102 | ||
103 | List<SysFactoryInfoVO> getFactoryListByWrapper(QueryWrapper<SysFactoryInfoVO> queryWrapper); | 103 | List<SysFactoryInfoVO> getFactoryListByWrapper(QueryWrapper<SysFactoryInfoVO> queryWrapper); |
104 | 104 | ||
105 | |||
106 | |||
105 | /** | 107 | /** |
106 | * 获取总的设计规模 | 108 | * 获取总的设计规模 |
107 | * @return | 109 | * @return | ... | ... |
-
请 注册 或 登录 后发表评论