Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
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
platform
hg-smart
Commits
b101face
Commit
b101face
authored
Sep 03, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-09-03 生成销售开票去掉空判断
parent
60e6b5de
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ServiceHGCW010.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW010.java
+1
-1
HGCWTools.java
src/main/java/com/baosight/hggp/hg/cw/tools/HGCWTools.java
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW010.java
View file @
b101face
...
@@ -268,7 +268,7 @@ public class ServiceHGCW010 extends ServiceBase {
...
@@ -268,7 +268,7 @@ public class ServiceHGCW010 extends ServiceBase {
}
}
catch
(
Exception
e
)
{
catch
(
Exception
e
)
{
LogUtils
.
setMsg
(
inInfo
,
e
,
"生成
收款单
失败"
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"生成
销售开票
失败"
);
}
}
return
inInfo
;
return
inInfo
;
}
}
...
...
src/main/java/com/baosight/hggp/hg/cw/tools/HGCWTools.java
View file @
b101face
...
@@ -786,7 +786,7 @@ public class HGCWTools {
...
@@ -786,7 +786,7 @@ public class HGCWTools {
List
<
HGCW011
>
results
=
DaoBase
.
getInstance
().
query
(
HGCW011
.
QUERY
,
new
HashMap
<
String
,
Object
>(){
List
<
HGCW011
>
results
=
DaoBase
.
getInstance
().
query
(
HGCW011
.
QUERY
,
new
HashMap
<
String
,
Object
>(){
{
put
(
"settlementNumbers"
,
settlementNumber
);}
{
put
(
"settlementNumbers"
,
settlementNumber
);}
});
});
AssertUtils
.
isEmpty
(
results
,
"找不到对应的销售开票记录!"
);
//
AssertUtils.isEmpty(results, "找不到对应的销售开票记录!");
BigDecimal
totalAmount
=
new
BigDecimal
(
"0"
);
BigDecimal
totalAmount
=
new
BigDecimal
(
"0"
);
for
(
HGCW011
hgcw011:
results
)
{
for
(
HGCW011
hgcw011:
results
)
{
totalAmount
=
totalAmount
.
add
(
hgcw011
.
getTotalContractPriceIncluding
());
totalAmount
=
totalAmount
.
add
(
hgcw011
.
getTotalContractPriceIncluding
());
...
...
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