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
35034846
Commit
35034846
authored
Aug 06, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-08-06 销售开票本次开票金额加累计开票金额不能超出销售合同金额20%,如果要超出20%需要业务新增补充协议
parent
f6858725
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
ServiceHGCW010.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW010.java
+2
-2
HGCW011.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW011.xml
+3
-0
No files found.
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW010.java
View file @
35034846
...
@@ -215,7 +215,7 @@ public class ServiceHGCW010 extends ServiceBase {
...
@@ -215,7 +215,7 @@ public class ServiceHGCW010 extends ServiceBase {
hgcw011
.
setMainId
(
hgcw010
.
getId
());
hgcw011
.
setMainId
(
hgcw010
.
getId
());
hgcw011
.
setId
(
null
);
hgcw011
.
setId
(
null
);
// 反写金额
// 反写金额
HGCWTools
.
HgCw008
.
deductionAmount
(
hgcw011
.
getSettlementNumber
(),
rowMap
.
get
(
hgcw011
.
getSettlementNumber
()));
HGCWTools
.
HgCw008
.
deductionAmount
(
resultRows
.
get
(
0
).
get
(
"contractNumber"
),
hgcw011
.
getSettlementNumber
(),
rowMap
.
get
(
hgcw011
.
getSettlementNumber
()));
DaoUtils
.
insert
(
HGCW011
.
INSERT
,
hgcw011
);
DaoUtils
.
insert
(
HGCW011
.
INSERT
,
hgcw011
);
}
}
}
else
{
}
else
{
...
@@ -231,7 +231,7 @@ public class ServiceHGCW010 extends ServiceBase {
...
@@ -231,7 +231,7 @@ public class ServiceHGCW010 extends ServiceBase {
for
(
HGCW011
hgcw011
:
hgcw011List
)
{
for
(
HGCW011
hgcw011
:
hgcw011List
)
{
hgcw011
.
setMainId
(
hgcw010
.
getId
());
hgcw011
.
setMainId
(
hgcw010
.
getId
());
// 反写金额
// 反写金额
HGCWTools
.
HgCw008
.
deductionAmount
(
hgcw011
.
getSettlementNumber
(),
rowMap
.
get
(
hgcw011
.
getSettlementNumber
()));
HGCWTools
.
HgCw008
.
deductionAmount
(
resultRows
.
get
(
0
).
get
(
"contractNumber"
),
hgcw011
.
getSettlementNumber
(),
rowMap
.
get
(
hgcw011
.
getSettlementNumber
()));
this
.
addHGCW011
(
hgcw011
);
this
.
addHGCW011
(
hgcw011
);
}
}
List
<
HGCW011
>
hgcw011s
=
HGCWTools
.
HgCw011
.
getMainId
(
hgcw010
.
getId
());
List
<
HGCW011
>
hgcw011s
=
HGCWTools
.
HgCw011
.
getMainId
(
hgcw010
.
getId
());
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW011.xml
View file @
35034846
...
@@ -95,6 +95,9 @@
...
@@ -95,6 +95,9 @@
<isNotEmpty
prepend=
" AND "
property=
"companyCodes"
>
<isNotEmpty
prepend=
" AND "
property=
"companyCodes"
>
COMPANY_CODE IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"companyCodes"
>
#companyCodes[]#
</iterate>
COMPANY_CODE IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"companyCodes"
>
#companyCodes[]#
</iterate>
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"settlementNumbers"
>
SETTLEMENT_NUMBER IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"settlementNumbers"
>
#settlementNumbers[]#
</iterate>
</isNotEmpty>
</sql>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
<select
id=
"query"
parameterClass=
"java.util.HashMap"
...
...
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