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
a02b0d72
Commit
a02b0d72
authored
Dec 14, 2022
by
DESKTOP-BQLVS7A\admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
简化企业注册代码(只获取一条数据)
parent
76031b75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
CompanyServiceImpl.java
.../boot/module/ugp/biz/service/impl/CompanyServiceImpl.java
+4
-8
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 @
a02b0d72
...
@@ -323,15 +323,11 @@ public class CompanyServiceImpl extends BaseService<CompanyDto, Company, Company
...
@@ -323,15 +323,11 @@ public class CompanyServiceImpl extends BaseService<CompanyDto, Company, Company
wrapper
.
eq
(
UnitLicence:
:
getUnitCode
,
model
.
getCreditCode
());
wrapper
.
eq
(
UnitLicence:
:
getUnitCode
,
model
.
getCreditCode
());
List
<
UnitLicence
>
unitLicenceLists
=
unitLicenceMapper
.
selectList
(
wrapper
);
List
<
UnitLicence
>
unitLicenceLists
=
unitLicenceMapper
.
selectList
(
wrapper
);
for
(
UnitLicence
unitLicencelist
:
unitLicenceLists
){
for
(
UnitLicence
unitLicencelist
:
unitLicenceLists
){
int
i
=
1
;
if
(!
ValidationUtil
.
isEmpty
(
unitLicencelist
)){
if
(
i
==
1
){
model
.
setLicenseNumber
(
unitLicencelist
.
getCertNo
());
model
.
setExpirationDate
(
unitLicencelist
.
getExpiryDate
());
if
(!
ValidationUtil
.
isEmpty
(
unitLicencelist
)){
model
.
setLicenseNumber
(
unitLicencelist
.
getCertNo
());
model
.
setExpirationDate
(
unitLicencelist
.
getExpiryDate
());
}
i
=++
i
;
}
}
break
;
}
}
...
...
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