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
280f240b
Commit
280f240b
authored
Jul 06, 2023
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一码通所属区域筛选
parent
a0d2ba63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
EquipmentCategoryServiceImpl.java
...le/tzs/biz/service/impl/EquipmentCategoryServiceImpl.java
+7
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/EquipmentCategoryServiceImpl.java
View file @
280f240b
...
...
@@ -703,7 +703,6 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
List
<
Map
<
String
,
Object
>>
mapList
=
bizJdbcTemplate
.
queryForList
(
finalSelectSql
);
page
.
setTotal
(
count
);
page
.
setRecords
(
mapList
);
return
page
;
}
...
...
@@ -715,6 +714,7 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
*/
private
static
final
String
LEVEL
=
"company"
;
private
static
final
String
EQUSTATE
=
"EQU_STATE"
;
private
static
final
String
USEPLACE
=
"USE_PLACE"
;
public
Page
<
Map
<
String
,
Object
>>
getTable
(
Map
<
String
,
Object
>
map
)
{
...
...
@@ -724,6 +724,12 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
ResponseModel
<
Page
<
Map
<
String
,
Object
>>>
model
=
new
ResponseModel
<>();
List
<
JSONObject
>
objectList
=
getCompanyType
();
List
<
Map
<
String
,
Object
>>
res
=
new
ArrayList
<>();
if
(!
ObjectUtils
.
isEmpty
(
map
.
get
(
USEPLACE
)))
{
String
uesPlace
=
map
.
get
(
USEPLACE
).
toString
();
String
address
=
uesPlace
.
substring
(
1
,
uesPlace
.
length
()
-
1
);
address
=
address
.
replace
(
", "
,
"/"
);
map
.
put
(
USEPLACE
,
address
);
}
Long
total
=
0L
;
for
(
JSONObject
object
:
objectList
)
{
String
level
=
object
.
getString
(
"level"
);
...
...
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