Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
cloud-fb
Commits
75b5a751
Commit
75b5a751
authored
Jun 24, 2021
by
高晓磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
散客预警是否通知人员,修改为True&&超采预警记录字段拿错了
parent
64bba6ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
RetailInfoServiceImpl.java
...yst/dinas/biz/internal/service/RetailInfoServiceImpl.java
+2
-2
SandWarningExeProcessor.java
...st/dinas/production/internal/SandWarningExeProcessor.java
+2
-2
SandWarningExe.jmx
...ources/com/xyst/dinas/production/query/SandWarningExe.jmx
+12
-1
No files found.
backend/xyst.dinas.biz/src/main/java/com/xyst/dinas/biz/internal/service/RetailInfoServiceImpl.java
View file @
75b5a751
...
...
@@ -78,7 +78,7 @@ public class RetailInfoServiceImpl implements RetailInfoService {
if
(
warnSetting
!=
null
)
{
BaseBusinessWarn
warn
=
warningService
.
createWarn
(
warnSetting
.
getSettingId
());
warn
.
setWarningCalculate
(
new
RetailInfoBuyCountWarningCalculate
(
retailInfoName
,
idCard
,
station
,
selectBuyCountByIdCard
(
idCard
,
station
)));
warn
.
warn
(
fals
e
);
warn
.
warn
(
tru
e
);
}
else
{
setWarningSettingEntity
(
newKobject
,
uuid
,
RetailInfoConstant
.
RETAIL_INFO_WARN_BUY_COUNT
,
RetailInfoConstant
.
RETAIL_INFO_BUY_COUNT_WARNING_CALCULATOR
,
templateCount
.
getMax
(),
false
,
true
);
}
...
...
@@ -120,7 +120,7 @@ public class RetailInfoServiceImpl implements RetailInfoService {
List
<
KObject
>
allByStationId
=
warehouseUserService
.
getAllByStationId
(
UUID
.
fromString
(
stationId
));
warnSettingEntity
.
setPersonnel
(
allByStationId
.
stream
().
map
(
a
->
a
.
getString
(
"id"
)).
toArray
(
String
[]::
new
));
warnSettingEntity
.
setWarnCalculator
(
warnCalculator
);
warningService
.
insertWarnSettingToIsNotice
(
warnSettingEntity
,
fals
e
);
warningService
.
insertWarnSettingToIsNotice
(
warnSettingEntity
,
tru
e
);
return
warnSettingEntity
;
}
...
...
backend/xyst.dinas.production/src/main/java/com/xyst/dinas/production/internal/SandWarningExeProcessor.java
View file @
75b5a751
...
...
@@ -49,7 +49,7 @@ public class SandWarningExeProcessor implements DataProcessor {
sandAreaName
=
byId
.
getString
(
"sandMiningAreaName"
);
shipName
=
"-"
;
regionalCompanyName
=
byId
.
get
(
"regionalCompany"
).
getString
(
"name"
);
row
.
put
(
"detail"
,
warnSetting
.
getMax
(
));
row
.
put
(
"detail"
,
row
.
get
(
"actualValue"
));
}
else
if
(
SandMiningAreaConstant
.
SAND_SHIP_WARN_BILL_TYPE
.
equals
(
billType
)){
KObject
sandMining
=
sandMiningService
.
getById
(
billId
);
...
...
@@ -57,7 +57,7 @@ public class SandWarningExeProcessor implements DataProcessor {
shipName
=
sandMining
.
get
(
"ship"
).
getString
(
"shipName"
);
regionalCompanyName
=
sandMining
.
get
(
"regionalCompany"
).
getString
(
"name"
);
row
.
put
(
"detail"
,
row
.
get
(
"
target
"
).
toString
());
row
.
put
(
"detail"
,
row
.
get
(
"
-
"
).
toString
());
}
row
.
put
(
"sandAreaName"
,
sandAreaName
);
row
.
put
(
"shipName"
,
shipName
);
...
...
backend/xyst.dinas.production/src/main/resources/com/xyst/dinas/production/query/SandWarningExe.jmx
View file @
75b5a751
...
...
@@ -111,7 +111,7 @@
</m:field>
<m:field>
<m:name>
min
</m:name>
<m:title>
实际
值
</m:title>
<m:title>
最少
值
</m:title>
<m:type>
string
</m:type>
<m:ref>
<m:name></m:name>
...
...
@@ -119,6 +119,17 @@
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
actualValue
</m:name>
<m:title>
实际值
</m:title>
<m:type>
string
</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
warnState
</m:name>
<m:title>
状态
</m:title>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment