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
6b459ec4
Commit
6b459ec4
authored
Jun 11, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-06-11 库存盘点单
parent
6fb7aae6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
895 additions
and
0 deletions
+895
-0
HGKC005.java
src/main/java/com/baosight/hggp/hg/kc/domain/HGKC005.java
+895
-0
No files found.
src/main/java/com/baosight/hggp/hg/kc/domain/HGKC005.java
0 → 100644
View file @
6b459ec4
package
com
.
baosight
.
hggp
.
hg
.
kc
.
domain
;
import
com.baosight.iplat4j.core.util.NumberUtils
;
import
java.math.BigDecimal
;
import
com.baosight.iplat4j.core.ei.EiColumn
;
import
com.baosight.iplat4j.core.data.DaoEPBase
;
import
java.util.HashMap
;
import
java.util.Map
;
import
com.baosight.iplat4j.core.util.StringUtils
;
/**
* Project: <br>
* Title:Hgkc005.java <br>
* Description: <br>
*
* Copyrigth:Baosight Software LTD.co Copyright (c) 2019. <br>
*
* @version 1.0
* @history 2024-06-11 18:47:19 create
*/
public
class
HGKC005
extends
DaoEPBase
{
private
static
final
long
serialVersionUID
=
1L
;
public
static
final
String
FIELD_ID
=
"id"
;
public
static
final
String
FIELD_ACCOUNT_CODE
=
"accountCode"
;
/* 企业编码*/
public
static
final
String
FIELD_DEP_CODE
=
"depCode"
;
/* 部门编码*/
public
static
final
String
FIELD_RECEIPT_DATE
=
"receiptDate"
;
/* 单据日期*/
public
static
final
String
FIELD_CHECK_NO
=
"checkNo"
;
/* 盘点单号*/
public
static
final
String
FIELD_COMPANY_CODE
=
"companyCode"
;
/* 公司编码*/
public
static
final
String
FIELD_COMPANY_NAME
=
"companyName"
;
/* 公司名称*/
public
static
final
String
FIELD_WH_CODE
=
"whCode"
;
/* 仓库编码*/
public
static
final
String
FIELD_WH_NAME
=
"whName"
;
/* 仓库名称*/
public
static
final
String
FIELD_INVENT_TYPE
=
"inventType"
;
/* 存货类型*/
public
static
final
String
FIELD_INVENT_CODE
=
"inventCode"
;
/* 存货编码*/
public
static
final
String
FIELD_INVENT_NAME
=
"inventName"
;
/* 存货名称*/
public
static
final
String
FIELD_INVENT_RECORD_ID
=
"inventRecordId"
;
/* 存货档案ID*/
public
static
final
String
FIELD_BOOK_AMOUNT
=
"bookAmount"
;
/* 账面数量*/
public
static
final
String
FIELD_BOOK_UNIT_WEIGHT
=
"bookUnitWeight"
;
/* 单重*/
public
static
final
String
FIELD_BOOK_WEIGHT
=
"bookWeight"
;
/* 账面重量*/
public
static
final
String
FIELD_ENTITY_AMOUNT
=
"entityAmount"
;
/* 实物数量*/
public
static
final
String
FIELD_ENTITY_UNIT_WEIGHT
=
"entityUnitWeight"
;
/* 单重*/
public
static
final
String
FIELD_ENTITY_WEIGHT
=
"entityWeight"
;
/* 实物重量*/
public
static
final
String
FIELD_DIFF_AMOUNT
=
"diffAmount"
;
/* 差异数量*/
public
static
final
String
FIELD_DIFF_WEIGHT
=
"diffWeight"
;
/* 差异重量*/
public
static
final
String
FIELD_KC_ID
=
"kcId"
;
/* 库存ID*/
public
static
final
String
FIELD_STATUS
=
"status"
;
/* 单据状态 0待审核 1已审核*/
public
static
final
String
FIELD_REMARK
=
"remark"
;
/* 备注*/
public
static
final
String
FIELD_OLD_CHECK_NO
=
"oldCheckNo"
;
/* 原盘点单号*/
public
static
final
String
FIELD_CREATED_BY
=
"createdBy"
;
/* 创建人*/
public
static
final
String
FIELD_CREATED_NAME
=
"createdName"
;
/* 创建人名称*/
public
static
final
String
FIELD_CREATED_TIME
=
"createdTime"
;
/* 创建时间*/
public
static
final
String
FIELD_UPDATED_BY
=
"updatedBy"
;
/* 更新人*/
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 更新人名称*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 更新时间*/
public
static
final
String
FIELD_DELETE_FLAG
=
"deleteFlag"
;
/* 是否删除0.否1.是*/
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_ACCOUNT_CODE
=
"ACCOUNT_CODE"
;
/* 企业编码*/
public
static
final
String
COL_DEP_CODE
=
"DEP_CODE"
;
/* 部门编码*/
public
static
final
String
COL_RECEIPT_DATE
=
"RECEIPT_DATE"
;
/* 单据日期*/
public
static
final
String
COL_CHECK_NO
=
"CHECK_NO"
;
/* 盘点单号*/
public
static
final
String
COL_COMPANY_CODE
=
"COMPANY_CODE"
;
/* 公司编码*/
public
static
final
String
COL_COMPANY_NAME
=
"COMPANY_NAME"
;
/* 公司名称*/
public
static
final
String
COL_WH_CODE
=
"WH_CODE"
;
/* 仓库编码*/
public
static
final
String
COL_WH_NAME
=
"WH_NAME"
;
/* 仓库名称*/
public
static
final
String
COL_INVENT_TYPE
=
"INVENT_TYPE"
;
/* 存货类型*/
public
static
final
String
COL_INVENT_CODE
=
"INVENT_CODE"
;
/* 存货编码*/
public
static
final
String
COL_INVENT_NAME
=
"INVENT_NAME"
;
/* 存货名称*/
public
static
final
String
COL_INVENT_RECORD_ID
=
"INVENT_RECORD_ID"
;
/* 存货档案ID*/
public
static
final
String
COL_BOOK_AMOUNT
=
"BOOK_AMOUNT"
;
/* 账面数量*/
public
static
final
String
COL_BOOK_UNIT_WEIGHT
=
"BOOK_UNIT_WEIGHT"
;
/* 单重*/
public
static
final
String
COL_BOOK_WEIGHT
=
"BOOK_WEIGHT"
;
/* 账面重量*/
public
static
final
String
COL_ENTITY_AMOUNT
=
"ENTITY_AMOUNT"
;
/* 实物数量*/
public
static
final
String
COL_ENTITY_UNIT_WEIGHT
=
"ENTITY_UNIT_WEIGHT"
;
/* 单重*/
public
static
final
String
COL_ENTITY_WEIGHT
=
"ENTITY_WEIGHT"
;
/* 实物重量*/
public
static
final
String
COL_DIFF_AMOUNT
=
"DIFF_AMOUNT"
;
/* 差异数量*/
public
static
final
String
COL_DIFF_WEIGHT
=
"DIFF_WEIGHT"
;
/* 差异重量*/
public
static
final
String
COL_KC_ID
=
"KC_ID"
;
/* 库存ID*/
public
static
final
String
COL_STATUS
=
"STATUS"
;
/* 单据状态 0待审核 1已审核*/
public
static
final
String
COL_REMARK
=
"REMARK"
;
/* 备注*/
public
static
final
String
COL_OLD_CHECK_NO
=
"OLD_CHECK_NO"
;
/* 原盘点单号*/
public
static
final
String
COL_CREATED_BY
=
"CREATED_BY"
;
/* 创建人*/
public
static
final
String
COL_CREATED_NAME
=
"CREATED_NAME"
;
/* 创建人名称*/
public
static
final
String
COL_CREATED_TIME
=
"CREATED_TIME"
;
/* 创建时间*/
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 更新人*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 更新人名称*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 更新时间*/
public
static
final
String
COL_DELETE_FLAG
=
"DELETE_FLAG"
;
/* 是否删除0.否1.是*/
public
static
final
String
QUERY
=
"HGKC005.query"
;
public
static
final
String
COUNT
=
"HGKC005.count"
;
public
static
final
String
INSERT
=
"HGKC005.insert"
;
public
static
final
String
UPDATE
=
"HGKC005.update"
;
public
static
final
String
DELETE
=
"HGKC005.delete"
;
private
Long
id
=
new
Long
(
0
);
private
String
accountCode
=
" "
;
/* 企业编码*/
private
String
depCode
=
" "
;
/* 部门编码*/
private
String
receiptDate
=
" "
;
/* 单据日期*/
private
String
checkNo
=
" "
;
/* 盘点单号*/
private
String
companyCode
=
" "
;
/* 公司编码*/
private
String
companyName
=
" "
;
/* 公司名称*/
private
String
whCode
=
" "
;
/* 仓库编码*/
private
String
whName
=
" "
;
/* 仓库名称*/
private
String
inventType
=
" "
;
/* 存货类型*/
private
String
inventCode
=
" "
;
/* 存货编码*/
private
String
inventName
=
" "
;
/* 存货名称*/
private
Long
inventRecordId
=
new
Long
(
0
);
/* 存货档案ID*/
private
BigDecimal
bookAmount
=
new
BigDecimal
(
0
);
/* 账面数量*/
private
BigDecimal
bookUnitWeight
=
new
BigDecimal
(
0.000
);
/* 单重*/
private
BigDecimal
bookWeight
=
new
BigDecimal
(
0.000
);
/* 账面重量*/
private
BigDecimal
entityAmount
=
new
BigDecimal
(
0
);
/* 实物数量*/
private
BigDecimal
entityUnitWeight
=
new
BigDecimal
(
0.000
);
/* 单重*/
private
BigDecimal
entityWeight
=
new
BigDecimal
(
0.000
);
/* 实物重量*/
private
BigDecimal
diffAmount
=
new
BigDecimal
(
0
);
/* 差异数量*/
private
BigDecimal
diffWeight
=
new
BigDecimal
(
0.000
);
/* 差异重量*/
private
Long
kcId
=
new
Long
(
0
);
/* 库存ID*/
private
Integer
status
=
0
;
/* 单据状态 0待审核 1已审核*/
private
String
remark
=
" "
;
/* 备注*/
private
String
oldCheckNo
=
" "
;
/* 原盘点单号*/
private
String
createdBy
=
" "
;
/* 创建人*/
private
String
createdName
=
" "
;
/* 创建人名称*/
private
String
createdTime
=
" "
;
/* 创建时间*/
private
String
updatedBy
=
" "
;
/* 更新人*/
private
String
updatedName
=
" "
;
/* 更新人名称*/
private
String
updatedTime
=
" "
;
/* 更新时间*/
private
Integer
deleteFlag
=
0
;
/* 是否删除0.否1.是*/
/**
* initialize the metadata.
*/
public
void
initMetaData
()
{
EiColumn
eiColumn
;
eiColumn
=
new
EiColumn
(
FIELD_ID
);
eiColumn
.
setPrimaryKey
(
true
);
eiColumn
.
setDescName
(
" "
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ACCOUNT_CODE
);
eiColumn
.
setDescName
(
"企业编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_DEP_CODE
);
eiColumn
.
setDescName
(
"部门编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_RECEIPT_DATE
);
eiColumn
.
setDescName
(
"单据日期"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CHECK_NO
);
eiColumn
.
setDescName
(
"盘点单号"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_CODE
);
eiColumn
.
setDescName
(
"公司编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_NAME
);
eiColumn
.
setDescName
(
"公司名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_WH_CODE
);
eiColumn
.
setDescName
(
"仓库编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_WH_NAME
);
eiColumn
.
setDescName
(
"仓库名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_INVENT_TYPE
);
eiColumn
.
setDescName
(
"存货类型"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_INVENT_CODE
);
eiColumn
.
setDescName
(
"存货编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_INVENT_NAME
);
eiColumn
.
setDescName
(
"存货名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_INVENT_RECORD_ID
);
eiColumn
.
setDescName
(
"存货档案ID"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_BOOK_AMOUNT
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
0
);
eiColumn
.
setFieldLength
(
15
);
eiColumn
.
setDescName
(
"账面数量"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_BOOK_UNIT_WEIGHT
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
3
);
eiColumn
.
setFieldLength
(
15
);
eiColumn
.
setDescName
(
"单重"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_BOOK_WEIGHT
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
3
);
eiColumn
.
setFieldLength
(
15
);
eiColumn
.
setDescName
(
"账面重量"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ENTITY_AMOUNT
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
0
);
eiColumn
.
setFieldLength
(
15
);
eiColumn
.
setDescName
(
"实物数量"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ENTITY_UNIT_WEIGHT
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
3
);
eiColumn
.
setFieldLength
(
15
);
eiColumn
.
setDescName
(
"单重"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ENTITY_WEIGHT
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
3
);
eiColumn
.
setFieldLength
(
15
);
eiColumn
.
setDescName
(
"实物重量"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_DIFF_AMOUNT
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
0
);
eiColumn
.
setFieldLength
(
15
);
eiColumn
.
setDescName
(
"差异数量"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_DIFF_WEIGHT
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
3
);
eiColumn
.
setFieldLength
(
15
);
eiColumn
.
setDescName
(
"差异重量"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_KC_ID
);
eiColumn
.
setDescName
(
"库存ID"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_STATUS
);
eiColumn
.
setDescName
(
"单据状态 0待审核 1已审核"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_REMARK
);
eiColumn
.
setDescName
(
"备注"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_OLD_CHECK_NO
);
eiColumn
.
setDescName
(
"原盘点单号"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_BY
);
eiColumn
.
setDescName
(
"创建人"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_NAME
);
eiColumn
.
setDescName
(
"创建人名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_TIME
);
eiColumn
.
setDescName
(
"创建时间"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_BY
);
eiColumn
.
setDescName
(
"更新人"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_NAME
);
eiColumn
.
setDescName
(
"更新人名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_TIME
);
eiColumn
.
setDescName
(
"更新时间"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_DELETE_FLAG
);
eiColumn
.
setDescName
(
"是否删除0.否1.是"
);
eiMetadata
.
addMeta
(
eiColumn
);
}
/**
* the constructor.
*/
public
HGKC005
()
{
initMetaData
();
}
/**
* get the id .
* @return the id
*/
public
Long
getId
()
{
return
this
.
id
;
}
/**
* set the id .
*
* @param id
*/
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
/**
* get the accountCode - 企业编码.
* @return the accountCode
*/
public
String
getAccountCode
()
{
return
this
.
accountCode
;
}
/**
* set the accountCode - 企业编码.
*
* @param accountCode - 企业编码
*/
public
void
setAccountCode
(
String
accountCode
)
{
this
.
accountCode
=
accountCode
;
}
/**
* get the depCode - 部门编码.
* @return the depCode
*/
public
String
getDepCode
()
{
return
this
.
depCode
;
}
/**
* set the depCode - 部门编码.
*
* @param depCode - 部门编码
*/
public
void
setDepCode
(
String
depCode
)
{
this
.
depCode
=
depCode
;
}
/**
* get the receiptDate - 单据日期.
* @return the receiptDate
*/
public
String
getReceiptDate
()
{
return
this
.
receiptDate
;
}
/**
* set the receiptDate - 单据日期.
*
* @param receiptDate - 单据日期
*/
public
void
setReceiptDate
(
String
receiptDate
)
{
this
.
receiptDate
=
receiptDate
;
}
/**
* get the checkNo - 盘点单号.
* @return the checkNo
*/
public
String
getCheckNo
()
{
return
this
.
checkNo
;
}
/**
* set the checkNo - 盘点单号.
*
* @param checkNo - 盘点单号
*/
public
void
setCheckNo
(
String
checkNo
)
{
this
.
checkNo
=
checkNo
;
}
/**
* get the companyCode - 公司编码.
* @return the companyCode
*/
public
String
getCompanyCode
()
{
return
this
.
companyCode
;
}
/**
* set the companyCode - 公司编码.
*
* @param companyCode - 公司编码
*/
public
void
setCompanyCode
(
String
companyCode
)
{
this
.
companyCode
=
companyCode
;
}
/**
* get the companyName - 公司名称.
* @return the companyName
*/
public
String
getCompanyName
()
{
return
this
.
companyName
;
}
/**
* set the companyName - 公司名称.
*
* @param companyName - 公司名称
*/
public
void
setCompanyName
(
String
companyName
)
{
this
.
companyName
=
companyName
;
}
/**
* get the whCode - 仓库编码.
* @return the whCode
*/
public
String
getWhCode
()
{
return
this
.
whCode
;
}
/**
* set the whCode - 仓库编码.
*
* @param whCode - 仓库编码
*/
public
void
setWhCode
(
String
whCode
)
{
this
.
whCode
=
whCode
;
}
/**
* get the whName - 仓库名称.
* @return the whName
*/
public
String
getWhName
()
{
return
this
.
whName
;
}
/**
* set the whName - 仓库名称.
*
* @param whName - 仓库名称
*/
public
void
setWhName
(
String
whName
)
{
this
.
whName
=
whName
;
}
/**
* get the inventType - 存货类型.
* @return the inventType
*/
public
String
getInventType
()
{
return
this
.
inventType
;
}
/**
* set the inventType - 存货类型.
*
* @param inventType - 存货类型
*/
public
void
setInventType
(
String
inventType
)
{
this
.
inventType
=
inventType
;
}
/**
* get the inventCode - 存货编码.
* @return the inventCode
*/
public
String
getInventCode
()
{
return
this
.
inventCode
;
}
/**
* set the inventCode - 存货编码.
*
* @param inventCode - 存货编码
*/
public
void
setInventCode
(
String
inventCode
)
{
this
.
inventCode
=
inventCode
;
}
/**
* get the inventName - 存货名称.
* @return the inventName
*/
public
String
getInventName
()
{
return
this
.
inventName
;
}
/**
* set the inventName - 存货名称.
*
* @param inventName - 存货名称
*/
public
void
setInventName
(
String
inventName
)
{
this
.
inventName
=
inventName
;
}
/**
* get the inventRecordId - 存货档案ID.
* @return the inventRecordId
*/
public
Long
getInventRecordId
()
{
return
this
.
inventRecordId
;
}
/**
* set the inventRecordId - 存货档案ID.
*
* @param inventRecordId - 存货档案ID
*/
public
void
setInventRecordId
(
Long
inventRecordId
)
{
this
.
inventRecordId
=
inventRecordId
;
}
/**
* get the bookAmount - 账面数量.
* @return the bookAmount
*/
public
BigDecimal
getBookAmount
()
{
return
this
.
bookAmount
;
}
/**
* set the bookAmount - 账面数量.
*
* @param bookAmount - 账面数量
*/
public
void
setBookAmount
(
BigDecimal
bookAmount
)
{
this
.
bookAmount
=
bookAmount
;
}
/**
* get the bookUnitWeight - 单重.
* @return the bookUnitWeight
*/
public
BigDecimal
getBookUnitWeight
()
{
return
this
.
bookUnitWeight
;
}
/**
* set the bookUnitWeight - 单重.
*
* @param bookUnitWeight - 单重
*/
public
void
setBookUnitWeight
(
BigDecimal
bookUnitWeight
)
{
this
.
bookUnitWeight
=
bookUnitWeight
;
}
/**
* get the bookWeight - 账面重量.
* @return the bookWeight
*/
public
BigDecimal
getBookWeight
()
{
return
this
.
bookWeight
;
}
/**
* set the bookWeight - 账面重量.
*
* @param bookWeight - 账面重量
*/
public
void
setBookWeight
(
BigDecimal
bookWeight
)
{
this
.
bookWeight
=
bookWeight
;
}
/**
* get the entityAmount - 实物数量.
* @return the entityAmount
*/
public
BigDecimal
getEntityAmount
()
{
return
this
.
entityAmount
;
}
/**
* set the entityAmount - 实物数量.
*
* @param entityAmount - 实物数量
*/
public
void
setEntityAmount
(
BigDecimal
entityAmount
)
{
this
.
entityAmount
=
entityAmount
;
}
/**
* get the entityUnitWeight - 单重.
* @return the entityUnitWeight
*/
public
BigDecimal
getEntityUnitWeight
()
{
return
this
.
entityUnitWeight
;
}
/**
* set the entityUnitWeight - 单重.
*
* @param entityUnitWeight - 单重
*/
public
void
setEntityUnitWeight
(
BigDecimal
entityUnitWeight
)
{
this
.
entityUnitWeight
=
entityUnitWeight
;
}
/**
* get the entityWeight - 实物重量.
* @return the entityWeight
*/
public
BigDecimal
getEntityWeight
()
{
return
this
.
entityWeight
;
}
/**
* set the entityWeight - 实物重量.
*
* @param entityWeight - 实物重量
*/
public
void
setEntityWeight
(
BigDecimal
entityWeight
)
{
this
.
entityWeight
=
entityWeight
;
}
/**
* get the diffAmount - 差异数量.
* @return the diffAmount
*/
public
BigDecimal
getDiffAmount
()
{
return
this
.
diffAmount
;
}
/**
* set the diffAmount - 差异数量.
*
* @param diffAmount - 差异数量
*/
public
void
setDiffAmount
(
BigDecimal
diffAmount
)
{
this
.
diffAmount
=
diffAmount
;
}
/**
* get the diffWeight - 差异重量.
* @return the diffWeight
*/
public
BigDecimal
getDiffWeight
()
{
return
this
.
diffWeight
;
}
/**
* set the diffWeight - 差异重量.
*
* @param diffWeight - 差异重量
*/
public
void
setDiffWeight
(
BigDecimal
diffWeight
)
{
this
.
diffWeight
=
diffWeight
;
}
/**
* get the kcId - 库存ID.
* @return the kcId
*/
public
Long
getKcId
()
{
return
this
.
kcId
;
}
/**
* set the kcId - 库存ID.
*
* @param kcId - 库存ID
*/
public
void
setKcId
(
Long
kcId
)
{
this
.
kcId
=
kcId
;
}
/**
* get the status - 单据状态 0待审核 1已审核.
* @return the status
*/
public
Integer
getStatus
()
{
return
this
.
status
;
}
/**
* set the status - 单据状态 0待审核 1已审核.
*
* @param status - 单据状态 0待审核 1已审核
*/
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
/**
* get the remark - 备注.
* @return the remark
*/
public
String
getRemark
()
{
return
this
.
remark
;
}
/**
* set the remark - 备注.
*
* @param remark - 备注
*/
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
/**
* get the oldCheckNo - 原盘点单号.
* @return the oldCheckNo
*/
public
String
getOldCheckNo
()
{
return
this
.
oldCheckNo
;
}
/**
* set the oldCheckNo - 原盘点单号.
*
* @param oldCheckNo - 原盘点单号
*/
public
void
setOldCheckNo
(
String
oldCheckNo
)
{
this
.
oldCheckNo
=
oldCheckNo
;
}
/**
* get the createdBy - 创建人.
* @return the createdBy
*/
public
String
getCreatedBy
()
{
return
this
.
createdBy
;
}
/**
* set the createdBy - 创建人.
*
* @param createdBy - 创建人
*/
public
void
setCreatedBy
(
String
createdBy
)
{
this
.
createdBy
=
createdBy
;
}
/**
* get the createdName - 创建人名称.
* @return the createdName
*/
public
String
getCreatedName
()
{
return
this
.
createdName
;
}
/**
* set the createdName - 创建人名称.
*
* @param createdName - 创建人名称
*/
public
void
setCreatedName
(
String
createdName
)
{
this
.
createdName
=
createdName
;
}
/**
* get the createdTime - 创建时间.
* @return the createdTime
*/
public
String
getCreatedTime
()
{
return
this
.
createdTime
;
}
/**
* set the createdTime - 创建时间.
*
* @param createdTime - 创建时间
*/
public
void
setCreatedTime
(
String
createdTime
)
{
this
.
createdTime
=
createdTime
;
}
/**
* get the updatedBy - 更新人.
* @return the updatedBy
*/
public
String
getUpdatedBy
()
{
return
this
.
updatedBy
;
}
/**
* set the updatedBy - 更新人.
*
* @param updatedBy - 更新人
*/
public
void
setUpdatedBy
(
String
updatedBy
)
{
this
.
updatedBy
=
updatedBy
;
}
/**
* get the updatedName - 更新人名称.
* @return the updatedName
*/
public
String
getUpdatedName
()
{
return
this
.
updatedName
;
}
/**
* set the updatedName - 更新人名称.
*
* @param updatedName - 更新人名称
*/
public
void
setUpdatedName
(
String
updatedName
)
{
this
.
updatedName
=
updatedName
;
}
/**
* get the updatedTime - 更新时间.
* @return the updatedTime
*/
public
String
getUpdatedTime
()
{
return
this
.
updatedTime
;
}
/**
* set the updatedTime - 更新时间.
*
* @param updatedTime - 更新时间
*/
public
void
setUpdatedTime
(
String
updatedTime
)
{
this
.
updatedTime
=
updatedTime
;
}
/**
* get the deleteFlag - 是否删除0.否1.是.
* @return the deleteFlag
*/
public
Integer
getDeleteFlag
()
{
return
this
.
deleteFlag
;
}
/**
* set the deleteFlag - 是否删除0.否1.是.
*
* @param deleteFlag - 是否删除0.否1.是
*/
public
void
setDeleteFlag
(
Integer
deleteFlag
)
{
this
.
deleteFlag
=
deleteFlag
;
}
/**
* get the value from Map.
*
* @param map - source data map
*/
@Override
public
void
fromMap
(
Map
map
)
{
setId
(
NumberUtils
.
toLong
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ID
)),
id
));
setAccountCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT_CODE
)),
accountCode
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
setReceiptDate
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_RECEIPT_DATE
)),
receiptDate
));
setCheckNo
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_CHECK_NO
)),
checkNo
));
setCompanyCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_CODE
)),
companyCode
));
setCompanyName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_NAME
)),
companyName
));
setWhCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WH_CODE
)),
whCode
));
setWhName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WH_NAME
)),
whName
));
setInventType
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_TYPE
)),
inventType
));
setInventCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_CODE
)),
inventCode
));
setInventName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_NAME
)),
inventName
));
setInventRecordId
(
NumberUtils
.
toLong
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_RECORD_ID
)),
inventRecordId
));
setBookAmount
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_BOOK_AMOUNT
)),
bookAmount
));
setBookUnitWeight
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_BOOK_UNIT_WEIGHT
)),
bookUnitWeight
));
setBookWeight
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_BOOK_WEIGHT
)),
bookWeight
));
setEntityAmount
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ENTITY_AMOUNT
)),
entityAmount
));
setEntityUnitWeight
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ENTITY_UNIT_WEIGHT
)),
entityUnitWeight
));
setEntityWeight
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ENTITY_WEIGHT
)),
entityWeight
));
setDiffAmount
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DIFF_AMOUNT
)),
diffAmount
));
setDiffWeight
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DIFF_WEIGHT
)),
diffWeight
));
setKcId
(
NumberUtils
.
toLong
(
StringUtils
.
toString
(
map
.
get
(
FIELD_KC_ID
)),
kcId
));
setStatus
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_STATUS
)),
status
));
setRemark
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_REMARK
)),
remark
));
setOldCheckNo
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_OLD_CHECK_NO
)),
oldCheckNo
));
setCreatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_CREATED_BY
)),
createdBy
));
setCreatedName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_CREATED_NAME
)),
createdName
));
setCreatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_CREATED_TIME
)),
createdTime
));
setUpdatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_BY
)),
updatedBy
));
setUpdatedName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_NAME
)),
updatedName
));
setUpdatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_TIME
)),
updatedTime
));
setDeleteFlag
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DELETE_FLAG
)),
deleteFlag
));
}
/**
* set the value to Map.
*/
@Override
public
Map
toMap
()
{
Map
map
=
new
HashMap
();
map
.
put
(
FIELD_ID
,
StringUtils
.
toString
(
id
,
eiMetadata
.
getMeta
(
FIELD_ID
)));
map
.
put
(
FIELD_ACCOUNT_CODE
,
StringUtils
.
toString
(
accountCode
,
eiMetadata
.
getMeta
(
FIELD_ACCOUNT_CODE
)));
map
.
put
(
FIELD_DEP_CODE
,
StringUtils
.
toString
(
depCode
,
eiMetadata
.
getMeta
(
FIELD_DEP_CODE
)));
map
.
put
(
FIELD_RECEIPT_DATE
,
StringUtils
.
toString
(
receiptDate
,
eiMetadata
.
getMeta
(
FIELD_RECEIPT_DATE
)));
map
.
put
(
FIELD_CHECK_NO
,
StringUtils
.
toString
(
checkNo
,
eiMetadata
.
getMeta
(
FIELD_CHECK_NO
)));
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_WH_CODE
,
StringUtils
.
toString
(
whCode
,
eiMetadata
.
getMeta
(
FIELD_WH_CODE
)));
map
.
put
(
FIELD_WH_NAME
,
StringUtils
.
toString
(
whName
,
eiMetadata
.
getMeta
(
FIELD_WH_NAME
)));
map
.
put
(
FIELD_INVENT_TYPE
,
StringUtils
.
toString
(
inventType
,
eiMetadata
.
getMeta
(
FIELD_INVENT_TYPE
)));
map
.
put
(
FIELD_INVENT_CODE
,
StringUtils
.
toString
(
inventCode
,
eiMetadata
.
getMeta
(
FIELD_INVENT_CODE
)));
map
.
put
(
FIELD_INVENT_NAME
,
StringUtils
.
toString
(
inventName
,
eiMetadata
.
getMeta
(
FIELD_INVENT_NAME
)));
map
.
put
(
FIELD_INVENT_RECORD_ID
,
StringUtils
.
toString
(
inventRecordId
,
eiMetadata
.
getMeta
(
FIELD_INVENT_RECORD_ID
)));
map
.
put
(
FIELD_BOOK_AMOUNT
,
StringUtils
.
toString
(
bookAmount
,
eiMetadata
.
getMeta
(
FIELD_BOOK_AMOUNT
)));
map
.
put
(
FIELD_BOOK_UNIT_WEIGHT
,
StringUtils
.
toString
(
bookUnitWeight
,
eiMetadata
.
getMeta
(
FIELD_BOOK_UNIT_WEIGHT
)));
map
.
put
(
FIELD_BOOK_WEIGHT
,
StringUtils
.
toString
(
bookWeight
,
eiMetadata
.
getMeta
(
FIELD_BOOK_WEIGHT
)));
map
.
put
(
FIELD_ENTITY_AMOUNT
,
StringUtils
.
toString
(
entityAmount
,
eiMetadata
.
getMeta
(
FIELD_ENTITY_AMOUNT
)));
map
.
put
(
FIELD_ENTITY_UNIT_WEIGHT
,
StringUtils
.
toString
(
entityUnitWeight
,
eiMetadata
.
getMeta
(
FIELD_ENTITY_UNIT_WEIGHT
)));
map
.
put
(
FIELD_ENTITY_WEIGHT
,
StringUtils
.
toString
(
entityWeight
,
eiMetadata
.
getMeta
(
FIELD_ENTITY_WEIGHT
)));
map
.
put
(
FIELD_DIFF_AMOUNT
,
StringUtils
.
toString
(
diffAmount
,
eiMetadata
.
getMeta
(
FIELD_DIFF_AMOUNT
)));
map
.
put
(
FIELD_DIFF_WEIGHT
,
StringUtils
.
toString
(
diffWeight
,
eiMetadata
.
getMeta
(
FIELD_DIFF_WEIGHT
)));
map
.
put
(
FIELD_KC_ID
,
StringUtils
.
toString
(
kcId
,
eiMetadata
.
getMeta
(
FIELD_KC_ID
)));
map
.
put
(
FIELD_STATUS
,
StringUtils
.
toString
(
status
,
eiMetadata
.
getMeta
(
FIELD_STATUS
)));
map
.
put
(
FIELD_REMARK
,
StringUtils
.
toString
(
remark
,
eiMetadata
.
getMeta
(
FIELD_REMARK
)));
map
.
put
(
FIELD_OLD_CHECK_NO
,
StringUtils
.
toString
(
oldCheckNo
,
eiMetadata
.
getMeta
(
FIELD_OLD_CHECK_NO
)));
map
.
put
(
FIELD_CREATED_BY
,
StringUtils
.
toString
(
createdBy
,
eiMetadata
.
getMeta
(
FIELD_CREATED_BY
)));
map
.
put
(
FIELD_CREATED_NAME
,
StringUtils
.
toString
(
createdName
,
eiMetadata
.
getMeta
(
FIELD_CREATED_NAME
)));
map
.
put
(
FIELD_CREATED_TIME
,
StringUtils
.
toString
(
createdTime
,
eiMetadata
.
getMeta
(
FIELD_CREATED_TIME
)));
map
.
put
(
FIELD_UPDATED_BY
,
StringUtils
.
toString
(
updatedBy
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_BY
)));
map
.
put
(
FIELD_UPDATED_NAME
,
StringUtils
.
toString
(
updatedName
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_NAME
)));
map
.
put
(
FIELD_UPDATED_TIME
,
StringUtils
.
toString
(
updatedTime
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_TIME
)));
map
.
put
(
FIELD_DELETE_FLAG
,
StringUtils
.
toString
(
deleteFlag
,
eiMetadata
.
getMeta
(
FIELD_DELETE_FLAG
)));
return
map
;
}
}
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