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
2598a20d
Commit
2598a20d
authored
Aug 16, 2024
by
江和松
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
b2807f50
acc52f00
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
184 additions
and
60 deletions
+184
-60
HGCW012.java
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW012.java
+32
-0
HGCW013.java
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW013.java
+33
-0
ServiceHGCW012.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
+6
-0
ServiceHGCW012C.java
...java/com/baosight/hggp/hg/cw/service/ServiceHGCW012C.java
+1
-1
HGCW012.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW012.xml
+48
-32
HGCW012A.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW012A.xml
+2
-0
HGCW013.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW013.xml
+33
-21
HGCW012A.js
src/main/webapp/HG/CW/HGCW012A.js
+14
-0
HGSC001C.jsp
src/main/webapp/HG/SC/HGSC001C.jsp
+5
-2
HGSC001D.jsp
src/main/webapp/HG/SC/HGSC001D.jsp
+5
-2
HGSC001U.jsp
src/main/webapp/HG/SC/HGSC001U.jsp
+5
-2
No files found.
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW012.java
View file @
2598a20d
...
...
@@ -28,6 +28,8 @@ public class HGCW012 extends DaoEPBase {
public
static
final
String
FIELD_ACCOUNT_CODE
=
"accountCode"
;
/* 企业编码*/
public
static
final
String
FIELD_COMPANY_CODE
=
"companyCode"
;
/* 公司编码*/
public
static
final
String
FIELD_COMPANY_NAME
=
"companyName"
;
/* 公司名称*/
public
static
final
String
FIELD_PROJ_NAME
=
"projName"
;
/* 项目名称*/
public
static
final
String
FIELD_PROJ_CODE
=
"projCode"
;
/* 项目编号*/
public
static
final
String
FIELD_SETTLEMENT_NUMBER
=
"settlementNumber"
;
/* 来源单号*/
public
static
final
String
FIELD_BILL_TYBE
=
"billTybe"
;
/* 票据类型*/
public
static
final
String
FIELD_BILL_NUMBER
=
"billNumber"
;
/* 发票号*/
...
...
@@ -98,6 +100,8 @@ public class HGCW012 extends DaoEPBase {
private
String
accountCode
=
" "
;
/* 企业编码*/
private
String
companyCode
=
" "
;
/* 公司编码*/
private
String
companyName
=
" "
;
/* 公司名称*/
private
String
projName
=
" "
;
/* 项目名称*/
private
String
projCode
=
" "
;
/* 项目编号*/
private
String
settlementNumber
=
" "
;
/* 来源单号*/
private
Integer
billTybe
=
new
Integer
(
0
);
/* 票据类型*/
private
String
billNumber
=
" "
;
/* 发票号*/
...
...
@@ -149,6 +153,14 @@ public class HGCW012 extends DaoEPBase {
eiColumn
.
setDescName
(
"公司名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PROJ_NAME
);
eiColumn
.
setDescName
(
"项目名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PROJ_CODE
);
eiColumn
.
setDescName
(
"项目编号"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_SETTLEMENT_NUMBER
);
eiColumn
.
setDescName
(
"来源单号"
);
eiMetadata
.
addMeta
(
eiColumn
);
...
...
@@ -335,6 +347,22 @@ public class HGCW012 extends DaoEPBase {
return
this
.
companyName
;
}
public
String
getProjName
()
{
return
projName
;
}
public
void
setProjName
(
String
projName
)
{
this
.
projName
=
projName
;
}
public
String
getProjCode
()
{
return
projCode
;
}
public
void
setProjCode
(
String
projCode
)
{
this
.
projCode
=
projCode
;
}
/**
* set the companyName - 公司名称.
*
...
...
@@ -787,6 +815,8 @@ public class HGCW012 extends DaoEPBase {
setAccountCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT_CODE
)),
accountCode
));
setCompanyCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_CODE
)),
companyCode
));
setCompanyName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_NAME
)),
companyName
));
setProjName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PROJ_NAME
)),
projName
));
setProjCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PROJ_CODE
)),
projCode
));
setSettlementNumber
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_SETTLEMENT_NUMBER
)),
settlementNumber
));
setBillTybe
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_BILL_TYBE
)),
billTybe
));
setBillNumber
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_BILL_NUMBER
)),
billNumber
));
...
...
@@ -827,6 +857,8 @@ public class HGCW012 extends DaoEPBase {
map
.
put
(
FIELD_ACCOUNT_CODE
,
StringUtils
.
toString
(
accountCode
,
eiMetadata
.
getMeta
(
FIELD_ACCOUNT_CODE
)));
map
.
put
(
FIELD_COMPANY_CODE
,
StringUtils
.
toString
(
companyCode
,
eiMetadata
.
getMeta
(
FIELD_COMPANY_CODE
)));
map
.
put
(
FIELD_COMPANY_NAME
,
StringUtils
.
toString
(
companyName
,
eiMetadata
.
getMeta
(
FIELD_COMPANY_NAME
)));
map
.
put
(
FIELD_PROJ_NAME
,
StringUtils
.
toString
(
projName
,
eiMetadata
.
getMeta
(
FIELD_PROJ_NAME
)));
map
.
put
(
FIELD_PROJ_CODE
,
StringUtils
.
toString
(
projCode
,
eiMetadata
.
getMeta
(
FIELD_PROJ_CODE
)));
map
.
put
(
FIELD_SETTLEMENT_NUMBER
,
StringUtils
.
toString
(
settlementNumber
,
eiMetadata
.
getMeta
(
FIELD_SETTLEMENT_NUMBER
)));
map
.
put
(
FIELD_BILL_TYBE
,
StringUtils
.
toString
(
billTybe
,
eiMetadata
.
getMeta
(
FIELD_BILL_TYBE
)));
map
.
put
(
FIELD_BILL_NUMBER
,
StringUtils
.
toString
(
billNumber
,
eiMetadata
.
getMeta
(
FIELD_BILL_NUMBER
)));
...
...
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW013.java
View file @
2598a20d
...
...
@@ -29,6 +29,8 @@ public class HGCW013 extends DaoEPBase {
public
static
final
String
FIELD_ACCOUNT_CODE
=
"accountCode"
;
/* 企业编码*/
public
static
final
String
FIELD_COMPANY_CODE
=
"companyCode"
;
/* 公司编码*/
public
static
final
String
FIELD_COMPANY_NAME
=
"companyName"
;
/* 公司名称*/
public
static
final
String
FIELD_PROJ_NAME
=
"projName"
;
/* 项目名称*/
public
static
final
String
FIELD_PROJ_CODE
=
"projCode"
;
/* 项目编号*/
public
static
final
String
FIELD_SETTLEMENT_NUMBER
=
"settlementNumber"
;
/* 来源单号*/
public
static
final
String
FIELD_BILL_NUMBER
=
"billNumber"
;
/* 发票号*/
public
static
final
String
FIELD_PARTY_A
=
"partyA"
;
/* 供应商名称*/
...
...
@@ -77,6 +79,8 @@ public class HGCW013 extends DaoEPBase {
private
String
accountCode
=
" "
;
/* 企业编码*/
private
String
companyCode
=
" "
;
/* 公司编码*/
private
String
companyName
=
" "
;
/* 公司名称*/
private
String
projName
=
" "
;
/* 项目名称*/
private
String
projCode
=
" "
;
/* 项目编号*/
private
String
settlementNumber
=
" "
;
/* 来源单号*/
private
String
billNumber
=
" "
;
/* 发票号*/
private
String
partyA
=
" "
;
/* 供应商名称*/
...
...
@@ -119,6 +123,14 @@ public class HGCW013 extends DaoEPBase {
eiColumn
.
setDescName
(
"公司名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PROJ_NAME
);
eiColumn
.
setDescName
(
"项目名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PROJ_CODE
);
eiColumn
.
setDescName
(
"项目编号"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_SETTLEMENT_NUMBER
);
eiColumn
.
setDescName
(
"来源单号"
);
eiMetadata
.
addMeta
(
eiColumn
);
...
...
@@ -268,6 +280,23 @@ public class HGCW013 extends DaoEPBase {
public
void
setCompanyName
(
String
companyName
)
{
this
.
companyName
=
companyName
;
}
public
String
getProjName
()
{
return
projName
;
}
public
void
setProjName
(
String
projName
)
{
this
.
projName
=
projName
;
}
public
String
getProjCode
()
{
return
projCode
;
}
public
void
setProjCode
(
String
projCode
)
{
this
.
projCode
=
projCode
;
}
/**
* get the settlementNumber - 来源单号.
* @return the settlementNumber
...
...
@@ -506,6 +535,8 @@ public class HGCW013 extends DaoEPBase {
setAccountCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT_CODE
)),
accountCode
));
setCompanyCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_CODE
)),
companyCode
));
setCompanyName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_NAME
)),
companyName
));
setProjName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PROJ_NAME
)),
projName
));
setProjCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PROJ_CODE
)),
projCode
));
setSettlementNumber
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_SETTLEMENT_NUMBER
)),
settlementNumber
));
setBillNumber
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_BILL_NUMBER
)),
billNumber
));
setPartyA
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PARTY_A
)),
partyA
));
...
...
@@ -534,6 +565,8 @@ public class HGCW013 extends DaoEPBase {
map
.
put
(
FIELD_ACCOUNT_CODE
,
StringUtils
.
toString
(
accountCode
,
eiMetadata
.
getMeta
(
FIELD_ACCOUNT_CODE
)));
map
.
put
(
FIELD_COMPANY_CODE
,
StringUtils
.
toString
(
companyCode
,
eiMetadata
.
getMeta
(
FIELD_COMPANY_CODE
)));
map
.
put
(
FIELD_COMPANY_NAME
,
StringUtils
.
toString
(
companyName
,
eiMetadata
.
getMeta
(
FIELD_COMPANY_NAME
)));
map
.
put
(
FIELD_PROJ_NAME
,
StringUtils
.
toString
(
projName
,
eiMetadata
.
getMeta
(
FIELD_PROJ_NAME
)));
map
.
put
(
FIELD_PROJ_CODE
,
StringUtils
.
toString
(
projCode
,
eiMetadata
.
getMeta
(
FIELD_PROJ_CODE
)));
map
.
put
(
FIELD_SETTLEMENT_NUMBER
,
StringUtils
.
toString
(
settlementNumber
,
eiMetadata
.
getMeta
(
FIELD_SETTLEMENT_NUMBER
)));
map
.
put
(
FIELD_BILL_NUMBER
,
StringUtils
.
toString
(
billNumber
,
eiMetadata
.
getMeta
(
FIELD_BILL_NUMBER
)));
map
.
put
(
FIELD_PARTY_A
,
StringUtils
.
toString
(
partyA
,
eiMetadata
.
getMeta
(
FIELD_PARTY_A
)));
...
...
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
View file @
2598a20d
...
...
@@ -228,6 +228,8 @@ public class ServiceHGCW012 extends ServiceBase {
hgcw012
.
setBillNumber
(
hgcw013List
.
get
(
0
).
getBillNumber
());
hgcw012
.
setSettlementNumber
(
settlementNumber
.
toString
().
substring
(
0
,
settlementNumber
.
length
()
-
1
));
hgcw012
.
setRemainingAmount
(
new
BigDecimal
(
decimalFormat
.
format
(
totalContractPriceIncluding
)));
hgcw012
.
setProjCode
(
hgcw013List
.
get
(
0
).
getProjCode
());
hgcw012
.
setProjName
(
hgcw013List
.
get
(
0
).
getProjName
());
this
.
add
(
hgcw012
);
//生成明细表
...
...
@@ -308,6 +310,8 @@ public class ServiceHGCW012 extends ServiceBase {
//hgcw012.setSigningDate(DateUtils.shortDate());
hgcw012
.
setReceiveDate
(
DateUtils
.
shortDate
());
hgcw012
.
setPartyA
(
hgcw013List
.
get
(
0
).
getPartyA
());
hgcw012
.
setProjCode
(
hgcw013List
.
get
(
0
).
getProjCode
());
hgcw012
.
setProjName
(
hgcw013List
.
get
(
0
).
getProjName
());
//BigDecimal totalContractPriceIncluding = BigDecimal.ZERO;
//StringBuffer settlementNumber = new StringBuffer();
Map
<
String
,
BigDecimal
>
rowMap
=
new
HashMap
<>();
...
...
@@ -424,6 +428,8 @@ public class ServiceHGCW012 extends ServiceBase {
hgcw012
.
setBillNumber
(
hgcw013List
.
get
(
0
).
getBillNumber
());
hgcw012
.
setSettlementNumber
(
settlementNumber
.
toString
().
substring
(
0
,
settlementNumber
.
length
()
-
1
));
hgcw012
.
setRemainingAmount
(
new
BigDecimal
(
decimalFormat
.
format
(
totalContractPriceIncluding
)));
hgcw012
.
setProjCode
(
hgcw013List
.
get
(
0
).
getProjCode
());
hgcw012
.
setProjName
(
hgcw013List
.
get
(
0
).
getProjName
());
this
.
add
(
hgcw012
);
//生成明细表
...
...
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW012C.java
View file @
2598a20d
...
...
@@ -52,7 +52,7 @@ public class ServiceHGCW012C extends ServiceBase {
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
inInfo
=
super
.
query
(
inInfo
,
HGCW013
.
QUERY
,
new
HGCW01
2
());
inInfo
=
super
.
query
(
inInfo
,
HGCW013
.
QUERY
,
new
HGCW01
3
());
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW012.xml
View file @
2598a20d
...
...
@@ -43,6 +43,8 @@
ACCOUNT_CODE as "accountCode",
<!-- 企业编码 -->
COMPANY_CODE as "companyCode",
<!-- 公司编码 -->
COMPANY_NAME as "companyName",
<!-- 公司名称 -->
PROJ_CODE as "projCode",
<!-- 项目编号 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
SETTLEMENT_NUMBER as "settlementNumber",
<!-- 来源单号 -->
BILL_TYBE as "billTybe",
<!-- 票据类型 -->
BILL_NUMBER as "billNumber",
<!-- 发票号 -->
...
...
@@ -84,6 +86,12 @@
<isNotEmpty
prepend=
" AND "
property=
"companyName"
>
COMPANY_NAME = #companyName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
PROJ_NAME = #projName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projCode"
>
PROJ_CODE = #projCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"settlementNumber"
>
SETTLEMENT_NUMBER = #settlementNumber#
</isNotEmpty>
...
...
@@ -290,38 +298,44 @@
<insert
id=
"insert"
>
INSERT INTO ${hggpSchema}.HGCW012 (ID,
ACCOUNT_CODE,
<!-- 企业编码 -->
COMPANY_CODE,
<!-- 公司编码 -->
COMPANY_NAME,
<!-- 公司名称 -->
SETTLEMENT_NUMBER,
<!-- 来源单号 -->
BILL_TYBE,
<!-- 票据类型 -->
BILL_NUMBER,
<!-- 发票号 -->
BILL_STATE,
<!-- 开票状态 -->
SIGNING_DATE,
<!-- 开票日期 -->
PARTY_A,
<!-- 供应商名称 -->
REVIEW_STATUS,
<!-- 审批状态 -->
TAX_POINTS,
<!-- 税率 -->
THIS_SETTLEMENT_TAX,
<!-- 税额 -->
THIS_SETTLEMENT_AMOUNT,
<!-- 不含税金额 -->
TOTAL_CONTRACT_PRICE_INCLUDING,
<!-- 发票总额 -->
CREATED_BY,
<!-- 记录创建者 -->
CREATED_NAME,
<!-- 记录创建名称 -->
CREATED_TIME,
<!-- 记录创建时间 -->
UPDATED_BY,
<!-- 记录修改者 -->
UPDATED_NAME,
<!-- 记录修改名称 -->
UPDATED_TIME,
<!-- 记录修改时间 -->
DEP_CODE,
<!-- 部门编码 -->
REMAINING_AMOUNT,
<!-- 剩余开票/收票金额 -->
RECEIVE_DATE,
<!-- 收票日期 -->
CONTRACT_TYPE,
<!-- 合同类型;1.采购收货2.劳务3.租赁 -->
INVENT_TYPE_DETAIL,
<!-- 存货大类 -->
INVENT_CODE,
<!-- 存货编码 -->
INVENT_NAME,
<!-- 存货名称 -->
SPEC,
<!-- 规格 -->
DEPOSIT_QTY,
<!-- 入库数量 -->
RECEIVE_WEIGHT
<!-- 收货重量 -->
)
VALUES (#id#, #accountCode#, #companyCode#, #companyName#, #settlementNumber#, #billTybe#, #billNumber#, #billState#, #signingDate#, #partyA#, #reviewStatus#, #taxPoints#, #thisSettlementTax#, #thisSettlementAmount#, #totalContractPriceIncluding#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #depCode#, #remainingAmount#, #receiveDate#, #contractType#, #inventTypeDetail#, #inventCode#, #inventName#, #spec#, #depositQty#, #receiveWeight#)
ACCOUNT_CODE,
<!-- 企业编码 -->
COMPANY_CODE,
<!-- 公司编码 -->
COMPANY_NAME,
<!-- 公司名称 -->
PROJ_CODE,
<!-- 项目编号 -->
PROJ_NAME,
<!-- 项目名称 -->
SETTLEMENT_NUMBER,
<!-- 来源单号 -->
BILL_TYBE,
<!-- 票据类型 -->
BILL_NUMBER,
<!-- 发票号 -->
BILL_STATE,
<!-- 开票状态 -->
SIGNING_DATE,
<!-- 开票日期 -->
PARTY_A,
<!-- 供应商名称 -->
REVIEW_STATUS,
<!-- 审批状态 -->
TAX_POINTS,
<!-- 税率 -->
THIS_SETTLEMENT_TAX,
<!-- 税额 -->
THIS_SETTLEMENT_AMOUNT,
<!-- 不含税金额 -->
TOTAL_CONTRACT_PRICE_INCLUDING,
<!-- 发票总额 -->
CREATED_BY,
<!-- 记录创建者 -->
CREATED_NAME,
<!-- 记录创建名称 -->
CREATED_TIME,
<!-- 记录创建时间 -->
UPDATED_BY,
<!-- 记录修改者 -->
UPDATED_NAME,
<!-- 记录修改名称 -->
UPDATED_TIME,
<!-- 记录修改时间 -->
DEP_CODE,
<!-- 部门编码 -->
REMAINING_AMOUNT,
<!-- 剩余开票/收票金额 -->
RECEIVE_DATE,
<!-- 收票日期 -->
CONTRACT_TYPE,
<!-- 合同类型;1.采购收货2.劳务3.租赁 -->
INVENT_TYPE_DETAIL,
<!-- 存货大类 -->
INVENT_CODE,
<!-- 存货编码 -->
INVENT_NAME,
<!-- 存货名称 -->
SPEC,
<!-- 规格 -->
DEPOSIT_QTY,
<!-- 入库数量 -->
RECEIVE_WEIGHT
<!-- 收货重量 -->
)
VALUES (#id#, #accountCode#, #companyCode#, #companyName#, #projCode#, #projName#, #settlementNumber#,
#billTybe#, #billNumber#, #billState#, #signingDate#, #partyA#, #reviewStatus#, #taxPoints#,
#thisSettlementTax#, #thisSettlementAmount#, #totalContractPriceIncluding#, #createdBy#, #createdName#,
#createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #depCode#, #remainingAmount#, #receiveDate#,
#contractType#, #inventTypeDetail#, #inventCode#, #inventName#, #spec#, #depositQty#, #receiveWeight#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGCW012
</selectKey>
...
...
@@ -338,6 +352,8 @@
ACCOUNT_CODE = #accountCode#,
<!-- 企业编码 -->
COMPANY_CODE = #companyCode#,
<!-- 公司编码 -->
COMPANY_NAME = #companyName#,
<!-- 公司名称 -->
PROJ_CODE = #projCode#,
<!-- 项目编号 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
SETTLEMENT_NUMBER = #settlementNumber#,
<!-- 来源单号 -->
BILL_TYBE = #billTybe#,
<!-- 票据类型 -->
BILL_NUMBER = #billNumber#,
<!-- 发票号 -->
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW012A.xml
View file @
2598a20d
...
...
@@ -421,6 +421,8 @@
A.ACCOUNT_CODE as "accountCode",
<!-- 企业编码 -->
A.COMPANY_CODE as "companyCode",
<!-- 公司编码 -->
A.COMPANY_NAME as "companyName",
<!-- 公司名称 -->
A.PROJ_CODE as "projCode",
<!-- 项目编码 -->
A.PROJ_NAME as "projName",
<!-- 项目名称 -->
B.SUP_CODE as "supCode",
<!-- 供应商编码 -->
B.SUP_NAME as "supName",
<!-- 供应商名称 -->
A.RECEIVE_DATE as "receiveDate",
<!-- 收货日期 -->
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW013.xml
View file @
2598a20d
...
...
@@ -32,6 +32,8 @@
ACCOUNT_CODE as "accountCode",
<!-- 企业编码 -->
COMPANY_CODE as "companyCode",
<!-- 公司编码 -->
COMPANY_NAME as "companyName",
<!-- 公司名称 -->
PROJ_CODE as "projCode",
<!-- 项目编号 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
SETTLEMENT_NUMBER as "settlementNumber",
<!-- 来源单号 -->
BILL_NUMBER as "billNumber",
<!-- 发票号 -->
PARTY_A as "partyA",
<!-- 供应商名称 -->
...
...
@@ -64,6 +66,12 @@
<isNotEmpty
prepend=
" AND "
property=
"companyName"
>
COMPANY_NAME = #companyName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projCode"
>
PROJ_CODE = #projCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
PROJ_NAME = #projName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"settlementNumber"
>
SETTLEMENT_NUMBER = #settlementNumber#
</isNotEmpty>
...
...
@@ -199,6 +207,8 @@
ACCOUNT_CODE,
<!-- 企业编码 -->
COMPANY_CODE,
<!-- 公司编码 -->
COMPANY_NAME,
<!-- 公司名称 -->
PROJ_CODE,
<!-- 项目编号 -->
PROJ_NAME,
<!-- 项目名称 -->
SETTLEMENT_NUMBER,
<!-- 来源单号 -->
BILL_NUMBER,
<!-- 发票号 -->
PARTY_A,
<!-- 供应商名称 -->
...
...
@@ -214,7 +224,7 @@
UPDATED_TIME,
<!-- 记录修改时间 -->
DEP_CODE
<!-- 部门编码 -->
)
VALUES (#id#, #mainId#, #accountCode#, #companyCode#, #companyName#, #settlementNumber#, #billNumber#, #partyA#, #taxPoints#, #thisSettlementTax#, #thisSettlementAmount#, #totalContractPriceIncluding#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #depCode#)
VALUES (#id#, #mainId#, #accountCode#, #companyCode#, #companyName#, #
projCode#, #projName#, #
settlementNumber#, #billNumber#, #partyA#, #taxPoints#, #thisSettlementTax#, #thisSettlementAmount#, #totalContractPriceIncluding#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #depCode#)
</insert>
<delete
id=
"delete"
>
...
...
@@ -228,26 +238,28 @@
<update
id=
"update"
>
UPDATE ${hggpSchema}.HGCW013
SET
MAIN_ID = #mainId#,
<!-- 主表ID -->
ACCOUNT_CODE = #accountCode#,
<!-- 企业编码 -->
COMPANY_CODE = #companyCode#,
<!-- 公司编码 -->
COMPANY_NAME = #companyName#,
<!-- 公司名称 -->
SETTLEMENT_NUMBER = #settlementNumber#,
<!-- 来源单号 -->
BILL_NUMBER = #billNumber#,
<!-- 发票号 -->
PARTY_A = #partyA#,
<!-- 供应商名称 -->
TAX_POINTS = #taxPoints#,
<!-- 税率 -->
THIS_SETTLEMENT_TAX = #thisSettlementTax#,
<!-- 税额 -->
THIS_SETTLEMENT_AMOUNT = #thisSettlementAmount#,
<!-- 不含税金额 -->
TOTAL_CONTRACT_PRICE_INCLUDING = #totalContractPriceIncluding#,
<!-- 开票总额 -->
CREATED_BY = #createdBy#,
<!-- 记录创建者 -->
CREATED_NAME = #createdName#,
<!-- 记录创建名称 -->
CREATED_TIME = #createdTime#,
<!-- 记录创建时间 -->
UPDATED_BY = #updatedBy#,
<!-- 记录修改者 -->
UPDATED_NAME = #updatedName#,
<!-- 记录修改名称 -->
UPDATED_TIME = #updatedTime#,
<!-- 记录修改时间 -->
DEP_CODE = #depCode#
<!-- 部门编码 -->
WHERE
ID = #id#
MAIN_ID = #mainId#,
<!-- 主表ID -->
ACCOUNT_CODE = #accountCode#,
<!-- 企业编码 -->
COMPANY_CODE = #companyCode#,
<!-- 公司编码 -->
COMPANY_NAME = #companyName#,
<!-- 公司名称 -->
PROJ_CODE = #projCode#,
<!-- 项目编号 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
SETTLEMENT_NUMBER = #settlementNumber#,
<!-- 来源单号 -->
BILL_NUMBER = #billNumber#,
<!-- 发票号 -->
PARTY_A = #partyA#,
<!-- 供应商名称 -->
TAX_POINTS = #taxPoints#,
<!-- 税率 -->
THIS_SETTLEMENT_TAX = #thisSettlementTax#,
<!-- 税额 -->
THIS_SETTLEMENT_AMOUNT = #thisSettlementAmount#,
<!-- 不含税金额 -->
TOTAL_CONTRACT_PRICE_INCLUDING = #totalContractPriceIncluding#,
<!-- 开票总额 -->
CREATED_BY = #createdBy#,
<!-- 记录创建者 -->
CREATED_NAME = #createdName#,
<!-- 记录创建名称 -->
CREATED_TIME = #createdTime#,
<!-- 记录创建时间 -->
UPDATED_BY = #updatedBy#,
<!-- 记录修改者 -->
UPDATED_NAME = #updatedName#,
<!-- 记录修改名称 -->
UPDATED_TIME = #updatedTime#,
<!-- 记录修改时间 -->
DEP_CODE = #depCode#
<!-- 部门编码 -->
WHERE
ID = #id#
</update>
</sqlMap>
src/main/webapp/HG/CW/HGCW012A.js
View file @
2598a20d
...
...
@@ -163,6 +163,20 @@ $(function () {
locked
:
false
},
{
field
:
"projCode"
,
title
:
"项目编号"
,
headerTemplate
:
"<span style='color: '>项目编号 </span>"
,
enable
:
false
,
locked
:
false
},
{
field
:
"projName"
,
title
:
"项目名称"
,
headerTemplate
:
"<span style='color: '>项目名称 </span>"
,
enable
:
false
,
locked
:
false
},
{
field
:
"receiveNo"
,
title
:
"收货编号"
,
headerTemplate
:
"<span style='color: '>收货编号 </span>"
,
...
...
src/main/webapp/HG/SC/HGSC001C.jsp
View file @
2598a20d
...
...
@@ -24,11 +24,14 @@
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
<EF:EFInput
ename=
"result-0-subcontractCode"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFInput
ename=
"result-0-genralContractName"
cname=
"甲方名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
<EF:EFSelect
ename=
"result-0-genralContractCode"
cname=
"甲方"
colWidth=
"4"
required=
"true"
filter=
"contains"
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<
%
--
<
EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
>
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>
--%>
<EF:EFInput
ename=
"result-0-projCode"
cname=
"项目编号"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
...
...
src/main/webapp/HG/SC/HGSC001D.jsp
View file @
2598a20d
...
...
@@ -24,11 +24,14 @@
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
<EF:EFInput
ename=
"result-0-subcontractCode"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFInput
ename=
"result-0-genralContractName"
cname=
"甲方名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
<EF:EFSelect
ename=
"result-0-genralContractCode"
cname=
"甲方"
colWidth=
"4"
required=
"true"
filter=
"contains"
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<
%
--
<
EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
>
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>
--%>
<EF:EFInput
ename=
"result-0-projCode"
cname=
"项目编号"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
...
...
src/main/webapp/HG/SC/HGSC001U.jsp
View file @
2598a20d
...
...
@@ -27,11 +27,14 @@
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
<EF:EFInput
ename=
"result-0-subcontractCode"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFInput
ename=
"result-0-genralContractName"
cname=
"甲方名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
<EF:EFSelect
ename=
"result-0-genralContractCode"
cname=
"甲方"
colWidth=
"4"
required=
"true"
filter=
"contains"
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<
%
--
<
EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
>
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>
--%>
<EF:EFInput
ename=
"result-0-projCode"
cname=
"项目编号"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
...
...
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