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
bcb7a214
Commit
bcb7a214
authored
Dec 14, 2022
by
wanglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加当区域规则表没有时,更新unitid为区域code
parent
c7d2efcd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
CompanyServiceImpl.java
.../boot/module/ugp/biz/service/impl/CompanyServiceImpl.java
+7
-0
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 @
bcb7a214
...
...
@@ -327,8 +327,15 @@ public class CompanyServiceImpl extends BaseService<CompanyDto, Company, Company
String
recgionCode
=
model
.
getRegionCode
().
substring
(
0
,
6
);
SuperviseRule
superviseRule
=
superviseRuleService
.
getOne
(
new
LambdaQueryWrapper
<
SuperviseRule
>().
likeRight
(
SuperviseRule:
:
getAdminRegionCode
,
recgionCode
));
List
<
Long
>
unitIds
=
new
ArrayList
<>();
//当区域规则表没有时,更新unitid为区域code
if
(
ValidationUtil
.
isEmpty
(
superviseRule
)){
unitIds
.
add
(
Long
.
valueOf
(
model
.
getRegionCode
()));
unitIds
.
add
(
Long
.
valueOf
(
model
.
getRegionCode
()));
}
else
{
unitIds
.
add
(
superviseRule
.
getSuperviseDeptId
());
unitIds
.
add
(
superviseRule
.
getInspectionUnitId
());
}
//新增企业审核任务信息
taskService
.
saveOrUpdateTask
(
null
,
false
,
TaskTypeEnum
.
企业审核
.
getKey
(),
new
Date
(),
model
.
getSequenceNbr
(),
TaskTypeEnum
.
企业审核
.
getKey
(),
unitIds
);
...
...
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