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
e57b16a9
Commit
e57b16a9
authored
Sep 29, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改组织架构bug
parent
51e2e21f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
OrganizationImpl.java
...os/boot/module/jcs/biz/service/impl/OrganizationImpl.java
+6
-1
OrganizationUserImpl.java
...oot/module/jcs/biz/service/impl/OrganizationUserImpl.java
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/OrganizationImpl.java
View file @
e57b16a9
...
@@ -23,6 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -23,6 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.StringUtils
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
...
@@ -88,7 +89,11 @@ public class OrganizationImpl extends BaseService<Organization, Organization, Or
...
@@ -88,7 +89,11 @@ public class OrganizationImpl extends BaseService<Organization, Organization, Or
List
<
String
>
valueList
=
new
ArrayList
<>();
List
<
String
>
valueList
=
new
ArrayList
<>();
for
(
int
i
=
0
;
i
<
nameList
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
nameList
.
size
();
i
++)
{
if
(
telList
.
size
()
>
i
)
{
if
(
telList
.
size
()
>
i
)
{
valueList
.
add
(
nameList
.
get
(
i
)
+
"-"
+
telList
.
get
(
i
));
if
(
StringUtils
.
isEmpty
(
telList
.
get
(
i
)))
{
valueList
.
add
(
nameList
.
get
(
i
));
}
else
{
valueList
.
add
(
nameList
.
get
(
i
)
+
"-"
+
telList
.
get
(
i
));
}
}
else
{
}
else
{
valueList
.
add
(
nameList
.
get
(
i
));
valueList
.
add
(
nameList
.
get
(
i
));
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/OrganizationUserImpl.java
View file @
e57b16a9
...
@@ -86,7 +86,7 @@ public class OrganizationUserImpl extends BaseService<OrganizationUser,Organizat
...
@@ -86,7 +86,7 @@ public class OrganizationUserImpl extends BaseService<OrganizationUser,Organizat
}
}
wrapper
.
eq
(
OrganizationUser:
:
getIsDelete
,
false
);
wrapper
.
eq
(
OrganizationUser:
:
getIsDelete
,
false
);
wrapper
.
orderByDesc
(
OrganizationUser:
:
getSort
);
wrapper
.
orderByDesc
(
OrganizationUser:
:
getSort
);
wrapper
.
groupBy
(
OrganizationUser:
:
get
Telephone
);
wrapper
.
groupBy
(
OrganizationUser:
:
get
SequenceNbr
);
return
this
.
baseMapper
.
selectPage
(
page
,
wrapper
);
return
this
.
baseMapper
.
selectPage
(
page
,
wrapper
);
}
}
...
...
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