Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
0c1a400e
Commit
0c1a400e
authored
Jun 27, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改投融资
parent
d303700e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
FinancingInfoController.java
...t/module/hygf/biz/controller/FinancingInfoController.java
+5
-0
FinancingInfoServiceImpl.java
...odule/hygf/biz/service/impl/FinancingInfoServiceImpl.java
+1
-3
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/FinancingInfoController.java
View file @
0c1a400e
...
...
@@ -67,6 +67,11 @@ public class FinancingInfoController extends BaseController {
public
ResponseModel
<
FinancingInfoDto
>
updateBySequenceNbrFinancingInfo
(
@RequestBody
FinancingInfoDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
model
.
setFile
(
JSON
.
toJSONString
(
model
.
getFiles
()));
if
(
model
.
getFinancingCompaniesSeq
()
!=
null
){
Map
<
String
,
Object
>
orgInfo
=
financingInfoServiceImpl
.
getBaseMapper
().
selectRZOrgInfo
(
model
.
getFinancingCompaniesSeq
());
model
.
setFinancingCompaniesCode
(
orgInfo
.
getOrDefault
(
"ORG_CODE"
,
""
).
toString
());
model
.
setFinancingCompaniesName
(
orgInfo
.
getOrDefault
(
"COMPANY_NAME"
,
""
).
toString
());
}
financingInfoServiceImpl
.
updateWithModel
(
model
);
if
(
null
!=
model
.
getDisbursementMoney
()
&&
model
.
getStatus
()
!=
"放款完成"
){
Map
<
String
,
Object
>
map
=
BeanUtil
.
beanToMap
(
model
);
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/FinancingInfoServiceImpl.java
View file @
0c1a400e
...
...
@@ -289,9 +289,7 @@ public class FinancingInfoServiceImpl extends BaseService<FinancingInfoDto, Fina
}
else
{
financingInfo
.
setStatus
(
statusName
);
}
Map
<
String
,
Object
>
orgInfo1
=
this
.
getBaseMapper
().
selectRZOrgInfo
(
Long
.
valueOf
(
params
.
get
(
"financingCompaniesSeq"
).
toString
()));
financingInfo
.
setFinancingCompaniesCode
(
orgInfo1
.
getOrDefault
(
"ORG_CODE"
,
""
).
toString
());
financingInfo
.
setFinancingCompaniesName
(
orgInfo1
.
getOrDefault
(
"COMPANY_NAME"
,
""
).
toString
());
this
.
updateById
(
financingInfo
);
...
...
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