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
8a96560c
Commit
8a96560c
authored
Dec 14, 2022
by
wanglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改区域规则效验
parent
a02b0d72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
CompanyServiceImpl.java
.../boot/module/ugp/biz/service/impl/CompanyServiceImpl.java
+6
-1
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/CompanyServiceImpl.java
View file @
8a96560c
...
...
@@ -276,7 +276,12 @@ public class CompanyServiceImpl extends BaseService<CompanyDto, Company, Company
}
//获取当前注册企业的区域规则
SuperviseRule
superviseRule
=
superviseRuleService
.
getOne
(
new
LambdaQueryWrapper
<
SuperviseRule
>().
eq
(
SuperviseRule:
:
getAdminRegionCode
,
model
.
getRegionCode
()));
String
regionCode
=
model
.
getRegionCode
();
if
(
regionCode
.
contains
(
"#"
)){
String
[]
regionCodes
=
regionCode
.
split
(
"#"
);
regionCode
=
regionCodes
[
0
];
}
SuperviseRule
superviseRule
=
superviseRuleService
.
getOne
(
new
LambdaQueryWrapper
<
SuperviseRule
>().
eq
(
SuperviseRule:
:
getAdminRegionCode
,
regionCode
));
List
<
Long
>
unitIds
=
new
ArrayList
<>();
unitIds
.
add
(
superviseRule
.
getSuperviseDeptId
());
unitIds
.
add
(
superviseRule
.
getInspectionUnitId
());
...
...
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