Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-cost-system
Overview
Overview
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
bltdc
dc-cost-system
Commits
91f08aea
Commit
91f08aea
authored
Nov 18, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5b737410
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
AbstractCostService.java
...er/module/cost/service/impl/cost/AbstractCostService.java
+7
-1
Cost.xml
bailuntec-cost-core/src/main/resources/mapper/Cost.xml
+1
-2
No files found.
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/service/impl/cost/AbstractCostService.java
View file @
91f08aea
...
@@ -195,7 +195,13 @@ public abstract class AbstractCostService implements CostService {
...
@@ -195,7 +195,13 @@ public abstract class AbstractCostService implements CostService {
CostDomain
costDomain
=
new
CostDomain
();
CostDomain
costDomain
=
new
CostDomain
();
costDomain
.
setCostNo
(
costNo
);
costDomain
.
setCostNo
(
costNo
);
costDomain
.
setAmount
(
amount
);
costDomain
.
setAmount
(
amount
);
costDomain
.
setKindName
(
costDetailDomains
.
get
(
0
).
getKindName
()
+
" 等 "
+
costDetailDomains
.
size
()
+
" 项"
);
String
kindSuffix
=
""
;
if
(
costDetailDomains
.
size
()
>
1
)
{
kindSuffix
=
" 等共"
+
costDetailDomains
.
size
()
+
"项"
;
}
costDomain
.
setKindNo
(
costDetailDomains
.
get
(
0
).
getKindNo
()
+
kindSuffix
);
costDomain
.
setKindName
(
costDetailDomains
.
get
(
0
).
getKindName
()
+
kindSuffix
);
costDao
.
update
(
costDomain
,
new
LambdaQueryWrapper
<
CostDomain
>()
costDao
.
update
(
costDomain
,
new
LambdaQueryWrapper
<
CostDomain
>()
.
eq
(
CostDomain:
:
getCostNo
,
costDomain
.
getCostNo
()));
.
eq
(
CostDomain:
:
getCostNo
,
costDomain
.
getCostNo
()));
}
}
...
...
bailuntec-cost-core/src/main/resources/mapper/Cost.xml
View file @
91f08aea
...
@@ -445,8 +445,7 @@
...
@@ -445,8 +445,7 @@
</if>
</if>
and (t7.reviewer_user_id = #{req.userid} )
and (t7.reviewer_user_id = #{req.userid} )
</if>
</if>
<if
test=
" req.costNo!=null and req.costNo != ''"
>
<if
test=
"req.costNo != null and req.costNo !='' "
>
and t1.cost_no =#{req.costNo}
and t1.cost_no =#{req.costNo}
</if>
</if>
group by
group by
...
...
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