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
0fb01e9a
Commit
0fb01e9a
authored
Jan 11, 2024
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
浙江省设备平台右屏接口代码提交
parent
45d2fe6f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
EquipmentDetailServiceImpl.java
.../equipmanage/service/impl/EquipmentDetailServiceImpl.java
+1
-1
EquipmentSpecificSerivceImpl.java
...quipmanage/service/impl/EquipmentSpecificSerivceImpl.java
+1
-0
EquipmentSpecificIndexMapper.xml
...rc/main/resources/mapper/EquipmentSpecificIndexMapper.xml
+2
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentDetailServiceImpl.java
View file @
0fb01e9a
...
@@ -411,7 +411,7 @@ public class EquipmentDetailServiceImpl extends ServiceImpl<EquipmentDetailMappe
...
@@ -411,7 +411,7 @@ public class EquipmentDetailServiceImpl extends ServiceImpl<EquipmentDetailMappe
}
}
// 二维码
// 二维码
String
equipStatus
=
equipmentSpecific
.
getEquipStatus
();
String
equipStatus
=
equipmentSpecific
.
getEquipStatus
();
int
type
=
Objects
.
equals
(
equipStatus
,
"0"
)
?
3
:
1
;
int
type
=
Objects
.
equals
(
equipStatus
,
"0"
)
?
3
:
Objects
.
equals
(
equipStatus
,
"1"
)
?
2
:
1
;
String
qrCodeImage
=
QRCodeUtil
.
genQrCodeBase64PngWithWord
(
equipmentSpecific
.
getQrCode
(),
200
,
200
,
equipmentSpecific
.
getQrCode
(),
200
,
type
);
String
qrCodeImage
=
QRCodeUtil
.
genQrCodeBase64PngWithWord
(
equipmentSpecific
.
getQrCode
(),
200
,
200
,
equipmentSpecific
.
getQrCode
(),
200
,
type
);
equipmentDetail
.
setQrCodeImage
(
qrCodeImage
);
equipmentDetail
.
setQrCodeImage
(
qrCodeImage
);
// 消防系统
// 消防系统
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentSpecificSerivceImpl.java
View file @
0fb01e9a
...
@@ -1965,6 +1965,7 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
...
@@ -1965,6 +1965,7 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
Map
<
String
,
String
>
map
=
new
HashMap
<>();
Map
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
"id"
,
e
.
get
(
"id"
).
toString
());
map
.
put
(
"id"
,
e
.
get
(
"id"
).
toString
());
map
.
put
(
"code"
,
e
.
get
(
"code"
).
toString
());
map
.
put
(
"bizOrgCode"
,
e
.
get
(
"bizOrgCode"
).
toString
());
map
.
put
(
"bizOrgCode"
,
e
.
get
(
"bizOrgCode"
).
toString
());
map
.
put
(
"bizOrgName"
,
e
.
get
(
"bizOrgName"
).
toString
());
map
.
put
(
"bizOrgName"
,
e
.
get
(
"bizOrgName"
).
toString
());
jsonObject
.
put
(
"topic"
,
"equip/scrap/put"
);
jsonObject
.
put
(
"topic"
,
"equip/scrap/put"
);
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificIndexMapper.xml
View file @
0fb01e9a
...
@@ -480,6 +480,7 @@
...
@@ -480,6 +480,7 @@
wlsd.status,
wlsd.status,
wes.position,
wes.position,
wes.name,
wes.name,
wec.code,
we.expiry_date as weExpiry,
we.expiry_date as weExpiry,
wed.area as area,
wed.area as area,
wed.production_date as product,
wed.production_date as product,
...
@@ -488,6 +489,7 @@
...
@@ -488,6 +489,7 @@
from wl_equipment_specific wes
from wl_equipment_specific wes
left join wl_equipment_detail wed on wes.equipment_detail_id = wed.id
left join wl_equipment_detail wed on wes.equipment_detail_id = wed.id
left join wl_equipment we on wed.equipment_id = we.id
left join wl_equipment we on wed.equipment_id = we.id
left join wl_equipment_category wec on wec.id = we.category_id
left join wl_warehouse_structure str on str.id = wes.warehouse_structure_id
left join wl_warehouse_structure str on str.id = wes.warehouse_structure_id
left join wl_stock_detail wlsd on wes.id = wlsd.equipment_specific_id
left join wl_stock_detail wlsd on wes.id = wlsd.equipment_specific_id
where wed.production_date is not null
where wed.production_date is not null
...
...
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