Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
a8d9a5f3
Commit
a8d9a5f3
authored
Jul 29, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)修改模板
parent
197716b4
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
45 additions
and
11 deletions
+45
-11
DPSubServiceImpl.java
...t/module/statistcs/biz/service/impl/DPSubServiceImpl.java
+11
-1
company.json
...odule-statistics-biz/src/main/resources/json/company.json
+1
-2
equip_1000.json
...le-statistics-biz/src/main/resources/json/equip_1000.json
+4
-1
equip_2000.json
...le-statistics-biz/src/main/resources/json/equip_2000.json
+4
-1
equip_3000.json
...le-statistics-biz/src/main/resources/json/equip_3000.json
+5
-1
equip_4000.json
...le-statistics-biz/src/main/resources/json/equip_4000.json
+4
-1
equip_5000.json
...le-statistics-biz/src/main/resources/json/equip_5000.json
+4
-1
equip_6000.json
...le-statistics-biz/src/main/resources/json/equip_6000.json
+4
-1
equip_8000.json
...le-statistics-biz/src/main/resources/json/equip_8000.json
+4
-1
equip_9000.json
...le-statistics-biz/src/main/resources/json/equip_9000.json
+4
-1
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/DPSubServiceImpl.java
View file @
a8d9a5f3
...
@@ -197,9 +197,13 @@ public class DPSubServiceImpl {
...
@@ -197,9 +197,13 @@ public class DPSubServiceImpl {
xobj
.
put
(
"value"
,
"param"
.
equals
(
xobj
.
getString
(
"source"
))
?
param
.
get
(
xobj
.
getString
(
"key"
))
:
result
.
get
(
xobj
.
getString
(
"key"
)));
xobj
.
put
(
"value"
,
"param"
.
equals
(
xobj
.
getString
(
"source"
))
?
param
.
get
(
xobj
.
getString
(
"key"
))
:
result
.
get
(
xobj
.
getString
(
"key"
)));
});
});
this
.
processQRCodeWidget
(
content
.
getJSONObject
(
"keyinfo"
).
getJSONObject
(
"qrcode"
),
result
);
this
.
processQRCodeWidget
(
content
.
getJSONObject
(
"keyinfo"
).
getJSONObject
(
"qrcode"
),
result
);
this
.
processQRCodeWidget
(
content
.
getJSONObject
(
"keyinfo"
).
getJSONObject
(
"qrcode"
),
result
);
if
(
tab
.
getString
(
"template"
).
contains
(
"equip"
)){
if
(
tab
.
getString
(
"template"
).
contains
(
"equip"
)){
// 处理图片
JSONArray
jsonArray
=
result
.
getJSONArray
(
"PRODUCT_PHOTO"
);
if
(!
ValidationUtil
.
isEmpty
(
jsonArray
)){
content
.
getJSONObject
(
"keyinfo"
).
put
(
"photo"
,
jsonArray
.
getJSONObject
(
0
).
getString
(
"url"
));
}
// 处理问题列表
// 处理问题列表
List
<
Map
<
String
,
String
>>
problem
=
dpSubBizService
.
queryProblemListByEquipId
(
param
.
getString
(
"record"
));
List
<
Map
<
String
,
String
>>
problem
=
dpSubBizService
.
queryProblemListByEquipId
(
param
.
getString
(
"record"
));
if
(!
ValidationUtil
.
isEmpty
(
problem
)){
if
(!
ValidationUtil
.
isEmpty
(
problem
)){
...
@@ -214,6 +218,12 @@ public class DPSubServiceImpl {
...
@@ -214,6 +218,12 @@ public class DPSubServiceImpl {
((
JSONObject
)
infoRecords
).
put
(
"datas"
,
datas
);
((
JSONObject
)
infoRecords
).
put
(
"datas"
,
datas
);
param
.
put
(
"reghistory"
,
datas
);
param
.
put
(
"reghistory"
,
datas
);
}
}
}
else
if
(
tab
.
getString
(
"template"
).
contains
(
"company"
)){
// 处理图片
JSONArray
jsonArray
=
result
.
getJSONArray
(
"unitBusinessLicense"
);
if
(!
ValidationUtil
.
isEmpty
(
jsonArray
)){
content
.
getJSONObject
(
"keyinfo"
).
put
(
"photo"
,
jsonArray
.
getJSONObject
(
0
).
getString
(
"url"
));
}
}
}
return
content
;
return
content
;
}
}
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/company.json
View file @
a8d9a5f3
...
@@ -75,8 +75,7 @@
...
@@ -75,8 +75,7 @@
"content"
:
{
"content"
:
{
"keyinfo"
:
{
"keyinfo"
:
{
"status"
:
[
"status"
:
[
{
"key"
:
"unitType"
,
"label"
:
""
,
"icon"
:
""
,
"value"
:
"success"
},
{
"key"
:
"2"
,
"label"
:
"在业"
,
"icon"
:
""
,
"value"
:
"success"
},
{
"key"
:
"2"
,
"label"
:
""
,
"icon"
:
""
,
"value"
:
"success"
},
{
"key"
:
"3"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"error"
},
{
"key"
:
"3"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"error"
},
{
"key"
:
"4"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"stop"
}
{
"key"
:
"4"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"stop"
}
],
],
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_1000.json
View file @
a8d9a5f3
...
@@ -120,7 +120,10 @@
...
@@ -120,7 +120,10 @@
],
],
"content"
:
{
"content"
:
{
"keyinfo"
:
{
"keyinfo"
:
{
"status"
:
[],
"status"
:
[
{
"key"
:
"1"
,
"label"
:
"在用"
,
"icon"
:
""
,
"value"
:
"success"
},
{
"key"
:
"2"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"stop"
}
],
"qrcode"
:
{
"qrcode"
:
{
"title"
:
"监管码"
,
"title"
:
"监管码"
,
"problem"
:
[]
"problem"
:
[]
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_2000.json
View file @
a8d9a5f3
...
@@ -124,7 +124,10 @@
...
@@ -124,7 +124,10 @@
],
],
"content"
:
{
"content"
:
{
"keyinfo"
:
{
"keyinfo"
:
{
"status"
:
[],
"status"
:
[
{
"key"
:
"1"
,
"label"
:
"在用"
,
"icon"
:
""
,
"value"
:
"success"
},
{
"key"
:
"2"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"stop"
}
],
"qrcode"
:
{
"qrcode"
:
{
"title"
:
"监管码"
,
"title"
:
"监管码"
,
"problem"
:
[]
"problem"
:
[]
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_3000.json
View file @
a8d9a5f3
...
@@ -120,7 +120,11 @@
...
@@ -120,7 +120,11 @@
],
],
"content"
:
{
"content"
:
{
"keyinfo"
:
{
"keyinfo"
:
{
"status"
:
[],
"status"
:
[
{
"key"
:
"1"
,
"label"
:
"在用"
,
"icon"
:
""
,
"value"
:
"success"
},
{
"key"
:
"2"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"stop"
},
{
"key"
:
"3"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"stop"
}
],
"qrcode"
:
{
"qrcode"
:
{
"title"
:
"监管码"
,
"title"
:
"监管码"
,
"problem"
:
[]
"problem"
:
[]
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_4000.json
View file @
a8d9a5f3
...
@@ -116,7 +116,10 @@
...
@@ -116,7 +116,10 @@
],
],
"content"
:
{
"content"
:
{
"keyinfo"
:
{
"keyinfo"
:
{
"status"
:
[],
"status"
:
[
{
"key"
:
"1"
,
"label"
:
"在用"
,
"icon"
:
""
,
"value"
:
"success"
},
{
"key"
:
"2"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"stop"
}
],
"qrcode"
:
{
"qrcode"
:
{
"title"
:
"监管码"
,
"title"
:
"监管码"
,
"problem"
:
[]
"problem"
:
[]
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_5000.json
View file @
a8d9a5f3
...
@@ -112,7 +112,10 @@
...
@@ -112,7 +112,10 @@
],
],
"content"
:
{
"content"
:
{
"keyinfo"
:
{
"keyinfo"
:
{
"status"
:
[],
"status"
:
[
{
"key"
:
"1"
,
"label"
:
"在用"
,
"icon"
:
""
,
"value"
:
"success"
},
{
"key"
:
"2"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"stop"
}
],
"qrcode"
:
{
"qrcode"
:
{
"title"
:
"监管码"
,
"title"
:
"监管码"
,
"problem"
:
[]
"problem"
:
[]
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_6000.json
View file @
a8d9a5f3
...
@@ -106,7 +106,10 @@
...
@@ -106,7 +106,10 @@
],
],
"content"
:
{
"content"
:
{
"keyinfo"
:
{
"keyinfo"
:
{
"status"
:
[],
"status"
:
[
{
"key"
:
"1"
,
"label"
:
"在用"
,
"icon"
:
""
,
"value"
:
"success"
},
{
"key"
:
"2"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"stop"
}
],
"qrcode"
:
{
"qrcode"
:
{
"title"
:
"监管码"
,
"title"
:
"监管码"
,
"problem"
:
[]
"problem"
:
[]
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_8000.json
View file @
a8d9a5f3
...
@@ -112,7 +112,10 @@
...
@@ -112,7 +112,10 @@
],
],
"content"
:
{
"content"
:
{
"keyinfo"
:
{
"keyinfo"
:
{
"status"
:
[],
"status"
:
[
{
"key"
:
"1"
,
"label"
:
"在用"
,
"icon"
:
""
,
"value"
:
"success"
},
{
"key"
:
"2"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"stop"
}
],
"qrcode"
:
{
"qrcode"
:
{
"title"
:
"监管码"
,
"title"
:
"监管码"
,
"problem"
:
[]
"problem"
:
[]
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_9000.json
View file @
a8d9a5f3
...
@@ -112,7 +112,10 @@
...
@@ -112,7 +112,10 @@
],
],
"content"
:
{
"content"
:
{
"keyinfo"
:
{
"keyinfo"
:
{
"status"
:
[],
"status"
:
[
{
"key"
:
"1"
,
"label"
:
"在用"
,
"icon"
:
""
,
"value"
:
"success"
},
{
"key"
:
"2"
,
"label"
:
"否"
,
"icon"
:
""
,
"value"
:
"stop"
}
],
"qrcode"
:
{
"qrcode"
:
{
"title"
:
"监管码"
,
"title"
:
"监管码"
,
"problem"
:
[]
"problem"
:
[]
...
...
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