Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-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
hp-smart
Commits
f2d28b86
Commit
f2d28b86
authored
Jan 25, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.采购入库实体类和XML
parent
5364f889
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
141 additions
and
252 deletions
+141
-252
HPKC001.java
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC001.java
+0
-0
HPKC002.java
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC002.java
+0
-0
HPKC001.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC001.xml
+68
-123
HPKC002.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC002.xml
+71
-127
HPPZ002.jsp
src/main/webapp/HP/PZ/HPPZ002.jsp
+2
-2
No files found.
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC001.java
View file @
f2d28b86
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC002.java
View file @
f2d28b86
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC001.xml
View file @
f2d28b86
...
@@ -2,6 +2,30 @@
...
@@ -2,6 +2,30 @@
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd">
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd">
<sqlMap
namespace=
"HPKC001"
>
<sqlMap
namespace=
"HPKC001"
>
<sql
id=
"column"
>
ID as "id",
<!-- 主键id -->
COMPANY_CODE as "companyCode",
<!-- 企业编码 预留 -->
DEP_CODE as "depCode",
<!-- 部门编码 -->
CREATED_BY as "createdBy",
<!-- 创建人 -->
CREATED_NAME as "createdName",
<!-- 创建人名称 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
UPDATED_BY as "updatedBy",
<!-- 更新人 -->
UPDATED_NAME as "updatedName",
<!-- 更新人名称 -->
UPDATED_TIME as "updatedTime",
<!-- 更新时间 -->
PURCHASE_CODE as "purchaseCode",
<!-- 采购单号 -->
RECEIPT_DATE as "receiptDate",
<!-- 单据日期 -->
WH_CODE as "whCode",
<!-- 仓库编码 -->
WH_NAME as "whName",
<!-- 仓库名称 -->
INVENT_TYPE as "inventType",
<!-- 存货类型 -->
INVENT_CODE as "inventCode",
<!-- 存货编码 -->
INVENT_NAME as "inventName",
<!-- 存货名称 -->
INVENT_RECORD_ID as "inventRecordId",
<!-- 存货档案ID -->
AMOUNT as "amount",
<!-- 数量 -->
WEIGHT as "weight",
<!-- 重量 -->
REMARKS as "remarks",
<!-- 备注 -->
DELETE_FLAG as "deleteFlag"
<!-- 是否删除0.否1.是 -->
</sql>
<sql
id=
"condition"
>
<sql
id=
"condition"
>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
ID = #id#
...
@@ -25,35 +49,10 @@
...
@@ -25,35 +49,10 @@
CREATED_TIME BETWEEN #createdTimeFrom# AND #createdTimeTo#
CREATED_TIME BETWEEN #createdTimeFrom# AND #createdTimeTo#
</isNotEmpty>
</isNotEmpty>
</sql>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
<select
id=
"query"
parameterClass=
"java.util.HashMap"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC001"
>
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC001"
>
SELECT
SELECT
<include
refid=
"column"
/>
ID as "id",
COMPANY_CODE as "companyCode",
<!-- 企业编码 预留 -->
CREATED_BY as "createdBy",
<!-- 创建人 -->
CREATED_NAME as "createdName",
<!-- 创建人名称 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
UPDATED_BY as "updatedBy",
<!-- 更新人 -->
UPDATED_NAME as "updatedName",
<!-- 更新人名称 -->
UPDATED_TIME as "updatedTime",
<!-- 更新时间 -->
DEP_CODE as "depCode",
<!-- 部门编码 -->
STATUS as "status",
<!-- 数据状态 1正常 0删除 -->
DOCUMENT_CODE as "documentCode",
<!-- 采购入库单号 -->
DOCUMENT_TIME as "documentTime",
<!-- 单据日期 -->
WH_CODE as "whCode",
<!-- 仓库编码 -->
WH_NAME as "whName",
<!-- 仓库名称 -->
MATERIAL_TYPE as "materialType",
<!-- 存货类型编码 -->
MATERIAL_TYPE_NAME as "materialTypeName",
<!-- 存货类型名称 -->
MATERIAL_CODE as "materialCode",
<!-- 存货编码 -->
MATERIAL_NAME as "materialName",
<!-- 存货名称 -->
SPEC as "spec",
<!-- 规格 -->
UNIT as "unit",
<!-- 单位 -->
QUANTITY as "quantity",
<!-- 数量 -->
WEIGHT as "weight",
<!-- 重量 -->
REMARKS as "remarks",
<!-- 备注 -->
APPROVAL_STATUS as "approvalStatus",
<!-- 审批状态:1-保存,2-已提交,3-审批通过,4-审批拒绝 -->
CUST_CODE as "custCode",
<!-- 供应商编码 -->
CUST_NAME as "custName"
<!-- 供应商名称 -->
FROM hpjx.t_hpkc001 WHERE 1=1
FROM hpjx.t_hpkc001 WHERE 1=1
<include
refid=
"condition"
/>
<include
refid=
"condition"
/>
<dynamic
prepend=
"ORDER BY"
>
<dynamic
prepend=
"ORDER BY"
>
...
@@ -71,43 +70,36 @@
...
@@ -71,43 +70,36 @@
<include
refid=
"condition"
/>
<include
refid=
"condition"
/>
</select>
</select>
<insert
id=
"insert"
>
<insert
id=
"insert"
>
INSERT INTO hpjx.t_hpkc001 (
INSERT INTO ${hpjxSchema}.T_HPKC001 (
COMPANY_CODE,
<!-- 企业编码 预留 -->
COMPANY_CODE,
<!-- 企业编码 预留 -->
CREATED_BY,
<!-- 创建人 -->
DEP_CODE,
<!-- 部门编码 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_TIME,
<!-- 创建时间 -->
CREATED_NAME,
<!-- 创建人名称 -->
UPDATED_BY,
<!-- 更新人 -->
CREATED_TIME,
<!-- 创建时间 -->
UPDATED_NAME,
<!-- 更新人名称 -->
PURCHASE_CODE,
<!-- 采购单号 -->
UPDATED_TIME,
<!-- 更新时间 -->
RECEIPT_DATE,
<!-- 单据日期 -->
DEP_CODE,
<!-- 部门编码 -->
WH_CODE,
<!-- 仓库编码 -->
STATUS,
<!-- 数据状态 1正常 0删除 -->
WH_NAME,
<!-- 仓库名称 -->
DOCUMENT_CODE,
<!-- 采购入库单号 -->
INVENT_TYPE,
<!-- 存货类型 -->
DOCUMENT_TIME,
<!-- 单据日期 -->
INVENT_CODE,
<!-- 存货编码 -->
WH_CODE,
<!-- 仓库编码 -->
INVENT_NAME,
<!-- 存货名称 -->
WH_NAME,
<!-- 仓库名称 -->
INVENT_RECORD_ID,
<!-- 存货档案ID -->
MATERIAL_TYPE,
<!-- 存货类型编码 -->
AMOUNT,
<!-- 数量 -->
MATERIAL_TYPE_NAME,
<!-- 存货类型名称 -->
WEIGHT,
<!-- 重量 -->
MATERIAL_CODE,
<!-- 存货编码 -->
REMARKS,
<!-- 备注 -->
MATERIAL_NAME,
<!-- 存货名称 -->
DELETE_FLAG
<!-- 是否删除0.否1.是 -->
SPEC,
<!-- 规格 -->
) VALUES (
UNIT,
<!-- 单位 -->
#companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#,
QUANTITY,
<!-- 数量 -->
#purchaseCode#, #receiptDate#, #whCode#, #whName#, #inventType#,
WEIGHT,
<!-- 重量 -->
#inventCode#, #inventName#, #inventRecordId#, #amount#, #weight#,
REMARKS,
<!-- 备注 -->
#remarks#, #deleteFlag#
APPROVAL_STATUS,
<!-- 审批状态:1-保存,2-已提交,3-审批通过,4-审批拒绝 -->
)
CUST_CODE,
<!-- 供应商编码 -->
</insert>
CUST_NAME
<!-- 供应商名称 -->
)
VALUES (#companyCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#,
#updatedName#, #updatedTime#,#depCode#, #status#, #documentCode#,
#documentTime#, #whCode#, #whName#, #materialType#, #materialTypeName#,
#materialCode#, #materialName#, #spec#, #unit#, #quantity#,
#weight#, #remarks#, #approvalStatus#, #custCode#, #custName#)
</insert>
<!-- 逻辑删除 -->
<delete
id=
"delete"
>
<delete
id=
"delete"
>
DELETE FROM hpjx.t_hpkc00
1 WHERE ID = #id#
UPDATE hpjx.t_hpkc001 SET DELETE_FLAG =
1 WHERE ID = #id#
</delete>
</delete>
<update
id=
"approvalStatusUpdate"
>
<update
id=
"approvalStatusUpdate"
>
...
@@ -119,67 +111,20 @@
...
@@ -119,67 +111,20 @@
<update
id=
"update"
>
<update
id=
"update"
>
UPDATE hpjx.t_hpkc001
UPDATE hpjx.t_hpkc001
SET
SET
UPDATED_BY = #updatedBy#,
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_NAME = #updatedName#,
UPDATED_NAME = #updatedName#,
<!-- 更新人名称 -->
UPDATED_TIME = #updatedTime#
UPDATED_TIME = #updatedTime#,
<!-- 更新时间 -->
<isNotEmpty
property=
"companyCode"
>
RECEIPT_DATE = #receiptDate#,
<!-- 单据日期 -->
,COMPANY_CODE = #companyCode#
WH_CODE = #whCode#,
<!-- 仓库编码 -->
</isNotEmpty>
WH_NAME = #whName#,
<!-- 仓库名称 -->
<isNotEmpty
property=
"depCode"
>
INVENT_TYPE = #inventType#,
<!-- 存货类型 -->
,DEP_CODE = #depCode#
INVENT_CODE = #inventCode#,
<!-- 存货编码 -->
</isNotEmpty>
INVENT_NAME = #inventName#,
<!-- 存货名称 -->
<isNotEmpty
property=
"STATUS"
>
INVENT_RECORD_ID = #inventRecordId#,
<!-- 存货档案ID -->
,STATUS = #status#
AMOUNT = #amount#,
<!-- 数量 -->
</isNotEmpty>
WEIGHT = #weight#,
<!-- 重量 -->
<isNotEmpty
property=
"documentCode"
>
REMARKS = #remarks#
<!-- 备注 -->
,DOCUMENT_CODE = #documentCode#
WHERE ID = #id#
</isNotEmpty>
<isNotEmpty
property=
"documentTime"
>
,DOCUMENT_TIME = #documentTime#
</isNotEmpty>
<isNotEmpty
property=
"whCode"
>
,WH_CODE = #whCode#
</isNotEmpty>
<isNotEmpty
property=
"whName"
>
,WH_NAME = #whName#
</isNotEmpty>
<isNotEmpty
property=
"materialType"
>
,MATERIAL_TYPE = #materialType#
</isNotEmpty>
<isNotEmpty
property=
"materialTypeName"
>
,MATERIAL_TYPE_NAME = #materialTypeName#
</isNotEmpty>
<isNotEmpty
property=
"materialCode"
>
,MATERIAL_CODE = #materialCode#
</isNotEmpty>
<isNotEmpty
property=
"materialName"
>
,MATERIAL_NAME = #materialName#
</isNotEmpty>
<isNotEmpty
property=
"spec"
>
,SPEC = #spec#
</isNotEmpty>
<isNotEmpty
property=
"unit"
>
,UNIT = #unit#
</isNotEmpty>
<isNotEmpty
property=
"quantity"
>
,QUANTITY = #quantity#
</isNotEmpty>
<isNotEmpty
property=
"weight"
>
,WEIGHT = #weight#
</isNotEmpty>
<isNotEmpty
property=
"remarks"
>
,REMARKS = #remarks#
</isNotEmpty>
<isNotEmpty
property=
"approvalStatus"
>
,APPROVAL_STATUS = #approvalStatus#
</isNotEmpty>
<isNotEmpty
property=
"custCode"
>
,CUST_CODE = #custCode#
</isNotEmpty>
<isNotEmpty
property=
"custName"
>
,CUST_NAME = #custName#
</isNotEmpty>
WHERE ID = #id#
</update>
</update>
<!-- 统计库存 -->
<!-- 统计库存 -->
...
...
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC002.xml
View file @
f2d28b86
...
@@ -2,6 +2,30 @@
...
@@ -2,6 +2,30 @@
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd">
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd">
<sqlMap
namespace=
"HPKC002"
>
<sqlMap
namespace=
"HPKC002"
>
<sql
id=
"column"
>
ID as "id",
<!-- 主键id -->
COMPANY_CODE as "companyCode",
<!-- 企业编码 预留 -->
DEP_CODE as "depCode",
<!-- 部门编码 -->
CREATED_BY as "createdBy",
<!-- 创建人 -->
CREATED_NAME as "createdName",
<!-- 创建人名称 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
UPDATED_BY as "updatedBy",
<!-- 更新人 -->
UPDATED_NAME as "updatedName",
<!-- 更新人名称 -->
UPDATED_TIME as "updatedTime",
<!-- 更新时间 -->
REQ_CODE as "reqCode",
<!-- 领料单号 -->
RECEIPT_DATE as "receiptDate",
<!-- 单据日期 -->
WH_CODE as "whCode",
<!-- 仓库编码 -->
WH_NAME as "whName",
<!-- 仓库名称 -->
INVENT_TYPE as "inventType",
<!-- 存货类型 -->
INVENT_CODE as "inventCode",
<!-- 存货编码 -->
INVENT_NAME as "inventName",
<!-- 存货名称 -->
INVENT_RECORD_ID as "inventRecordId",
<!-- 存货档案ID -->
AMOUNT as "amount",
<!-- 数量 -->
WEIGHT as "weight",
<!-- 重量 -->
REMARKS as "remarks",
<!-- 备注 -->
DELETE_FLAG as "deleteFlag"
<!-- 是否删除0.否1.是 -->
</sql>
<sql
id=
"condition"
>
<sql
id=
"condition"
>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
ID = #id#
...
@@ -27,33 +51,7 @@
...
@@ -27,33 +51,7 @@
</sql>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
<select
id=
"query"
parameterClass=
"java.util.HashMap"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC002"
>
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC002"
>
SELECT
SELECT
<include
refid=
"column"
/>
ID as "id",
COMPANY_CODE as "companyCode",
<!-- 企业编码 预留 -->
CREATED_BY as "createdBy",
<!-- 创建人 -->
CREATED_NAME as "createdName",
<!-- 创建人名称 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
UPDATED_BY as "updatedBy",
<!-- 更新人 -->
UPDATED_NAME as "updatedName",
<!-- 更新人名称 -->
UPDATED_TIME as "updatedTime",
<!-- 更新时间 -->
DEP_CODE as "depCode",
<!-- 部门编码 -->
STATUS as "status",
<!-- 数据状态 1正常 0删除 -->
DOCUMENT_CODE as "documentCode",
<!-- 采购入库单号 -->
DOCUMENT_TIME as "documentTime",
<!-- 单据日期 -->
WH_CODE as "whCode",
<!-- 仓库编码 -->
WH_NAME as "whName",
<!-- 仓库名称 -->
MATERIAL_TYPE as "materialType",
<!-- 存货类型编码 -->
MATERIAL_TYPE_NAME as "materialTypeName",
<!-- 存货类型名称 -->
MATERIAL_CODE as "materialCode",
<!-- 存货编码 -->
MATERIAL_NAME as "materialName",
<!-- 存货名称 -->
SPEC as "spec",
<!-- 规格 -->
UNIT as "unit",
<!-- 单位 -->
QUANTITY as "quantity",
<!-- 数量 -->
WEIGHT as "weight",
<!-- 重量 -->
REMARKS as "remarks",
<!-- 备注 -->
APPROVAL_STATUS as "approvalStatus",
<!-- 审批状态:1-保存,2-已提交,3-审批通过,4-审批拒绝 -->
CUST_CODE as "custCode",
<!-- 供应商编码 -->
CUST_NAME as "custName"
<!-- 供应商名称 -->
FROM hpjx.t_hpkc002 WHERE 1=1
FROM hpjx.t_hpkc002 WHERE 1=1
<include
refid=
"condition"
/>
<include
refid=
"condition"
/>
<dynamic
prepend=
"ORDER BY"
>
<dynamic
prepend=
"ORDER BY"
>
...
@@ -73,110 +71,56 @@
...
@@ -73,110 +71,56 @@
<include
refid=
"condition"
/>
<include
refid=
"condition"
/>
</select>
</select>
<insert
id=
"insert"
>
<insert
id=
"insert"
>
INSERT INTO hpjx.t_hpkc002 (
INSERT INTO ${hpjxSchema}.T_HPKC002 (
COMPANY_CODE,
<!-- 企业编码 预留 -->
COMPANY_CODE,
<!-- 企业编码 预留 -->
CREATED_BY,
<!-- 创建人 -->
DEP_CODE,
<!-- 部门编码 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_TIME,
<!-- 创建时间 -->
CREATED_NAME,
<!-- 创建人名称 -->
UPDATED_BY,
<!-- 更新人 -->
CREATED_TIME,
<!-- 创建时间 -->
UPDATED_NAME,
<!-- 更新人名称 -->
REQ_CODE,
<!-- 领料单号 -->
UPDATED_TIME,
<!-- 更新时间 -->
RECEIPT_DATE,
<!-- 单据日期 -->
DEP_CODE,
<!-- 部门编码 -->
WH_CODE,
<!-- 仓库编码 -->
STATUS,
<!-- 数据状态 1正常 0删除 -->
WH_NAME,
<!-- 仓库名称 -->
DOCUMENT_CODE,
<!-- 采购入库单号 -->
INVENT_TYPE,
<!-- 存货类型 -->
DOCUMENT_TIME,
<!-- 单据日期 -->
INVENT_CODE,
<!-- 存货编码 -->
WH_CODE,
<!-- 仓库编码 -->
INVENT_NAME,
<!-- 存货名称 -->
WH_NAME,
<!-- 仓库名称 -->
INVENT_RECORD_ID,
<!-- 存货档案ID -->
MATERIAL_TYPE,
<!-- 存货类型编码 -->
AMOUNT,
<!-- 数量 -->
MATERIAL_TYPE_NAME,
<!-- 存货类型名称 -->
WEIGHT,
<!-- 重量 -->
MATERIAL_CODE,
<!-- 存货编码 -->
REMARKS,
<!-- 备注 -->
MATERIAL_NAME,
<!-- 存货名称 -->
DELETE_FLAG
<!-- 是否删除0.否1.是 -->
SPEC,
<!-- 规格 -->
) VALUES (
UNIT,
<!-- 单位 -->
#companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#,
QUANTITY,
<!-- 数量 -->
#reqCode#, #receiptDate#, #whCode#, #whName#, #inventType#, #inventCode#,
WEIGHT,
<!-- 重量 -->
#inventName#, #inventRecordId#, #amount#, #weight#, #remarks#, #deleteFlag#
REMARKS,
<!-- 备注 -->
)
APPROVAL_STATUS,
<!-- 审批状态:1-保存,2-已提交,3-审批通过,4-审批拒绝 -->
</insert>
CUST_CODE,
<!-- 供应商编码 -->
CUST_NAME
<!-- 供应商名称 -->
)
VALUES (#companyCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#,
#updatedName#, #updatedTime#,#depCode#, #status#, #documentCode#,
#documentTime#, #whCode#, #whName#, #materialType#, #materialTypeName#,
#materialCode#, #materialName#, #spec#, #unit#, #quantity#,
#weight#, #remarks#, #approvalStatus#, #custCode#, #custName#)
</insert>
<!-- 逻辑删除 -->
<delete
id=
"delete"
>
<delete
id=
"delete"
>
DELETE FROM hpjx.t_hpkc002
WHERE ID = #id#
UPDATE hpjx.t_hpkc002 SET DELETE_FLAG = 1
WHERE ID = #id#
</delete>
</delete>
<update
id=
"update"
>
<update
id=
"update"
>
UPDATE hpjx.t_hpkc002
UPDATE ${hpjxSchema}.T_HPKC002
SET
SET
UPDATED_BY = #updatedBy#,
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_BY = #updatedBy#,
UPDATED_NAME = #updatedName#,
<!-- 更新人名称 -->
UPDATED_BY = #updatedBy#
UPDATED_TIME = #updatedTime#,
<!-- 更新时间 -->
<isNotEmpty
property=
"companyCode"
>
REQ_CODE = #reqCode#,
<!-- 领料单号 -->
,COMPANY_CODE = #companyCode#
RECEIPT_DATE = #receiptDate#,
<!-- 单据日期 -->
</isNotEmpty>
WH_CODE = #whCode#,
<!-- 仓库编码 -->
<isNotEmpty
property=
"depCode"
>
WH_NAME = #whName#,
<!-- 仓库名称 -->
,DEP_CODE = #depCode#
INVENT_TYPE = #inventType#,
<!-- 存货类型 -->
</isNotEmpty>
INVENT_CODE = #inventCode#,
<!-- 存货编码 -->
<isNotEmpty
property=
"STATUS"
>
INVENT_NAME = #inventName#,
<!-- 存货名称 -->
,STATUS = #status#
INVENT_RECORD_ID = #inventRecordId#,
<!-- 存货档案ID -->
</isNotEmpty>
AMOUNT = #amount#,
<!-- 数量 -->
<isNotEmpty
property=
"documentCode"
>
WEIGHT = #weight#,
<!-- 重量 -->
,DOCUMENT_CODE = #documentCode#
REMARKS = #remarks#
<!-- 备注 -->
</isNotEmpty>
WHERE ID = #id#
<isNotEmpty
property=
"documentTime"
>
</update>
,DOCUMENT_TIME = #documentTime#
</isNotEmpty>
<isNotEmpty
property=
"whCode"
>
,WH_CODE = #whCode#
</isNotEmpty>
<isNotEmpty
property=
"whName"
>
,WH_NAME = #whName#
</isNotEmpty>
<isNotEmpty
property=
"materialType"
>
,MATERIAL_TYPE = #materialType#
</isNotEmpty>
<isNotEmpty
property=
"materialTypeName"
>
,MATERIAL_TYPE_NAME = #materialTypeName#
</isNotEmpty>
<isNotEmpty
property=
"materialCode"
>
,MATERIAL_CODE = #materialCode#
</isNotEmpty>
<isNotEmpty
property=
"materialName"
>
,MATERIAL_NAME = #materialName#
</isNotEmpty>
<isNotEmpty
property=
"spec"
>
,SPEC = #spec#
</isNotEmpty>
<isNotEmpty
property=
"unit"
>
,UNIT = #unit#
</isNotEmpty>
<isNotEmpty
property=
"quantity"
>
,QUANTITY = #quantity#
</isNotEmpty>
<isNotEmpty
property=
"weight"
>
,WEIGHT = #weight#
</isNotEmpty>
<isNotEmpty
property=
"remarks"
>
,REMARKS = #remarks#
</isNotEmpty>
<isNotEmpty
property=
"approvalStatus"
>
,APPROVAL_STATUS = #approvalStatus#
</isNotEmpty>
<isNotEmpty
property=
"custCode"
>
,CUST_CODE = #custCode#
</isNotEmpty>
<isNotEmpty
property=
"custName"
>
,CUST_NAME = #custName#
</isNotEmpty>
WHERE ID = #id#
</update>
<!-- 统计库存 -->
<!-- 统计库存 -->
<select
id=
"statDate"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC002"
>
<select
id=
"statDate"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC002"
>
...
...
src/main/webapp/HP/PZ/HPPZ002.jsp
View file @
f2d28b86
...
@@ -35,10 +35,10 @@
...
@@ -35,10 +35,10 @@
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
width=
"100"
required=
"true"
>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
width=
"100"
required=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"created
By
"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"created
Name
"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
<EF:EFColumn
ename=
"updated
By
"
cname=
"更新人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"updated
Name
"
cname=
"更新人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
enable=
"false"
width=
"140"
align=
"center"
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
enable=
"false"
width=
"140"
align=
"center"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
</EF:EFGrid>
</EF:EFGrid>
...
...
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