kangwei:药剂结算对接
正在显示
5 个修改的文件
包含
6 行增加
和
15 行删除
... | @@ -245,7 +245,7 @@ public class SuddenDescentAlarmJob implements Job { | ... | @@ -245,7 +245,7 @@ public class SuddenDescentAlarmJob implements Job { |
245 | /** | 245 | /** |
246 | * 判断是否需要发送短信和通知 | 246 | * 判断是否需要发送短信和通知 |
247 | * | 247 | * |
248 | * @param resultList | 248 | * @param |
249 | */ | 249 | */ |
250 | public void sendMessage(List<AlarmRuleConfigAndLevelVO> excessList) { | 250 | public void sendMessage(List<AlarmRuleConfigAndLevelVO> excessList) { |
251 | //超标报警 | 251 | //超标报警 | ... | ... |
... | @@ -206,11 +206,10 @@ public class ErpSettlementController { | ... | @@ -206,11 +206,10 @@ public class ErpSettlementController { |
206 | } | 206 | } |
207 | @AutoLog(value = "药剂结算单详情-验收审批") | 207 | @AutoLog(value = "药剂结算单详情-验收审批") |
208 | @ApiOperation(value="药剂结算单详情-验收审批", notes="药剂结算单详情-验收审批") | 208 | @ApiOperation(value="药剂结算单详情-验收审批", notes="药剂结算单详情-验收审批") |
209 | @DeleteMapping(value = "/auditAccept") | 209 | @GetMapping(value = "/auditAccept") |
210 | public Result<?> auditAccept(@RequestParam(name="id",required=true) String id) { | 210 | public Result<?> auditAccept(@RequestParam(name="id",required=true) String id) { |
211 | Result<ErpSettlementVO> result = new Result<ErpSettlementVO>(); | 211 | Result<ErpSettlementVO> result = new Result<ErpSettlementVO>(); |
212 | ErpSettlement erpSettlementEntity = erpSettlementService.getById(id); | 212 | ErpSettlement erpSettlementEntity = erpSettlementService.getById(id); |
213 | |||
214 | erpSettlementEntity.setInspectTime(DateUtils.format(new Date(), HolidaysUtils.DATE_TIME_PATTERN)); | 213 | erpSettlementEntity.setInspectTime(DateUtils.format(new Date(), HolidaysUtils.DATE_TIME_PATTERN)); |
215 | erpSettlementEntity.setInspectorSign(BaseContextHandler.getUserName()); | 214 | erpSettlementEntity.setInspectorSign(BaseContextHandler.getUserName()); |
216 | if(erpSettlementEntity==null) { | 215 | if(erpSettlementEntity==null) { |
... | @@ -226,11 +225,10 @@ public class ErpSettlementController { | ... | @@ -226,11 +225,10 @@ public class ErpSettlementController { |
226 | 225 | ||
227 | @AutoLog(value = "药剂结算单详情-经理审批") | 226 | @AutoLog(value = "药剂结算单详情-经理审批") |
228 | @ApiOperation(value="药剂结算单详情-经理审批", notes="药剂结算单详情-经理审批") | 227 | @ApiOperation(value="药剂结算单详情-经理审批", notes="药剂结算单详情-经理审批") |
229 | @DeleteMapping(value = "/auditManager") | 228 | @GetMapping(value = "/auditManager") |
230 | public Result<?> auditManager(@RequestParam(name="id",required=true) String id) { | 229 | public Result<?> auditManager(@RequestParam(name="id",required=true) String id) { |
231 | Result<ErpSettlementVO> result = new Result<ErpSettlementVO>(); | 230 | Result<ErpSettlementVO> result = new Result<ErpSettlementVO>(); |
232 | ErpSettlement erpSettlementEntity = erpSettlementService.getById(id); | 231 | ErpSettlement erpSettlementEntity = erpSettlementService.getById(id); |
233 | |||
234 | erpSettlementEntity.setApproveTime(DateUtils.format(new Date(), HolidaysUtils.DATE_TIME_PATTERN)); | 232 | erpSettlementEntity.setApproveTime(DateUtils.format(new Date(), HolidaysUtils.DATE_TIME_PATTERN)); |
235 | erpSettlementEntity.setApproverSign(BaseContextHandler.getUserName()); | 233 | erpSettlementEntity.setApproverSign(BaseContextHandler.getUserName()); |
236 | if(erpSettlementEntity==null) { | 234 | if(erpSettlementEntity==null) { |
... | @@ -245,7 +243,7 @@ public class ErpSettlementController { | ... | @@ -245,7 +243,7 @@ public class ErpSettlementController { |
245 | } | 243 | } |
246 | @AutoLog(value = "药剂结算单详情-结算") | 244 | @AutoLog(value = "药剂结算单详情-结算") |
247 | @ApiOperation(value="药剂结算单详情-结算", notes="药剂结算单详情-结算") | 245 | @ApiOperation(value="药剂结算单详情-结算", notes="药剂结算单详情-结算") |
248 | @DeleteMapping(value = "/settlement") | 246 | @GetMapping(value = "/settlement") |
249 | public Result<?> settlement(@RequestParam(name="id",required=true) String id) { | 247 | public Result<?> settlement(@RequestParam(name="id",required=true) String id) { |
250 | Result<ErpSettlementVO> result = new Result<ErpSettlementVO>(); | 248 | Result<ErpSettlementVO> result = new Result<ErpSettlementVO>(); |
251 | ErpSettlement erpSettlementEntity = erpSettlementService.getById(id); | 249 | ErpSettlement erpSettlementEntity = erpSettlementService.getById(id); |
... | @@ -255,7 +253,6 @@ public class ErpSettlementController { | ... | @@ -255,7 +253,6 @@ public class ErpSettlementController { |
255 | result.error500("未找到对应实体"); | 253 | result.error500("未找到对应实体"); |
256 | }else { | 254 | }else { |
257 | //修改 入库表状态 | 255 | //修改 入库表状态 |
258 | |||
259 | boolean ok = erpSettlementService.settlement(erpSettlementEntity); | 256 | boolean ok = erpSettlementService.settlement(erpSettlementEntity); |
260 | if(ok) { | 257 | if(ok) { |
261 | result.success("结算成功!"); | 258 | result.success("结算成功!"); | ... | ... |
... | @@ -40,6 +40,7 @@ public class ErpSettlement { | ... | @@ -40,6 +40,7 @@ public class ErpSettlement { |
40 | /**水厂编号*/ | 40 | /**水厂编号*/ |
41 | @Excel(name = "水厂编号", width = 15) | 41 | @Excel(name = "水厂编号", width = 15) |
42 | @ApiModelProperty(value = "水厂编号") | 42 | @ApiModelProperty(value = "水厂编号") |
43 | @Dict(dictTable="sys_depart",dicCode = "id",dicText = "depart_name") | ||
43 | private String departId; | 44 | private String departId; |
44 | /**采购合同*/ | 45 | /**采购合同*/ |
45 | @ApiModelProperty(value = "采购合同") | 46 | @ApiModelProperty(value = "采购合同") | ... | ... |
... | @@ -175,7 +175,7 @@ skua: | ... | @@ -175,7 +175,7 @@ skua: |
175 | appKey: 3a2653ad36727 | 175 | appKey: 3a2653ad36727 |
176 | pushHostName: http://api.push.mob.com/v3/push/createPush | 176 | pushHostName: http://api.push.mob.com/v3/push/createPush |
177 | packageName: com.kingtrol.flutter_zhongye | 177 | packageName: com.kingtrol.flutter_zhongye |
178 | iosProduction: 0 | 178 | iosProduction: 1 |
179 | # 自定义逻辑,以','分割(e.g: messagePush:消息推送完后处理) | 179 | # 自定义逻辑,以','分割(e.g: messagePush:消息推送完后处理) |
180 | flow: | 180 | flow: |
181 | custom-logic: messagePush | 181 | custom-logic: messagePush | ... | ... |
... | @@ -18,26 +18,19 @@ import java.util.List; | ... | @@ -18,26 +18,19 @@ import java.util.List; |
18 | public class JnhbLargeScreenVO { | 18 | public class JnhbLargeScreenVO { |
19 | @ApiModelProperty(value = "头部统计数值") | 19 | @ApiModelProperty(value = "头部统计数值") |
20 | private List<ResultNumberVO> headStatisticsList = null; | 20 | private List<ResultNumberVO> headStatisticsList = null; |
21 | |||
22 | @ApiModelProperty(value = "各站点能源消耗排名") | 21 | @ApiModelProperty(value = "各站点能源消耗排名") |
23 | private List<PowerConsumeVO> powerConsumeVOList = null; | 22 | private List<PowerConsumeVO> powerConsumeVOList = null; |
24 | |||
25 | @ApiModelProperty(value = "负荷率对象") | 23 | @ApiModelProperty(value = "负荷率对象") |
26 | private List<LoadRateVO> loadRateVOList = null; | 24 | private List<LoadRateVO> loadRateVOList = null; |
27 | |||
28 | @ApiModelProperty(value = "CO2排放排名") | 25 | @ApiModelProperty(value = "CO2排放排名") |
29 | private List<ResultNumberVO> co2DataList = null; | 26 | private List<ResultNumberVO> co2DataList = null; |
30 | |||
31 | |||
32 | @ApiModelProperty(value = "消减量统计") | 27 | @ApiModelProperty(value = "消减量统计") |
33 | private List<ResultNumberVO> reduceStatisticsList = null; | 28 | private List<ResultNumberVO> reduceStatisticsList = null; |
34 | 29 | ||
35 | @ApiModelProperty(value = "ESG减排趋势") | 30 | @ApiModelProperty(value = "ESG减排趋势") |
36 | private List<ResultChartsVO> esgChartsList= null; | 31 | private List<ResultChartsVO> esgChartsList= null; |
37 | |||
38 | @ApiModelProperty(value = "吨消减能耗") | 32 | @ApiModelProperty(value = "吨消减能耗") |
39 | private List<ResultChartsVO> energyConsumeChartsList = null; | 33 | private List<ResultChartsVO> energyConsumeChartsList = null; |
40 | |||
41 | @ApiModelProperty(value = "废物处理对象集合") | 34 | @ApiModelProperty(value = "废物处理对象集合") |
42 | private List<WasteMaterialVO> wasteMaterialList = null;//废物处理对象集合 | 35 | private List<WasteMaterialVO> wasteMaterialList = null;//废物处理对象集合 |
43 | @ApiModelProperty(value = "一级能耗设备数量") | 36 | @ApiModelProperty(value = "一级能耗设备数量") | ... | ... |
-
请 注册 或 登录 后发表评论