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
f51a968b
Commit
f51a968b
authored
Jun 27, 2024
by
13420
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款单,付款单,采购开票,销售收票bug处理
parent
c25455c1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
15 deletions
+16
-15
ServiceHGCW010.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW010.java
+3
-3
ServiceHGCW010A.java
...java/com/baosight/hggp/hg/cw/service/ServiceHGCW010A.java
+2
-1
ServiceHGCW012.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
+1
-1
ServiceHGCW014.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW014.java
+2
-2
ServiceHGCW016.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW016.java
+3
-3
HGCW010A.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW010A.xml
+3
-3
HGCW010.jsp
src/main/webapp/HG/CW/HGCW010.jsp
+2
-2
No files found.
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW010.java
View file @
f51a968b
...
@@ -269,7 +269,7 @@ public class ServiceHGCW010 extends ServiceBase {
...
@@ -269,7 +269,7 @@ public class ServiceHGCW010 extends ServiceBase {
/**
/**
*
提交
操作
*
审核
操作
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
...
@@ -279,12 +279,12 @@ public class ServiceHGCW010 extends ServiceBase {
...
@@ -279,12 +279,12 @@ public class ServiceHGCW010 extends ServiceBase {
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
HGCW010
HGCW010
=
new
HGCW010
();
HGCW010
HGCW010
=
new
HGCW010
();
HGCW010
.
fromMap
(
resultRows
.
get
(
i
));
HGCW010
.
fromMap
(
resultRows
.
get
(
i
));
HGCW010
.
setReviewStatus
(
3
);
HGCW010
.
setReviewStatus
(
1
);
DaoUtils
.
update
(
"HGCW010.submit"
,
HGCW010
);
DaoUtils
.
update
(
"HGCW010.submit"
,
HGCW010
);
}
}
inInfo
=
this
.
query
(
inInfo
);
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
提交
成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
审核
成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
}
...
...
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW010A.java
View file @
f51a968b
...
@@ -56,7 +56,8 @@ public class ServiceHGCW010A extends ServiceBase {
...
@@ -56,7 +56,8 @@ public class ServiceHGCW010A extends ServiceBase {
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
inInfo
=
super
.
query
(
inInfo
,
HGCW010A
.
QUERY
,
new
HGCW010A
());
inInfo
=
super
.
query
(
inInfo
,
HGCW010A
.
QUERY
,
new
HGCW010A
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
}
return
inInfo
;
return
inInfo
;
...
...
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
View file @
f51a968b
...
@@ -229,7 +229,7 @@ public class ServiceHGCW012 extends ServiceBase {
...
@@ -229,7 +229,7 @@ public class ServiceHGCW012 extends ServiceBase {
}
}
inInfo
=
this
.
query
(
inInfo
);
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
提交
成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
审核
成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"审核失败,发票类型未选!"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"审核失败,发票类型未选!"
);
}
}
...
...
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW014.java
View file @
f51a968b
...
@@ -269,12 +269,12 @@ public class ServiceHGCW014 extends ServiceBase {
...
@@ -269,12 +269,12 @@ public class ServiceHGCW014 extends ServiceBase {
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
HGCW014
HGCW014
=
new
HGCW014
();
HGCW014
HGCW014
=
new
HGCW014
();
HGCW014
.
fromMap
(
resultRows
.
get
(
i
));
HGCW014
.
fromMap
(
resultRows
.
get
(
i
));
HGCW014
.
setReviewStatus
(
3
);
HGCW014
.
setReviewStatus
(
1
);
DaoUtils
.
update
(
"HGCW014.submit"
,
HGCW014
);
DaoUtils
.
update
(
"HGCW014.submit"
,
HGCW014
);
}
}
inInfo
=
this
.
query
(
inInfo
);
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
提交
成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
审核
成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
}
...
...
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW016.java
View file @
f51a968b
...
@@ -249,7 +249,7 @@ public class ServiceHGCW016 extends ServiceBase {
...
@@ -249,7 +249,7 @@ public class ServiceHGCW016 extends ServiceBase {
/**
/**
*
提交
操作
*
审核
操作
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
...
@@ -259,12 +259,12 @@ public class ServiceHGCW016 extends ServiceBase {
...
@@ -259,12 +259,12 @@ public class ServiceHGCW016 extends ServiceBase {
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
HGCW016
HGCW016
=
new
HGCW016
();
HGCW016
HGCW016
=
new
HGCW016
();
HGCW016
.
fromMap
(
resultRows
.
get
(
i
));
HGCW016
.
fromMap
(
resultRows
.
get
(
i
));
HGCW016
.
setReviewStatus
(
3
);
HGCW016
.
setReviewStatus
(
1
);
DaoUtils
.
update
(
"HGCW016.submit"
,
HGCW016
);
DaoUtils
.
update
(
"HGCW016.submit"
,
HGCW016
);
}
}
inInfo
=
this
.
query
(
inInfo
);
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
提交
成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
审核
成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
}
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW010A.xml
View file @
f51a968b
...
@@ -181,7 +181,7 @@
...
@@ -181,7 +181,7 @@
T1.CUMULATIVE_SETTLEMENT_AMOUNT as "cumulativeSettlementAmount",
<!-- 累计结算金额 -->
T1.CUMULATIVE_SETTLEMENT_AMOUNT as "cumulativeSettlementAmount",
<!-- 累计结算金额 -->
T1.CUMULATIVE_SETTLEMENT_TAX as "cumulativeSettlementTax",
<!-- 累计结算税金 -->
T1.CUMULATIVE_SETTLEMENT_TAX as "cumulativeSettlementTax",
<!-- 累计结算税金 -->
T1.CUMULATIVE_PRICE_TAX as "cumulativePriceTax",
<!-- 累计结算价税合计金额 -->
T1.CUMULATIVE_PRICE_TAX as "cumulativePriceTax",
<!-- 累计结算价税合计金额 -->
T1.REMAINING_AMOUNT as "remainingAmount",
<!--
累计结算价税合计金额
-->
T1.REMAINING_AMOUNT as "remainingAmount",
<!--
剩余开票金额
-->
T1.REVIEW_STATUS as "reviewStatus",
<!-- 审核状态 -->
T1.REVIEW_STATUS as "reviewStatus",
<!-- 审核状态 -->
T1.CREATED_BY as "createdBy",
<!-- 记录创建者 -->
T1.CREATED_BY as "createdBy",
<!-- 记录创建者 -->
T1.CREATED_NAME as "createdName",
<!-- 记录创建名称 -->
T1.CREATED_NAME as "createdName",
<!-- 记录创建名称 -->
...
@@ -195,7 +195,7 @@
...
@@ -195,7 +195,7 @@
ON T1.PROJ_CODE = B.PROJ_CODE
ON T1.PROJ_CODE = B.PROJ_CODE
AND T1.CONTRACT_NUMBER = B.CONTRACT_NUMBER
AND T1.CONTRACT_NUMBER = B.CONTRACT_NUMBER
AND T1.COMPANY_CODE = B.COMPANY_CODE
AND T1.COMPANY_CODE = B.COMPANY_CODE
WHERE 1=1 AND B.CONTRACT_TYPE = 1
WHERE 1=1 AND B.CONTRACT_TYPE = 1
AND T1.REMAINING_AMOUNT != 0
<include
refid=
"condition"
/>
<include
refid=
"condition"
/>
<dynamic
prepend=
"ORDER BY"
>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
<isNotEmpty
property=
"orderBy"
>
...
@@ -392,7 +392,7 @@
...
@@ -392,7 +392,7 @@
<update
id=
"updateDeductionAmount"
>
<update
id=
"updateDeductionAmount"
>
UPDATE ${hggpSchema}.HGCW008
UPDATE ${hggpSchema}.HGCW008
SET
SET
REMAINING_AMOUNT = #remainingAmount#,
<!--
审核状态
-->
REMAINING_AMOUNT = #remainingAmount#,
<!--
剩余开票金额
-->
UPDATED_BY = #updatedBy#,
<!-- 记录修改者 -->
UPDATED_BY = #updatedBy#,
<!-- 记录修改者 -->
UPDATED_NAME = #updatedName#,
<!-- 记录修改名称 -->
UPDATED_NAME = #updatedName#,
<!-- 记录修改名称 -->
UPDATED_TIME = #updatedTime#
<!-- 记录修改时间 -->
UPDATED_TIME = #updatedTime#
<!-- 记录修改时间 -->
...
...
src/main/webapp/HG/CW/HGCW010.jsp
View file @
f51a968b
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
<EF:EFColumn
ename=
"partyA"
cname=
"客户名称"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"partyA"
cname=
"客户名称"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"settlementNumber"
cname=
"来源单号"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"settlementNumber"
cname=
"来源单号"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFComboColumn
ename=
"billTybe"
cname=
"票据类型"
width=
"120"
align=
"center"
re
adonly=
"true"
re
quired=
"true"
<EF:EFComboColumn
ename=
"billTybe"
cname=
"票据类型"
width=
"120"
align=
"center"
required=
"true"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
enable=
"
fals
e"
>
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
enable=
"
tru
e"
>
<EF:EFCodeOption
codeName=
"hggp.cw.billTybe"
/>
<EF:EFCodeOption
codeName=
"hggp.cw.billTybe"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"signingDate"
cname=
"开票日期"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"signingDate"
cname=
"开票日期"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
...
...
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