Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张雷
/
skboot-zhongye
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
构建
提交
问题看板
文件
提交
网络
比较
分支
标签
b242b3bf
由
张雷
编写于
2024-11-25 15:37:32 +0800
浏览文件
选项
浏览文件
标签
下载
差异文件
Merge remote-tracking branch 'origin/master' into master
2 个父辈
59fd755b
24b77381
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
6 行增加
和
15 行删除
sk-module-alarm/src/main/java/com/skua/modules/quartz/SuddenDescentAlarmJob.java
sk-module-biz/src/main/java/com/skua/modules/erp/controller/ErpSettlementController.java
sk-module-biz/src/main/java/com/skua/modules/erp/entity/ErpSettlement.java
sk-module-biz/src/main/resources/application-prod.yml
sk-module-datafill/src/main/java/com/skua/modules/report/vo/JnhbLargeScreenVO.java
sk-module-alarm/src/main/java/com/skua/modules/quartz/SuddenDescentAlarmJob.java
查看文件 @
b242b3b
...
...
@@ -245,7 +245,7 @@ public class SuddenDescentAlarmJob implements Job {
/**
* 判断是否需要发送短信和通知
*
* @param
resultList
* @param
*/
public
void
sendMessage
(
List
<
AlarmRuleConfigAndLevelVO
>
excessList
)
{
//超标报警
...
...
sk-module-biz/src/main/java/com/skua/modules/erp/controller/ErpSettlementController.java
查看文件 @
b242b3b
...
...
@@ -206,11 +206,10 @@ public class ErpSettlementController {
}
@AutoLog
(
value
=
"药剂结算单详情-验收审批"
)
@ApiOperation
(
value
=
"药剂结算单详情-验收审批"
,
notes
=
"药剂结算单详情-验收审批"
)
@
Delete
Mapping
(
value
=
"/auditAccept"
)
@
Get
Mapping
(
value
=
"/auditAccept"
)
public
Result
<?>
auditAccept
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
Result
<
ErpSettlementVO
>
result
=
new
Result
<
ErpSettlementVO
>();
ErpSettlement
erpSettlementEntity
=
erpSettlementService
.
getById
(
id
);
erpSettlementEntity
.
setInspectTime
(
DateUtils
.
format
(
new
Date
(),
HolidaysUtils
.
DATE_TIME_PATTERN
));
erpSettlementEntity
.
setInspectorSign
(
BaseContextHandler
.
getUserName
());
if
(
erpSettlementEntity
==
null
)
{
...
...
@@ -226,11 +225,10 @@ public class ErpSettlementController {
@AutoLog
(
value
=
"药剂结算单详情-经理审批"
)
@ApiOperation
(
value
=
"药剂结算单详情-经理审批"
,
notes
=
"药剂结算单详情-经理审批"
)
@
Delete
Mapping
(
value
=
"/auditManager"
)
@
Get
Mapping
(
value
=
"/auditManager"
)
public
Result
<?>
auditManager
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
Result
<
ErpSettlementVO
>
result
=
new
Result
<
ErpSettlementVO
>();
ErpSettlement
erpSettlementEntity
=
erpSettlementService
.
getById
(
id
);
erpSettlementEntity
.
setApproveTime
(
DateUtils
.
format
(
new
Date
(),
HolidaysUtils
.
DATE_TIME_PATTERN
));
erpSettlementEntity
.
setApproverSign
(
BaseContextHandler
.
getUserName
());
if
(
erpSettlementEntity
==
null
)
{
...
...
@@ -245,7 +243,7 @@ public class ErpSettlementController {
}
@AutoLog
(
value
=
"药剂结算单详情-结算"
)
@ApiOperation
(
value
=
"药剂结算单详情-结算"
,
notes
=
"药剂结算单详情-结算"
)
@
Delete
Mapping
(
value
=
"/settlement"
)
@
Get
Mapping
(
value
=
"/settlement"
)
public
Result
<?>
settlement
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
Result
<
ErpSettlementVO
>
result
=
new
Result
<
ErpSettlementVO
>();
ErpSettlement
erpSettlementEntity
=
erpSettlementService
.
getById
(
id
);
...
...
@@ -255,7 +253,6 @@ public class ErpSettlementController {
result
.
error500
(
"未找到对应实体"
);
}
else
{
//修改 入库表状态
boolean
ok
=
erpSettlementService
.
settlement
(
erpSettlementEntity
);
if
(
ok
)
{
result
.
success
(
"结算成功!"
);
...
...
sk-module-biz/src/main/java/com/skua/modules/erp/entity/ErpSettlement.java
查看文件 @
b242b3b
...
...
@@ -40,6 +40,7 @@ public class ErpSettlement {
/**水厂编号*/
@Excel
(
name
=
"水厂编号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"水厂编号"
)
@Dict
(
dictTable
=
"sys_depart"
,
dicCode
=
"id"
,
dicText
=
"depart_name"
)
private
String
departId
;
/**采购合同*/
@ApiModelProperty
(
value
=
"采购合同"
)
...
...
sk-module-biz/src/main/resources/application-prod.yml
查看文件 @
b242b3b
...
...
@@ -175,7 +175,7 @@ skua:
appKey
:
3a2653ad36727
pushHostName
:
http://api.push.mob.com/v3/push/createPush
packageName
:
com.kingtrol.flutter_zhongye
iosProduction
:
0
iosProduction
:
1
# 自定义逻辑,以','分割(e.g: messagePush:消息推送完后处理)
flow
:
custom-logic
:
messagePush
...
...
sk-module-datafill/src/main/java/com/skua/modules/report/vo/JnhbLargeScreenVO.java
查看文件 @
b242b3b
...
...
@@ -18,26 +18,19 @@ import java.util.List;
public
class
JnhbLargeScreenVO
{
@ApiModelProperty
(
value
=
"头部统计数值"
)
private
List
<
ResultNumberVO
>
headStatisticsList
=
null
;
@ApiModelProperty
(
value
=
"各站点能源消耗排名"
)
private
List
<
PowerConsumeVO
>
powerConsumeVOList
=
null
;
@ApiModelProperty
(
value
=
"负荷率对象"
)
private
List
<
LoadRateVO
>
loadRateVOList
=
null
;
@ApiModelProperty
(
value
=
"CO2排放排名"
)
private
List
<
ResultNumberVO
>
co2DataList
=
null
;
@ApiModelProperty
(
value
=
"消减量统计"
)
private
List
<
ResultNumberVO
>
reduceStatisticsList
=
null
;
@ApiModelProperty
(
value
=
"ESG减排趋势"
)
private
List
<
ResultChartsVO
>
esgChartsList
=
null
;
@ApiModelProperty
(
value
=
"吨消减能耗"
)
private
List
<
ResultChartsVO
>
energyConsumeChartsList
=
null
;
@ApiModelProperty
(
value
=
"废物处理对象集合"
)
private
List
<
WasteMaterialVO
>
wasteMaterialList
=
null
;
//废物处理对象集合
@ApiModelProperty
(
value
=
"一级能耗设备数量"
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论