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
7413883e
Commit
7413883e
authored
Aug 15, 2022
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.企业基本信息表,企业注册增加落字段监管机构
parent
54e37749
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
RegUnitInfoController.java
.../module/tzs/flc/biz/controller/RegUnitInfoController.java
+1
-1
RegUnitInfoServiceImpl.java
...dule/tzs/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+9
-0
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/controller/RegUnitInfoController.java
View file @
7413883e
...
@@ -131,7 +131,7 @@ public class RegUnitInfoController extends BaseController {
...
@@ -131,7 +131,7 @@ public class RegUnitInfoController extends BaseController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{tel}/{code}/verifyTelCode"
)
@GetMapping
(
value
=
"/{tel}/{code}/verifyTelCode"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"
验证手机号验证码是否成功"
,
notes
=
"验证手机号验证码是否成功
"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"
手机号验证码校验"
,
notes
=
"手机号验证码校验
"
)
public
ResponseModel
<
Boolean
>
verifyTelCode
(
@PathVariable
(
value
=
"tel"
)
String
tel
,
@PathVariable
(
value
=
"code"
)
String
code
)
{
public
ResponseModel
<
Boolean
>
verifyTelCode
(
@PathVariable
(
value
=
"tel"
)
String
tel
,
@PathVariable
(
value
=
"code"
)
String
code
)
{
boolean
flag
=
false
;
boolean
flag
=
false
;
if
(
ValidationUtil
.
isEmpty
(
tel
)
||
ValidationUtil
.
isEmpty
(
code
))
{
if
(
ValidationUtil
.
isEmpty
(
tel
)
||
ValidationUtil
.
isEmpty
(
code
))
{
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
7413883e
...
@@ -152,6 +152,10 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -152,6 +152,10 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
}
}
public
void
createBaseEnterpriseInfo
(
RegUnitInfoDto
regUnitInfo
)
{
public
void
createBaseEnterpriseInfo
(
RegUnitInfoDto
regUnitInfo
)
{
// 1.查询管辖公司的信息
FeignClientResult
<
CompanyModel
>
feignClientResult
=
Privilege
.
companyClient
.
seleteOne
(
Long
.
parseLong
(
regUnitInfo
.
getManagementUnitId
()));
CompanyModel
managementCompany
=
feignClientResult
.
getResult
();
// 2.填充数据
TzBaseEnterpriseInfo
baseEnterpriseInfo
=
new
TzBaseEnterpriseInfo
();
TzBaseEnterpriseInfo
baseEnterpriseInfo
=
new
TzBaseEnterpriseInfo
();
baseEnterpriseInfo
.
setUseUnitCertificate
(
regUnitInfo
.
getUnitCodeTypeName
());
baseEnterpriseInfo
.
setUseUnitCertificate
(
regUnitInfo
.
getUnitCodeTypeName
());
baseEnterpriseInfo
.
setUnitType
(
regUnitInfo
.
getUnitType
());
baseEnterpriseInfo
.
setUnitType
(
regUnitInfo
.
getUnitType
());
...
@@ -169,6 +173,11 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -169,6 +173,11 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
baseEnterpriseInfo
.
setContactPhone
(
regUnitInfo
.
getContactPersonTel
());
baseEnterpriseInfo
.
setContactPhone
(
regUnitInfo
.
getContactPersonTel
());
baseEnterpriseInfo
.
setLongitude
(
regUnitInfo
.
getLongitude
());
baseEnterpriseInfo
.
setLongitude
(
regUnitInfo
.
getLongitude
());
baseEnterpriseInfo
.
setLatitude
(
regUnitInfo
.
getLatitude
());
baseEnterpriseInfo
.
setLatitude
(
regUnitInfo
.
getLatitude
());
// 管辖机构信息
baseEnterpriseInfo
.
setSuperviseCode
(
managementCompany
.
getCompanyCode
());
baseEnterpriseInfo
.
setSuperviseOrgCode
(
managementCompany
.
getOrgCode
());
// 这个表有两个字段所以赋值两字段
baseEnterpriseInfo
.
setSuperviseOrgName
(
regUnitInfo
.
getManagementUnit
());
baseEnterpriseInfo
.
setGoverningBody
(
regUnitInfo
.
getManagementUnit
());
baseEnterpriseInfo
.
setGoverningBody
(
regUnitInfo
.
getManagementUnit
());
baseEnterpriseInfo
.
setDataSources
(
"企业注册"
);
baseEnterpriseInfo
.
setDataSources
(
"企业注册"
);
baseEnterpriseInfo
.
setIndustry
(
regUnitInfo
.
getRegUnitIc
().
getIndustryName
());
baseEnterpriseInfo
.
setIndustry
(
regUnitInfo
.
getRegUnitIc
().
getIndustryName
());
...
...
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