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
7091c569
Commit
7091c569
authored
Feb 13, 2025
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
历史特殊设备登记添加安装信息
parent
17c672ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+8
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
View file @
7091c569
...
...
@@ -20,6 +20,7 @@ import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import
com.yeejoin.amos.boot.biz.common.entity.DataDictionary
;
import
com.yeejoin.amos.boot.biz.common.entity.TzsBaseEntity
;
import
com.yeejoin.amos.boot.biz.common.service.impl.DataDictionaryServiceImpl
;
import
com.yeejoin.amos.boot.biz.common.utils.DateUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.SnowflakeIdUtil
;
...
...
@@ -91,6 +92,7 @@ import java.io.IOException;
import
java.math.BigDecimal
;
import
java.math.RoundingMode
;
import
java.net.URLEncoder
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.time.LocalDate
;
import
java.time.ZoneId
;
...
...
@@ -3837,6 +3839,12 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
constructionInfo
.
setProxyStatementAttachment
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"proxyStatementAttachmentList"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"proxyStatementAttachmentList"
)));
constructionInfo
.
setConstructionContractAttachment
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"installContractAttachment"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"installContractAttachment"
)));
constructionInfo
.
setConstructionOtherAccessories
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"insOtherAccessories"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"insOtherAccessories"
)));
try
{
constructionInfo
.
setUscDate
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"installStartDate"
))
?
null
:
DateUtils
.
dateParse
((
String
)
map
.
get
(
"installStartDate"
),
DateUtils
.
DATE_PATTERN
));
}
catch
(
ParseException
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
throw
new
BadRequest
(
"安装日期时间转化错误"
);
}
idxBizJgConstructionInfoService
.
getBaseMapper
().
updateById
(
constructionInfo
);
}
}
...
...
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