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
7521c868
Commit
7521c868
authored
Jul 05, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 fahuoghuanli
parent
c33e4d18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
7 deletions
+19
-7
PreparationMoney.java
...in/amos/boot/module/hygf/api/entity/PreparationMoney.java
+3
-0
PreparationMoneyServiceImpl.java
...le/hygf/biz/service/impl/PreparationMoneyServiceImpl.java
+16
-7
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/PreparationMoney.java
View file @
7521c868
...
@@ -150,6 +150,9 @@ public class PreparationMoney extends BaseEntity {
...
@@ -150,6 +150,9 @@ public class PreparationMoney extends BaseEntity {
private
List
<
PreparationMoneyLog
>
preparationMoneyLog
;
//发货单流水
private
List
<
PreparationMoneyLog
>
preparationMoneyLog
;
//发货单流水
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
List
<
HygfReplenishment
>
files
;
//发货单流水
@TableField
(
exist
=
false
)
private
String
instanceId
;
//发货单流水
private
String
instanceId
;
//发货单流水
//订单状态
//订单状态
@TableField
(
"order_status"
)
@TableField
(
"order_status"
)
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PreparationMoneyServiceImpl.java
View file @
7521c868
...
@@ -188,6 +188,12 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
...
@@ -188,6 +188,12 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
List
<
DocumentStation
>
li
=
documentStationMapper
.
selectList
(
q
);
List
<
DocumentStation
>
li
=
documentStationMapper
.
selectList
(
q
);
preparationMoney
.
setPeasantHouseholdId
(
li
);
preparationMoney
.
setPeasantHouseholdId
(
li
);
LambdaUpdateWrapper
<
HygfReplenishment
>
h
=
new
LambdaUpdateWrapper
<>();
h
.
eq
(
HygfReplenishment:
:
getPreparationMoneyId
,
sequenceNbr
);
List
<
HygfReplenishment
>
hygfReplenishments
=
hygfReplenishmentMapper
.
selectList
(
h
);
if
(
CollectionUtil
.
isNotEmpty
(
hygfReplenishments
)
&&
hygfReplenishments
.
size
()>
0
){
preparationMoney
.
setFiles
(
hygfReplenishments
);
}
return
preparationMoney
;
return
preparationMoney
;
}
}
...
@@ -215,12 +221,6 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
...
@@ -215,12 +221,6 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
qu
.
eq
(
PreparationMoney:
:
getSequenceNbr
,
sequenceNbr
);
qu
.
eq
(
PreparationMoney:
:
getSequenceNbr
,
sequenceNbr
);
PreparationMoney
preparationMoney
=
preparationMoneyMapper
.
selectOne
(
qu
);
PreparationMoney
preparationMoney
=
preparationMoneyMapper
.
selectOne
(
qu
);
LambdaUpdateWrapper
<
HygfReplenishment
>
h
=
new
LambdaUpdateWrapper
<>();
h
.
eq
(
HygfReplenishment:
:
getPreparationMoneyId
,
sequenceNbr
);
List
<
HygfReplenishment
>
hygfReplenishments
=
hygfReplenishmentMapper
.
selectList
(
h
);
if
(
CollectionUtil
.
isNotEmpty
(
hygfReplenishments
)
&&
hygfReplenishments
.
size
()>
0
){
map
.
put
(
"files"
,
hygfReplenishments
);
}
LambdaUpdateWrapper
<
HygfPreparationMoneyAuditing
>
audit
=
new
LambdaUpdateWrapper
<>();
LambdaUpdateWrapper
<
HygfPreparationMoneyAuditing
>
audit
=
new
LambdaUpdateWrapper
<>();
audit
.
eq
(
HygfPreparationMoneyAuditing:
:
getPreparationMoneyId
,
sequenceNbr
);
audit
.
eq
(
HygfPreparationMoneyAuditing:
:
getPreparationMoneyId
,
sequenceNbr
);
List
<
HygfPreparationMoneyAuditing
>
hygfPreparationMoneyAuditings
=
hygfPreparationMoneyAuditingService
.
getBaseMapper
().
selectList
(
audit
);
List
<
HygfPreparationMoneyAuditing
>
hygfPreparationMoneyAuditings
=
hygfPreparationMoneyAuditingService
.
getBaseMapper
().
selectList
(
audit
);
...
@@ -308,7 +308,16 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
...
@@ -308,7 +308,16 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
designInformation
.
setInverter
(
inverter
);
designInformation
.
setInverter
(
inverter
);
designInformation
.
setElectricityMeter
(
electricityMeter
);
designInformation
.
setElectricityMeter
(
electricityMeter
);
designInformation
.
setCable
(
cable
);
designInformation
.
setCable
(
cable
);
map
.
put
(
"preparationMoney"
,
preparationMoney
);
Map
<
String
,
Object
>
map2
=
Bean
.
BeantoMap
(
preparationMoney
);
LambdaUpdateWrapper
<
HygfReplenishment
>
h
=
new
LambdaUpdateWrapper
<>();
h
.
eq
(
HygfReplenishment:
:
getPreparationMoneyId
,
sequenceNbr
);
List
<
HygfReplenishment
>
hygfReplenishments
=
hygfReplenishmentMapper
.
selectList
(
h
);
if
(
CollectionUtil
.
isNotEmpty
(
hygfReplenishments
)
&&
hygfReplenishments
.
size
()>
0
){
map2
.
put
(
"files"
,
hygfReplenishments
);
}
map
.
put
(
"preparationMoney"
,
map2
);
map
.
put
(
"designInformation"
,
designInformation
);
map
.
put
(
"designInformation"
,
designInformation
);
Map
<
String
,
Object
>
map1
=
new
HashMap
<>();
Map
<
String
,
Object
>
map1
=
new
HashMap
<>();
map1
.
put
(
"preparationMoneyLog"
,
liD
);
map1
.
put
(
"preparationMoneyLog"
,
liD
);
...
...
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