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
67c1e27a
Commit
67c1e27a
authored
Jul 08, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
其他入库单字段处理修改
parent
6aee53eb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
180 deletions
+13
-180
HGCBTools.java
src/main/java/com/baosight/hggp/hg/cb/tools/HGCBTools.java
+3
-3
HGKC006.java
src/main/java/com/baosight/hggp/hg/kc/domain/HGKC006.java
+0
-0
HGKC006A.java
src/main/java/com/baosight/hggp/hg/kc/domain/HGKC006A.java
+0
-0
ServiceHGKC009.java
.../java/com/baosight/hggp/hg/kc/service/ServiceHGKC009.java
+1
-1
HGKC006.xml
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC006.xml
+1
-113
HGKC006A.xml
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC006A.xml
+7
-63
HGKC006A.jsp
src/main/webapp/HG/KC/HGKC006A.jsp
+1
-0
No files found.
src/main/java/com/baosight/hggp/hg/cb/tools/HGCBTools.java
View file @
67c1e27a
...
@@ -245,7 +245,7 @@ public class HGCBTools {
...
@@ -245,7 +245,7 @@ public class HGCBTools {
hgcb002
.
setInventCode
(
hgkc006A
.
getInventCode
());
hgcb002
.
setInventCode
(
hgkc006A
.
getInventCode
());
hgcb002
.
setInventName
(
hgkc006A
.
getInventName
());
hgcb002
.
setInventName
(
hgkc006A
.
getInventName
());
hgcb002
.
setInventRecordId
(
hgkc006A
.
getInventRecordId
());
hgcb002
.
setInventRecordId
(
hgkc006A
.
getInventRecordId
());
hgcb002
.
setSpec
(
hgkc006A
.
getP
ar
tSpec
());
hgcb002
.
setSpec
(
hgkc006A
.
getP
rd
tSpec
());
hgcb002
.
setIsEstimate
(
0
);
hgcb002
.
setIsEstimate
(
0
);
hgcb002
.
setQuantity
(
hgkc006A
.
getInvQty
());
hgcb002
.
setQuantity
(
hgkc006A
.
getInvQty
());
hgcb002
.
setWeight
(
hgkc006A
.
getInvWeight
());
hgcb002
.
setWeight
(
hgkc006A
.
getInvWeight
());
...
@@ -579,8 +579,8 @@ public class HGCBTools {
...
@@ -579,8 +579,8 @@ public class HGCBTools {
* @return
* @return
*/
*/
public
static
String
buildKey
(
Map
dataMap
)
{
public
static
String
buildKey
(
Map
dataMap
)
{
if
(
dataMap
.
containsKey
(
HGKC006A
.
FIELD_P
AR
T_SPEC
)){
if
(
dataMap
.
containsKey
(
HGKC006A
.
FIELD_P
RD
T_SPEC
)){
dataMap
.
put
(
HGCB004
.
FIELD_SPEC
,
dataMap
.
get
(
HGKC006A
.
FIELD_P
AR
T_SPEC
));
dataMap
.
put
(
HGCB004
.
FIELD_SPEC
,
dataMap
.
get
(
HGKC006A
.
FIELD_P
RD
T_SPEC
));
}
else
if
(
dataMap
.
containsKey
(
HGKC008A
.
FIELD_INV_SPEC
)){
}
else
if
(
dataMap
.
containsKey
(
HGKC008A
.
FIELD_INV_SPEC
)){
dataMap
.
put
(
HGCB004
.
FIELD_SPEC
,
dataMap
.
get
(
HGKC008A
.
FIELD_INV_SPEC
));
dataMap
.
put
(
HGCB004
.
FIELD_SPEC
,
dataMap
.
get
(
HGKC008A
.
FIELD_INV_SPEC
));
}
else
if
(
dataMap
.
containsKey
(
HGKC007A
.
FIELD_PRDT_SPEC
)){
}
else
if
(
dataMap
.
containsKey
(
HGKC007A
.
FIELD_PRDT_SPEC
)){
...
...
src/main/java/com/baosight/hggp/hg/kc/domain/HGKC006.java
View file @
67c1e27a
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hggp/hg/kc/domain/HGKC006A.java
View file @
67c1e27a
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC009.java
View file @
67c1e27a
...
@@ -221,7 +221,7 @@ public class ServiceHGKC009 extends ServiceBase {
...
@@ -221,7 +221,7 @@ public class ServiceHGKC009 extends ServiceBase {
// 1.3、其他入库
// 1.3、其他入库
HGKC006A
qtRk
=
qtRkMap
.
get
(
key
);
HGKC006A
qtRk
=
qtRkMap
.
get
(
key
);
kc009
.
setQtEnterAmount
(
qtRk
==
null
?
BigDecimal
.
ZERO
:
qtRk
.
getInvQty
());
kc009
.
setQtEnterAmount
(
qtRk
==
null
?
BigDecimal
.
ZERO
:
qtRk
.
getInvQty
());
kc009
.
setQtEnterWeight
(
qtRk
==
null
?
BigDecimal
.
ZERO
:
qtRk
.
getP
ar
tWidth
());
kc009
.
setQtEnterWeight
(
qtRk
==
null
?
BigDecimal
.
ZERO
:
qtRk
.
getP
rd
tWidth
());
// 1.4、入库
// 1.4、入库
kc009
.
setEnterAmount
(
kc009
.
getCgEnterAmount
().
add
(
kc009
.
getScEnterAmount
())
kc009
.
setEnterAmount
(
kc009
.
getCgEnterAmount
().
add
(
kc009
.
getScEnterAmount
())
.
add
(
kc009
.
getQtEnterAmount
()));
.
add
(
kc009
.
getQtEnterAmount
()));
...
...
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC006.xml
View file @
67c1e27a
...
@@ -73,48 +73,6 @@
...
@@ -73,48 +73,6 @@
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
PROJ_NAME = #projName#
PROJ_NAME = #projName#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtType"
>
PRDT_TYPE = #prdtType#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtCode"
>
PRDT_CODE = #prdtCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtName"
>
PRDT_NAME = #prdtName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtLength"
>
PRDT_LENGTH = #prdtLength#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtWidth"
>
PRDT_WIDTH = #prdtWidth#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtThick"
>
PRDT_THICK = #prdtThick#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtSpec"
>
PRDT_SPEC = #prdtSpec#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partType"
>
PART_TYPE = #partType#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partCode"
>
PART_CODE = #partCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partName"
>
PART_NAME = #partName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partLength"
>
PART_LENGTH = #partLength#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partWidth"
>
PART_WIDTH = #partWidth#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partThick"
>
PART_THICK = #partThick#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partSpec"
>
PART_SPEC = #partSpec#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"submitStatus"
>
<isNotEmpty
prepend=
" AND "
property=
"submitStatus"
>
SUBMIT_STATUS = #submitStatus#
SUBMIT_STATUS = #submitStatus#
</isNotEmpty>
</isNotEmpty>
...
@@ -152,20 +110,6 @@
...
@@ -152,20 +110,6 @@
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PRDT_TYPE as "prdtType",
<!-- 产品类型 -->
PRDT_CODE as "prdtCode",
<!-- 产品编码 -->
PRDT_NAME as "prdtName",
<!-- 产品名称 -->
PRDT_LENGTH as "prdtLength",
<!-- 产品-长 -->
PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
PART_TYPE as "partType",
<!-- 零件类型 -->
PART_CODE as "partCode",
<!-- 零件编码 -->
PART_NAME as "partName",
<!-- 零件名称 -->
PART_LENGTH as "partLength",
<!-- 零件-长 -->
PART_WIDTH as "partWidth",
<!-- 零件-宽 -->
PART_THICK as "partThick",
<!-- 零件-厚 -->
PART_SPEC as "partSpec",
<!-- 零件规格 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SOURCE_CODE as "sourceCode",
<!-- 数据来源编号 -->
SOURCE_CODE as "sourceCode",
<!-- 数据来源编号 -->
SOURCE as "source"
<!-- 数据来源 -->
SOURCE as "source"
<!-- 数据来源 -->
...
@@ -219,25 +163,11 @@
...
@@ -219,25 +163,11 @@
PROD_TASK_NO,
<!-- 生产任务号 -->
PROD_TASK_NO,
<!-- 生产任务号 -->
PROJ_CODE,
<!-- 项目编码 -->
PROJ_CODE,
<!-- 项目编码 -->
PROJ_NAME,
<!-- 项目名称 -->
PROJ_NAME,
<!-- 项目名称 -->
PRDT_TYPE,
<!-- 产品类型 -->
PRDT_CODE,
<!-- 产品编码 -->
PRDT_NAME,
<!-- 产品名称 -->
PRDT_LENGTH,
<!-- 产品-长 -->
PRDT_WIDTH,
<!-- 产品-宽 -->
PRDT_THICK,
<!-- 产品-厚 -->
PRDT_SPEC,
<!-- 产品规格 -->
PART_TYPE,
<!-- 零件类型 -->
PART_CODE,
<!-- 零件编码 -->
PART_NAME,
<!-- 零件名称 -->
PART_LENGTH,
<!-- 零件-长 -->
PART_WIDTH,
<!-- 零件-宽 -->
PART_THICK,
<!-- 零件-厚 -->
PART_SPEC,
<!-- 零件规格 -->
SUBMIT_STATUS,
<!-- 提交状态 -->
SUBMIT_STATUS,
<!-- 提交状态 -->
SOURCE_CODE,
<!-- 数据来源编号 -->
SOURCE_CODE,
<!-- 数据来源编号 -->
SOURCE
<!-- 数据来源 -->
SOURCE
<!-- 数据来源 -->
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #otherEnterDate#, #otherEnterNo#, #whCode#, #whName#, #otherEnterNoOld#, #remark#, #factoryCode#, #prodOrderNo#, #prodTaskNo#, #projCode#, #projName#, #
prdtType#, #prdtCode#, #prdtName#, #prdtLength#, #prdtWidth#, #prdtThick#, #prdtSpec#, #partType#, #partCode#, #partName#, #partLength#, #partWidth#, #partThick#, #partSpec#, #
submitStatus#, #sourceCode#, #source#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #otherEnterDate#, #otherEnterNo#, #whCode#, #whName#, #otherEnterNoOld#, #remark#, #factoryCode#, #prodOrderNo#, #prodTaskNo#, #projCode#, #projName#, #submitStatus#, #sourceCode#, #source#)
</insert>
</insert>
...
@@ -267,20 +197,6 @@
...
@@ -267,20 +197,6 @@
PROD_TASK_NO = #prodTaskNo#,
<!-- 生产任务号 -->
PROD_TASK_NO = #prodTaskNo#,
<!-- 生产任务号 -->
PROJ_CODE = #projCode#,
<!-- 项目编码 -->
PROJ_CODE = #projCode#,
<!-- 项目编码 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
PRDT_TYPE = #prdtType#,
<!-- 产品类型 -->
PRDT_CODE = #prdtCode#,
<!-- 产品编码 -->
PRDT_NAME = #prdtName#,
<!-- 产品名称 -->
PRDT_LENGTH = #prdtLength#,
<!-- 产品-长 -->
PRDT_WIDTH = #prdtWidth#,
<!-- 产品-宽 -->
PRDT_THICK = #prdtThick#,
<!-- 产品-厚 -->
PRDT_SPEC = #prdtSpec#,
<!-- 产品规格 -->
PART_TYPE = #partType#,
<!-- 零件类型 -->
PART_CODE = #partCode#,
<!-- 零件编码 -->
PART_NAME = #partName#,
<!-- 零件名称 -->
PART_LENGTH = #partLength#,
<!-- 零件-长 -->
PART_WIDTH = #partWidth#,
<!-- 零件-宽 -->
PART_THICK = #partThick#,
<!-- 零件-厚 -->
PART_SPEC = #partSpec#,
<!-- 零件规格 -->
SUBMIT_STATUS = #submitStatus#,
<!-- 提交状态 -->
SUBMIT_STATUS = #submitStatus#,
<!-- 提交状态 -->
SOURCE_CODE = #sourceCode#,
<!-- 提交状态 -->
SOURCE_CODE = #sourceCode#,
<!-- 提交状态 -->
SOURCE = #source#
<!-- 数据来源 -->
SOURCE = #source#
<!-- 数据来源 -->
...
@@ -314,20 +230,6 @@
...
@@ -314,20 +230,6 @@
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PRDT_TYPE as "prdtType",
<!-- 产品类型 -->
PRDT_CODE as "prdtCode",
<!-- 产品编码 -->
PRDT_NAME as "prdtName",
<!-- 产品名称 -->
PRDT_LENGTH as "prdtLength",
<!-- 产品-长 -->
PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
PART_TYPE as "partType",
<!-- 零件类型 -->
PART_CODE as "partCode",
<!-- 零件编码 -->
PART_NAME as "partName",
<!-- 零件名称 -->
PART_LENGTH as "partLength",
<!-- 零件-长 -->
PART_WIDTH as "partWidth",
<!-- 零件-宽 -->
PART_THICK as "partThick",
<!-- 零件-厚 -->
PART_SPEC as "partSpec",
<!-- 零件规格 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SOURCE_CODE as "sourceCode",
<!-- 数据来源编号 -->
SOURCE_CODE as "sourceCode",
<!-- 数据来源编号 -->
SOURCE as "source"
<!-- 数据来源 -->
SOURCE as "source"
<!-- 数据来源 -->
...
@@ -405,20 +307,6 @@
...
@@ -405,20 +307,6 @@
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PRDT_TYPE as "prdtType",
<!-- 产品类型 -->
PRDT_CODE as "prdtCode",
<!-- 产品编码 -->
PRDT_NAME as "prdtName",
<!-- 产品名称 -->
PRDT_LENGTH as "prdtLength",
<!-- 产品-长 -->
PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
PART_TYPE as "partType",
<!-- 零件类型 -->
PART_CODE as "partCode",
<!-- 零件编码 -->
PART_NAME as "partName",
<!-- 零件名称 -->
PART_LENGTH as "partLength",
<!-- 零件-长 -->
PART_WIDTH as "partWidth",
<!-- 零件-宽 -->
PART_THICK as "partThick",
<!-- 零件-厚 -->
PART_SPEC as "partSpec",
<!-- 零件规格 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SOURCE_CODE as "sourceCode",
<!-- 数据来源编号 -->
SOURCE_CODE as "sourceCode",
<!-- 数据来源编号 -->
SOURCE as "source"
<!-- 数据来源 -->
SOURCE as "source"
<!-- 数据来源 -->
...
...
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC006A.xml
View file @
67c1e27a
...
@@ -114,32 +114,8 @@
...
@@ -114,32 +114,8 @@
<isNotEmpty
prepend=
" AND "
property=
"prdtSpec"
>
<isNotEmpty
prepend=
" AND "
property=
"prdtSpec"
>
PRDT_SPEC = #prdtSpec#
PRDT_SPEC = #prdtSpec#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partType"
>
<isNotEmpty
prepend=
" AND "
property=
"prdtCoefficient"
>
PART_TYPE = #partType#
PRDT_COEFFICIENT = #prdtCoefficient#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partCode"
>
PART_CODE = #partCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partName"
>
PART_NAME = #partName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partLength"
>
PART_LENGTH = #partLength#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partWidth"
>
PART_WIDTH = #partWidth#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partThick"
>
PART_THICK = #partThick#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partCoefficient"
>
PART_COEFFICIENT = #partCoefficient#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partSpec"
>
PART_SPEC = #partSpec#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partSpecId"
>
PART_SPEC_ID = #partSpecId#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"primaryId"
>
<isNotEmpty
prepend=
" AND "
property=
"primaryId"
>
PRIMARY_ID = #primaryId#
PRIMARY_ID = #primaryId#
...
@@ -201,15 +177,7 @@
...
@@ -201,15 +177,7 @@
PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
PART_TYPE as "partType",
<!-- 零件类型 -->
PRDT_COEFFICIENT as "prdtCoefficient",
<!-- 产品-系数 -->
PART_CODE as "partCode",
<!-- 零件编码 -->
PART_NAME as "partName",
<!-- 零件名称 -->
PART_LENGTH as "partLength",
<!-- 零件-长 -->
PART_WIDTH as "partWidth",
<!-- 零件-宽 -->
PART_THICK as "partThick",
<!-- 零件-厚 -->
PART_COEFFICIENT as "partCoefficient",
<!-- 零件-系数 -->
PART_SPEC as "partSpec",
<!-- 零件规格 -->
PART_SPEC_ID as "partSpecId",
<!-- 零件规格id -->
PRIMARY_ID as "primaryId",
<!-- 主表id -->
PRIMARY_ID as "primaryId",
<!-- 主表id -->
PRICE as "price",
<!-- 单价 -->
PRICE as "price",
<!-- 单价 -->
AMOUNT as "amount",
<!-- 金额 -->
AMOUNT as "amount",
<!-- 金额 -->
...
@@ -272,22 +240,14 @@
...
@@ -272,22 +240,14 @@
PRDT_WIDTH,
<!-- 产品-宽 -->
PRDT_WIDTH,
<!-- 产品-宽 -->
PRDT_THICK,
<!-- 产品-厚 -->
PRDT_THICK,
<!-- 产品-厚 -->
PRDT_SPEC,
<!-- 产品规格 -->
PRDT_SPEC,
<!-- 产品规格 -->
PART_TYPE,
<!-- 零件类型 -->
PRDT_COEFFICIENT,
<!-- 产品系数 -->
PART_CODE,
<!-- 零件编码 -->
PART_NAME,
<!-- 零件名称 -->
PART_LENGTH,
<!-- 零件-长 -->
PART_WIDTH,
<!-- 零件-宽 -->
PART_THICK,
<!-- 零件-厚 -->
PART_COEFFICIENT,
<!-- 零件系数 -->
PART_SPEC,
<!-- 零件规格 -->
PART_SPEC_ID,
<!-- 零件规格id -->
PRIMARY_ID,
<!-- 主表id -->
PRIMARY_ID,
<!-- 主表id -->
PRICE,
<!-- 单价 -->
PRICE,
<!-- 单价 -->
AMOUNT,
<!-- 金额 -->
AMOUNT,
<!-- 金额 -->
SOURCE,
<!-- 数据来源 -->
SOURCE,
<!-- 数据来源 -->
INVENT_TYPE_DETAIL
INVENT_TYPE_DETAIL
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #otherEnterDate#, #otherEnterNo#, #whCode#, #whName#, #inventRecordId#, #inventType#, #inventCode#, #inventName#, #invQty#, #invUnitWeight#, #invWeight#, #otherEnterNoOld#, #remark#, #factoryCode#, #prodOrderNo#, #prodTaskNo#, #projCode#, #projName#, #prdtType#, #prdtCode#, #prdtName#, #prdtLength#, #prdtWidth#, #prdtThick#, #prdtSpec#, #p
artType#, #partCode#, #partName#, #partLength#, #partWidth#, #partThick#, #partCoefficient#, #partSpec#,#partSpecId
#, #primaryId#, #price#, #amount#, #source#,#inventTypeDetail#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #otherEnterDate#, #otherEnterNo#, #whCode#, #whName#, #inventRecordId#, #inventType#, #inventCode#, #inventName#, #invQty#, #invUnitWeight#, #invWeight#, #otherEnterNoOld#, #remark#, #factoryCode#, #prodOrderNo#, #prodTaskNo#, #projCode#, #projName#, #prdtType#, #prdtCode#, #prdtName#, #prdtLength#, #prdtWidth#, #prdtThick#, #prdtSpec#, #p
rdtCoefficient
#, #primaryId#, #price#, #amount#, #source#,#inventTypeDetail#)
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
@@ -333,15 +293,7 @@
...
@@ -333,15 +293,7 @@
PRDT_WIDTH = #prdtWidth#,
<!-- 产品-宽 -->
PRDT_WIDTH = #prdtWidth#,
<!-- 产品-宽 -->
PRDT_THICK = #prdtThick#,
<!-- 产品-厚 -->
PRDT_THICK = #prdtThick#,
<!-- 产品-厚 -->
PRDT_SPEC = #prdtSpec#,
<!-- 产品规格 -->
PRDT_SPEC = #prdtSpec#,
<!-- 产品规格 -->
PART_TYPE = #partType#,
<!-- 零件类型 -->
PRDT_COEFFICIENT = #prdtCoefficient#,
<!-- 产品-系数 -->
PART_CODE = #partCode#,
<!-- 零件编码 -->
PART_NAME = #partName#,
<!-- 零件名称 -->
PART_LENGTH = #partLength#,
<!-- 零件-长 -->
PART_WIDTH = #partWidth#,
<!-- 零件-宽 -->
PART_THICK = #partThick#,
<!-- 零件-厚 -->
PART_COEFFICIENT = #partCoefficient#,
<!-- 零件-系数 -->
PART_SPEC = #partSpec#,
<!-- 零件规格 -->
PART_SPEC_ID = #partSpecId#,
<!-- 零件规格id -->
PRIMARY_ID = #primaryId#,
<!-- 主表id -->
PRIMARY_ID = #primaryId#,
<!-- 主表id -->
PRICE = #price#,
<!-- 单价 -->
PRICE = #price#,
<!-- 单价 -->
AMOUNT = #amount#,
<!-- 金额 -->
AMOUNT = #amount#,
<!-- 金额 -->
...
@@ -402,15 +354,7 @@
...
@@ -402,15 +354,7 @@
A.PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
A.PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
A.PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
A.PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
A.PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
A.PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
A.PART_TYPE as "partType",
<!-- 零件类型 -->
A.PRDT_COEFFICIENT as "prdtCoefficient",
<!-- 产品-系数 -->
A.PART_CODE as "partCode",
<!-- 零件编码 -->
A.PART_NAME as "partName",
<!-- 零件名称 -->
A.PART_LENGTH as "partLength",
<!-- 零件-长 -->
A.PART_WIDTH as "partWidth",
<!-- 零件-宽 -->
A.PART_THICK as "partThick",
<!-- 零件-厚 -->
A.PART_COEFFICIENT as "partCoefficient",
<!-- 零件-系数 -->
A.PART_SPEC as "partSpec",
<!-- 零件规格 -->
A.PART_SPEC_ID as "partSpecId",
<!-- 零件规格id -->
A.PRIMARY_ID as "primaryId",
<!-- 主表id -->
A.PRIMARY_ID as "primaryId",
<!-- 主表id -->
A.PRICE as "price",
<!-- 单价 -->
A.PRICE as "price",
<!-- 单价 -->
A.AMOUNT as "amount",
<!-- 金额 -->
A.AMOUNT as "amount",
<!-- 金额 -->
...
...
src/main/webapp/HG/KC/HGKC006A.jsp
View file @
67c1e27a
...
@@ -51,6 +51,7 @@
...
@@ -51,6 +51,7 @@
<EF:EFColumn
ename=
"prdtLength"
cname=
"长(MM)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"prdtLength"
cname=
"长(MM)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"prdtWidth"
cname=
"宽(MM)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"prdtWidth"
cname=
"宽(MM)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"prdtThick"
cname=
"厚(MM)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"prdtThick"
cname=
"厚(MM)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"prdtCoefficient"
cname=
"系数"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
hidden=
"true"
/>
<EF:EFColumn
ename=
"invQty"
cname=
"数量"
width=
"120"
align=
"right"
format=
"{0:N0}"
<EF:EFColumn
ename=
"invQty"
cname=
"数量"
width=
"120"
align=
"right"
format=
"{0:N0}"
defaultValue=
"0"
defaultValue=
"0"
data-regex=
"/^-?[0-9]{1,17}([.][0-9]{1,3})?$/"
data-regex=
"/^-?[0-9]{1,17}([.][0-9]{1,3})?$/"
...
...
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