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
ea0b3fe4
Commit
ea0b3fe4
authored
Apr 21, 2023
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业端企业信息详情 核准时间修改
parent
13f5d1ee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
9 deletions
+18
-9
TzBaseEnterpriseInfoDto.java
...amos/boot/module/tzs/api/dto/TzBaseEnterpriseInfoDto.java
+7
-0
TzBaseEnterpriseInfoServiceImpl.java
...tzs/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+11
-9
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/api/dto/TzBaseEnterpriseInfoDto.java
View file @
ea0b3fe4
...
@@ -217,6 +217,13 @@ public class TzBaseEnterpriseInfoDto extends BaseDto {
...
@@ -217,6 +217,13 @@ public class TzBaseEnterpriseInfoDto extends BaseDto {
* 核准时间
* 核准时间
*/
*/
private
Date
approvalTime
;
private
Date
approvalTime
;
/**
* 核准时间(企业端基础信息使用)
*/
@ApiModelProperty
(
value
=
"核准时间"
)
private
String
approval
;
@ApiModelProperty
(
value
=
"经营状态"
)
@ApiModelProperty
(
value
=
"经营状态"
)
/**
/**
* 经营状态
* 经营状态
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
View file @
ea0b3fe4
...
@@ -158,25 +158,27 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -158,25 +158,27 @@ public class TzBaseEnterpriseInfoServiceImpl
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
=
detail
(
tzBaseEnterpriseInfo
.
getSequenceNbr
());
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
=
detail
(
tzBaseEnterpriseInfo
.
getSequenceNbr
());
RegUnitIcDto
regUnitIcDto
=
new
RegUnitIcDto
();
RegUnitIcDto
regUnitIcDto
=
new
RegUnitIcDto
();
Map
<
String
,
Object
>
resultMap
=
accessFeignService
.
getData
(
tzBaseEnterpriseInfoDto
.
getUseCode
()).
getResult
();
Map
<
String
,
Object
>
resultMap
=
accessFeignService
.
getData
(
tzBaseEnterpriseInfoDto
.
getUseCode
()).
getResult
();
if
(!
ValidationUtil
.
isEmpty
(
resultMap
))
{
if
(!
ValidationUtil
.
isEmpty
(
resultMap
))
{
String
area
=
String
.
valueOf
(
resultMap
.
get
(
"area"
));
String
area
=
String
.
valueOf
(
resultMap
.
get
(
"area"
));
String
city
=
area
.
substring
(
0
,
area
.
indexOf
(
"市"
)+
1
);
String
city
=
area
.
substring
(
0
,
area
.
indexOf
(
"市"
)
+
1
);
String
district
=
area
.
substring
(
city
.
length
());
String
district
=
area
.
substring
(
city
.
length
());
if
(
district
.
equals
(
"高新区"
))
{
if
(
district
.
equals
(
"高新区"
))
{
district
=
"雁塔区"
;
district
=
"雁塔区"
;
}
}
String
industryName
=
""
;
String
industryName
=
""
;
DataDictionary
dataDictionary
=
iDataDictionaryService
.
getByCode
(
String
.
valueOf
(
resultMap
.
get
(
"industryCode"
)),
"HYXLDM"
);
DataDictionary
dataDictionary
=
iDataDictionaryService
.
getByCode
(
String
.
valueOf
(
resultMap
.
get
(
"industryCode"
)),
"HYXLDM"
);
if
(!
ValidationUtil
.
isEmpty
(
dataDictionary
))
{
if
(!
ValidationUtil
.
isEmpty
(
dataDictionary
))
{
industryName
=
dataDictionary
.
getName
();
industryName
=
dataDictionary
.
getName
();
}
}
String
approveDate
=
String
.
valueOf
(
resultMap
.
get
(
"approval_time"
));
String
approveDate
=
String
.
valueOf
(
resultMap
.
get
(
"approval_time"
));
approveDate
=
approveDate
.
contains
(
"年"
)
?
approveDate
.
replace
(
"年"
,
"-"
):
approveDate
;
approveDate
=
approveDate
.
contains
(
"年"
)
?
approveDate
.
replace
(
"年"
,
"-"
)
:
approveDate
;
approveDate
=
approveDate
.
contains
(
"月"
)
?
approveDate
.
replace
(
"月"
,
"-"
):
approveDate
;
approveDate
=
approveDate
.
contains
(
"月"
)
?
approveDate
.
replace
(
"月"
,
"-"
)
:
approveDate
;
approveDate
=
approveDate
.
contains
(
"日"
)
?
approveDate
.
replace
(
"日"
,
"-"
):
approveDate
;
approveDate
=
approveDate
.
contains
(
"日"
)
?
approveDate
.
replace
(
"日"
,
"-"
)
:
approveDate
;
regUnitIcDto
.
setUnitCode
(
String
.
valueOf
(
resultMap
.
get
(
"creditCode"
)));
regUnitIcDto
.
setUnitCode
(
String
.
valueOf
(
resultMap
.
get
(
"creditCode"
)));
String
approve
=
approveDate
.
substring
(
0
,
10
)
+
"核准"
;
tzBaseEnterpriseInfoDto
.
setApproval
(
approve
);
try
{
try
{
regUnitIcDto
.
setApprovedDate
(
DateUtils
.
dateParse
(
approveDate
,
"yyyy-MM-dd"
));
regUnitIcDto
.
setApprovedDate
(
DateUtils
.
dateParse
(
approveDate
,
"yyyy-MM-dd"
));
}
catch
(
ParseException
e
)
{
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
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