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
aee1cf10
Commit
aee1cf10
authored
Jul 01, 2024
by
YG8429
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用归集,费用归集详情添加字段
parent
eeacca29
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
440 additions
and
305 deletions
+440
-305
HGCW051.java
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW051.java
+136
-86
HGCW052.java
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW052.java
+178
-128
HGCW051.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW051.xml
+45
-27
HGCW052.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW052.xml
+81
-64
No files found.
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW051.java
View file @
aee1cf10
...
@@ -10,45 +10,49 @@ import com.baosight.iplat4j.core.util.StringUtils;
...
@@ -10,45 +10,49 @@ import com.baosight.iplat4j.core.util.StringUtils;
/**
/**
* Project: <br>
* Project: <br>
* Title:H
GCW
051.java <br>
* Title:H
gcw
051.java <br>
* Description: <br>
* Description: <br>
*
*
* Copyrigth:Baosight Software LTD.co Copyright (c) 2019. <br>
* Copyrigth:Baosight Software LTD.co Copyright (c) 2019. <br>
*
*
* @version 1.0
* @version 1.0
* @history 2024-0
6-26 15:09:24
create
* @history 2024-0
7-01 10:27:27
create
*/
*/
public
class
HGCW051
extends
DaoEPBase
{
public
class
HGCW051
extends
DaoEPBase
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
public
static
final
String
FIELD_ID
=
"id"
;
public
static
final
String
FIELD_ID
=
"id"
;
public
static
final
String
FIELD_CREATED_BY
=
"createdBy"
;
/* 记录创建者*/
public
static
final
String
FIELD_CREATED_BY
=
"createdBy"
;
/* 记录创建者*/
public
static
final
String
FIELD_CREATED_NAME
=
"createdName"
;
/* 记录创建�称*/
public
static
final
String
FIELD_CREATED_NAME
=
"createdName"
;
/* 记录创建名称*/
public
static
final
String
FIELD_CREATED_TIME
=
"createdTime"
;
/* 记录创建时间*/
public
static
final
String
FIELD_CREATED_TIME
=
"createdTime"
;
/* 记录创建时间*/
public
static
final
String
FIELD_UPDATED_BY
=
"updatedBy"
;
/* 记录修改者*/
public
static
final
String
FIELD_UPDATED_BY
=
"updatedBy"
;
/* 记录修改者*/
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 记录修改�称*/
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 记录修改名称*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 记录修改时间*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 记录修改时间*/
public
static
final
String
FIELD_DELETE_FLAG
=
"deleteFlag"
;
/* 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤*/
public
static
final
String
FIELD_DELETE_FLAG
=
"deleteFlag"
;
/* 0-未删除,1-已删除*/
public
static
final
String
FIELD_COMPANY_CODE
=
"companyCode"
;
/* å…¬å�¸ç¼–ç �*/
public
static
final
String
FIELD_COMPANY_CODE
=
"companyCode"
;
/* 公司编码*/
public
static
final
String
FIELD_COMPANY_NAME
=
"companyName"
;
/* 公��称*/
public
static
final
String
FIELD_COMPANY_NAME
=
"companyName"
;
/* 公司名称*/
public
static
final
String
FIELD_YEAR
=
"year"
;
/* 年份*/
public
static
final
String
FIELD_YEAR
=
"year"
;
/* 年份*/
public
static
final
String
FIELD_MONTH
=
"month"
;
/* 月份*/
public
static
final
String
FIELD_MONTH
=
"month"
;
/* 月份*/
public
static
final
String
FIELD_AMOUNT
=
"amount"
;
/* 费用金�*/
public
static
final
String
FIELD_AMOUNT
=
"amount"
;
/* 费用金额*/
public
static
final
String
FIELD_ACCOUNT
=
"account"
;
/* 企业编码*/
public
static
final
String
FIELD_DEP_CODE
=
"depCode"
;
/* 部门编码*/
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_CREATED_BY
=
"CREATED_BY"
;
/* 记录创建者*/
public
static
final
String
COL_CREATED_BY
=
"CREATED_BY"
;
/* 记录创建者*/
public
static
final
String
COL_CREATED_NAME
=
"CREATED_NAME"
;
/* 记录创建�称*/
public
static
final
String
COL_CREATED_NAME
=
"CREATED_NAME"
;
/* 记录创建名称*/
public
static
final
String
COL_CREATED_TIME
=
"CREATED_TIME"
;
/* 记录创建时间*/
public
static
final
String
COL_CREATED_TIME
=
"CREATED_TIME"
;
/* 记录创建时间*/
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 记录修改者*/
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 记录修改者*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 记录修改�称*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 记录修改名称*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 记录修改时间*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 记录修改时间*/
public
static
final
String
COL_DELETE_FLAG
=
"DELETE_FLAG"
;
/* 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤*/
public
static
final
String
COL_DELETE_FLAG
=
"DELETE_FLAG"
;
/* 0-未删除,1-已删除*/
public
static
final
String
COL_COMPANY_CODE
=
"COMPANY_CODE"
;
/* å…¬å�¸ç¼–ç �*/
public
static
final
String
COL_COMPANY_CODE
=
"COMPANY_CODE"
;
/* 公司编码*/
public
static
final
String
COL_COMPANY_NAME
=
"COMPANY_NAME"
;
/* 公��称*/
public
static
final
String
COL_COMPANY_NAME
=
"COMPANY_NAME"
;
/* 公司名称*/
public
static
final
String
COL_YEAR
=
"YEAR"
;
/* 年份*/
public
static
final
String
COL_YEAR
=
"YEAR"
;
/* 年份*/
public
static
final
String
COL_MONTH
=
"MONTH"
;
/* 月份*/
public
static
final
String
COL_MONTH
=
"MONTH"
;
/* 月份*/
public
static
final
String
COL_AMOUNT
=
"AMOUNT"
;
/* 费用金�*/
public
static
final
String
COL_AMOUNT
=
"AMOUNT"
;
/* 费用金额*/
public
static
final
String
COL_ACCOUNT
=
"ACCOUNT"
;
/* 企业编码*/
public
static
final
String
COL_DEP_CODE
=
"DEP_CODE"
;
/* 部门编码*/
public
static
final
String
QUERY
=
"HGCW051.query"
;
public
static
final
String
QUERY
=
"HGCW051.query"
;
public
static
final
String
COUNT
=
"HGCW051.count"
;
public
static
final
String
COUNT
=
"HGCW051.count"
;
...
@@ -57,18 +61,20 @@ public class HGCW051 extends DaoEPBase {
...
@@ -57,18 +61,20 @@ public class HGCW051 extends DaoEPBase {
public
static
final
String
DELETE
=
"HGCW051.delete"
;
public
static
final
String
DELETE
=
"HGCW051.delete"
;
private
Long
id
=
new
Long
(
0
);
private
Long
id
=
new
Long
(
0
);
private
String
createdBy
=
" "
;
/* 记录创建者*/
private
String
createdBy
=
" "
;
/* 记录创建者*/
private
String
createdName
=
" "
;
/* 记录创建�称*/
private
String
createdName
=
" "
;
/* 记录创建名称*/
private
String
createdTime
=
" "
;
/* 记录创建时间*/
private
String
createdTime
=
" "
;
/* 记录创建时间*/
private
String
updatedBy
=
" "
;
/* 记录修改者*/
private
String
updatedBy
=
" "
;
/* 记录修改者*/
private
String
updatedName
=
" "
;
/* 记录修改�称*/
private
String
updatedName
=
" "
;
/* 记录修改名称*/
private
String
updatedTime
=
" "
;
/* 记录修改时间*/
private
String
updatedTime
=
" "
;
/* 记录修改时间*/
private
Boolean
deleteFlag
;
/* 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤*/
private
Boolean
deleteFlag
;
/* 0-未删除,1-已删除*/
private
String
companyCode
=
" "
;
/* å…¬å�¸ç¼–ç �*/
private
String
companyCode
=
" "
;
/* 公司编码*/
private
String
companyName
=
" "
;
/* 公��称*/
private
String
companyName
=
" "
;
/* 公司名称*/
private
String
year
=
" "
;
/* 年份*/
private
String
year
=
" "
;
/* 年份*/
private
String
month
=
" "
;
/* 月份*/
private
String
month
=
" "
;
/* 月份*/
private
BigDecimal
amount
=
new
BigDecimal
(
"0"
);
/* 费用金�*/
private
BigDecimal
amount
=
new
BigDecimal
(
"0"
);
/* 费用金额*/
private
String
account
=
" "
;
/* 企业编码*/
private
String
depCode
=
" "
;
/* 部门编码*/
/**
/**
* initialize the metadata.
* initialize the metadata.
...
@@ -82,54 +88,62 @@ public class HGCW051 extends DaoEPBase {
...
@@ -82,54 +88,62 @@ public class HGCW051 extends DaoEPBase {
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_BY
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_BY
);
eiColumn
.
setDescName
(
"
记录创建者
"
);
eiColumn
.
setDescName
(
"
记录创建者
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_NAME
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_NAME
);
eiColumn
.
setDescName
(
"
记录创建�称
"
);
eiColumn
.
setDescName
(
"
记录创建名称
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_TIME
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_TIME
);
eiColumn
.
setDescName
(
"
记录创建时间
"
);
eiColumn
.
setDescName
(
"
记录创建时间
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_BY
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_BY
);
eiColumn
.
setDescName
(
"
记录修改者
"
);
eiColumn
.
setDescName
(
"
记录修改者
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_NAME
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_NAME
);
eiColumn
.
setDescName
(
"
记录修改�称
"
);
eiColumn
.
setDescName
(
"
记录修改名称
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_TIME
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_TIME
);
eiColumn
.
setDescName
(
"
记录修改时间
"
);
eiColumn
.
setDescName
(
"
记录修改时间
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_DELETE_FLAG
);
eiColumn
=
new
EiColumn
(
FIELD_DELETE_FLAG
);
eiColumn
.
setDescName
(
"0-
æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤
"
);
eiColumn
.
setDescName
(
"0-
未删除,1-已删除
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_CODE
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_CODE
);
eiColumn
.
setDescName
(
"
å…¬å�¸ç¼–ç �
"
);
eiColumn
.
setDescName
(
"
公司编码
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_NAME
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_NAME
);
eiColumn
.
setDescName
(
"
公��称
"
);
eiColumn
.
setDescName
(
"
公司名称
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_YEAR
);
eiColumn
=
new
EiColumn
(
FIELD_YEAR
);
eiColumn
.
setDescName
(
"
年份
"
);
eiColumn
.
setDescName
(
"
年份
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_MONTH
);
eiColumn
=
new
EiColumn
(
FIELD_MONTH
);
eiColumn
.
setDescName
(
"
月份
"
);
eiColumn
.
setDescName
(
"
月份
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_AMOUNT
);
eiColumn
=
new
EiColumn
(
FIELD_AMOUNT
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
3
);
eiColumn
.
setScaleLength
(
3
);
eiColumn
.
setFieldLength
(
12
);
eiColumn
.
setFieldLength
(
12
);
eiColumn
.
setDescName
(
"费用金�"
);
eiColumn
.
setDescName
(
"费用金额"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ACCOUNT
);
eiColumn
.
setDescName
(
"企业编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_DEP_CODE
);
eiColumn
.
setDescName
(
"部门编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
...
@@ -159,7 +173,7 @@ public class HGCW051 extends DaoEPBase {
...
@@ -159,7 +173,7 @@ public class HGCW051 extends DaoEPBase {
this
.
id
=
id
;
this
.
id
=
id
;
}
}
/**
/**
* get the createdBy -
记录创建者
.
* get the createdBy -
记录创建者
.
* @return the createdBy
* @return the createdBy
*/
*/
public
String
getCreatedBy
()
{
public
String
getCreatedBy
()
{
...
@@ -167,15 +181,15 @@ public class HGCW051 extends DaoEPBase {
...
@@ -167,15 +181,15 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the createdBy -
记录创建者
.
* set the createdBy -
记录创建者
.
*
*
* @param createdBy -
记录创建者
* @param createdBy -
记录创建者
*/
*/
public
void
setCreatedBy
(
String
createdBy
)
{
public
void
setCreatedBy
(
String
createdBy
)
{
this
.
createdBy
=
createdBy
;
this
.
createdBy
=
createdBy
;
}
}
/**
/**
* get the createdName -
记录创建�称
.
* get the createdName -
记录创建名称
.
* @return the createdName
* @return the createdName
*/
*/
public
String
getCreatedName
()
{
public
String
getCreatedName
()
{
...
@@ -183,15 +197,15 @@ public class HGCW051 extends DaoEPBase {
...
@@ -183,15 +197,15 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the createdName -
记录创建�称
.
* set the createdName -
记录创建名称
.
*
*
* @param createdName -
记录创建�称
* @param createdName -
记录创建名称
*/
*/
public
void
setCreatedName
(
String
createdName
)
{
public
void
setCreatedName
(
String
createdName
)
{
this
.
createdName
=
createdName
;
this
.
createdName
=
createdName
;
}
}
/**
/**
* get the createdTime -
记录创建时间
.
* get the createdTime -
记录创建时间
.
* @return the createdTime
* @return the createdTime
*/
*/
public
String
getCreatedTime
()
{
public
String
getCreatedTime
()
{
...
@@ -199,15 +213,15 @@ public class HGCW051 extends DaoEPBase {
...
@@ -199,15 +213,15 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the createdTime -
记录创建时间
.
* set the createdTime -
记录创建时间
.
*
*
* @param createdTime -
记录创建时间
* @param createdTime -
记录创建时间
*/
*/
public
void
setCreatedTime
(
String
createdTime
)
{
public
void
setCreatedTime
(
String
createdTime
)
{
this
.
createdTime
=
createdTime
;
this
.
createdTime
=
createdTime
;
}
}
/**
/**
* get the updatedBy -
记录修改者
.
* get the updatedBy -
记录修改者
.
* @return the updatedBy
* @return the updatedBy
*/
*/
public
String
getUpdatedBy
()
{
public
String
getUpdatedBy
()
{
...
@@ -215,15 +229,15 @@ public class HGCW051 extends DaoEPBase {
...
@@ -215,15 +229,15 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the updatedBy -
记录修改者
.
* set the updatedBy -
记录修改者
.
*
*
* @param updatedBy -
记录修改者
* @param updatedBy -
记录修改者
*/
*/
public
void
setUpdatedBy
(
String
updatedBy
)
{
public
void
setUpdatedBy
(
String
updatedBy
)
{
this
.
updatedBy
=
updatedBy
;
this
.
updatedBy
=
updatedBy
;
}
}
/**
/**
* get the updatedName -
记录修改�称
.
* get the updatedName -
记录修改名称
.
* @return the updatedName
* @return the updatedName
*/
*/
public
String
getUpdatedName
()
{
public
String
getUpdatedName
()
{
...
@@ -231,15 +245,15 @@ public class HGCW051 extends DaoEPBase {
...
@@ -231,15 +245,15 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the updatedName -
记录修改�称
.
* set the updatedName -
记录修改名称
.
*
*
* @param updatedName -
记录修改�称
* @param updatedName -
记录修改名称
*/
*/
public
void
setUpdatedName
(
String
updatedName
)
{
public
void
setUpdatedName
(
String
updatedName
)
{
this
.
updatedName
=
updatedName
;
this
.
updatedName
=
updatedName
;
}
}
/**
/**
* get the updatedTime -
记录修改时间
.
* get the updatedTime -
记录修改时间
.
* @return the updatedTime
* @return the updatedTime
*/
*/
public
String
getUpdatedTime
()
{
public
String
getUpdatedTime
()
{
...
@@ -247,15 +261,15 @@ public class HGCW051 extends DaoEPBase {
...
@@ -247,15 +261,15 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the updatedTime -
记录修改时间
.
* set the updatedTime -
记录修改时间
.
*
*
* @param updatedTime -
记录修改时间
* @param updatedTime -
记录修改时间
*/
*/
public
void
setUpdatedTime
(
String
updatedTime
)
{
public
void
setUpdatedTime
(
String
updatedTime
)
{
this
.
updatedTime
=
updatedTime
;
this
.
updatedTime
=
updatedTime
;
}
}
/**
/**
* get the deleteFlag - 0-
æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤
.
* get the deleteFlag - 0-
未删除,1-已删除
.
* @return the deleteFlag
* @return the deleteFlag
*/
*/
public
Boolean
getDeleteFlag
()
{
public
Boolean
getDeleteFlag
()
{
...
@@ -263,15 +277,15 @@ public class HGCW051 extends DaoEPBase {
...
@@ -263,15 +277,15 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the deleteFlag - 0-
æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤
.
* set the deleteFlag - 0-
未删除,1-已删除
.
*
*
* @param deleteFlag - 0-
æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤
* @param deleteFlag - 0-
未删除,1-已删除
*/
*/
public
void
setDeleteFlag
(
Boolean
deleteFlag
)
{
public
void
setDeleteFlag
(
Boolean
deleteFlag
)
{
this
.
deleteFlag
=
deleteFlag
;
this
.
deleteFlag
=
deleteFlag
;
}
}
/**
/**
* get the companyCode -
å…¬å�¸ç¼–ç �
.
* get the companyCode -
公司编码
.
* @return the companyCode
* @return the companyCode
*/
*/
public
String
getCompanyCode
()
{
public
String
getCompanyCode
()
{
...
@@ -279,15 +293,15 @@ public class HGCW051 extends DaoEPBase {
...
@@ -279,15 +293,15 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the companyCode -
å…¬å�¸ç¼–ç �
.
* set the companyCode -
公司编码
.
*
*
* @param companyCode -
å…¬å�¸ç¼–ç �
* @param companyCode -
公司编码
*/
*/
public
void
setCompanyCode
(
String
companyCode
)
{
public
void
setCompanyCode
(
String
companyCode
)
{
this
.
companyCode
=
companyCode
;
this
.
companyCode
=
companyCode
;
}
}
/**
/**
* get the companyName -
公��称
.
* get the companyName -
公司名称
.
* @return the companyName
* @return the companyName
*/
*/
public
String
getCompanyName
()
{
public
String
getCompanyName
()
{
...
@@ -295,15 +309,15 @@ public class HGCW051 extends DaoEPBase {
...
@@ -295,15 +309,15 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the companyName -
公��称
.
* set the companyName -
公司名称
.
*
*
* @param companyName -
公��称
* @param companyName -
公司名称
*/
*/
public
void
setCompanyName
(
String
companyName
)
{
public
void
setCompanyName
(
String
companyName
)
{
this
.
companyName
=
companyName
;
this
.
companyName
=
companyName
;
}
}
/**
/**
* get the year -
年份
.
* get the year -
年份
.
* @return the year
* @return the year
*/
*/
public
String
getYear
()
{
public
String
getYear
()
{
...
@@ -311,15 +325,15 @@ public class HGCW051 extends DaoEPBase {
...
@@ -311,15 +325,15 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the year -
年份
.
* set the year -
年份
.
*
*
* @param year -
年份
* @param year -
年份
*/
*/
public
void
setYear
(
String
year
)
{
public
void
setYear
(
String
year
)
{
this
.
year
=
year
;
this
.
year
=
year
;
}
}
/**
/**
* get the month -
月份
.
* get the month -
月份
.
* @return the month
* @return the month
*/
*/
public
String
getMonth
()
{
public
String
getMonth
()
{
...
@@ -327,15 +341,15 @@ public class HGCW051 extends DaoEPBase {
...
@@ -327,15 +341,15 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the month -
月份
.
* set the month -
月份
.
*
*
* @param month -
月份
* @param month -
月份
*/
*/
public
void
setMonth
(
String
month
)
{
public
void
setMonth
(
String
month
)
{
this
.
month
=
month
;
this
.
month
=
month
;
}
}
/**
/**
* get the amount -
费用金�
.
* get the amount -
费用金额
.
* @return the amount
* @return the amount
*/
*/
public
BigDecimal
getAmount
()
{
public
BigDecimal
getAmount
()
{
...
@@ -343,14 +357,46 @@ public class HGCW051 extends DaoEPBase {
...
@@ -343,14 +357,46 @@ public class HGCW051 extends DaoEPBase {
}
}
/**
/**
* set the amount -
费用金�
.
* set the amount -
费用金额
.
*
*
* @param amount -
费用金�
* @param amount -
费用金额
*/
*/
public
void
setAmount
(
BigDecimal
amount
)
{
public
void
setAmount
(
BigDecimal
amount
)
{
this
.
amount
=
amount
;
this
.
amount
=
amount
;
}
}
/**
/**
* get the account - 企业编码.
* @return the account
*/
public
String
getAccount
()
{
return
this
.
account
;
}
/**
* set the account - 企业编码.
*
* @param account - 企业编码
*/
public
void
setAccount
(
String
account
)
{
this
.
account
=
account
;
}
/**
* 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 value from Map.
* get the value from Map.
*
*
* @param map - source data map
* @param map - source data map
...
@@ -371,6 +417,8 @@ public class HGCW051 extends DaoEPBase {
...
@@ -371,6 +417,8 @@ public class HGCW051 extends DaoEPBase {
setYear
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_YEAR
)),
year
));
setYear
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_YEAR
)),
year
));
setMonth
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_MONTH
)),
month
));
setMonth
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_MONTH
)),
month
));
setAmount
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_AMOUNT
)),
amount
));
setAmount
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_AMOUNT
)),
amount
));
setAccount
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT
)),
account
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
}
}
/**
/**
...
@@ -393,6 +441,8 @@ public class HGCW051 extends DaoEPBase {
...
@@ -393,6 +441,8 @@ public class HGCW051 extends DaoEPBase {
map
.
put
(
FIELD_YEAR
,
StringUtils
.
toString
(
year
,
eiMetadata
.
getMeta
(
FIELD_YEAR
)));
map
.
put
(
FIELD_YEAR
,
StringUtils
.
toString
(
year
,
eiMetadata
.
getMeta
(
FIELD_YEAR
)));
map
.
put
(
FIELD_MONTH
,
StringUtils
.
toString
(
month
,
eiMetadata
.
getMeta
(
FIELD_MONTH
)));
map
.
put
(
FIELD_MONTH
,
StringUtils
.
toString
(
month
,
eiMetadata
.
getMeta
(
FIELD_MONTH
)));
map
.
put
(
FIELD_AMOUNT
,
StringUtils
.
toString
(
amount
,
eiMetadata
.
getMeta
(
FIELD_AMOUNT
)));
map
.
put
(
FIELD_AMOUNT
,
StringUtils
.
toString
(
amount
,
eiMetadata
.
getMeta
(
FIELD_AMOUNT
)));
map
.
put
(
FIELD_ACCOUNT
,
StringUtils
.
toString
(
account
,
eiMetadata
.
getMeta
(
FIELD_ACCOUNT
)));
map
.
put
(
FIELD_DEP_CODE
,
StringUtils
.
toString
(
depCode
,
eiMetadata
.
getMeta
(
FIELD_DEP_CODE
)));
return
map
;
return
map
;
}
}
...
...
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW052.java
View file @
aee1cf10
...
@@ -10,57 +10,61 @@ import com.baosight.iplat4j.core.util.StringUtils;
...
@@ -10,57 +10,61 @@ import com.baosight.iplat4j.core.util.StringUtils;
/**
/**
* Project: <br>
* Project: <br>
* Title:H
GCW
052.java <br>
* Title:H
gcw
052.java <br>
* Description: <br>
* Description: <br>
*
*
* Copyrigth:Baosight Software LTD.co Copyright (c) 2019. <br>
* Copyrigth:Baosight Software LTD.co Copyright (c) 2019. <br>
*
*
* @version 1.0
* @version 1.0
* @history 2024-0
6-26 15:09:39
create
* @history 2024-0
7-01 10:27:33
create
*/
*/
public
class
HGCW052
extends
DaoEPBase
{
public
class
HGCW052
extends
DaoEPBase
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
public
static
final
String
FIELD_ID
=
"id"
;
public
static
final
String
FIELD_ID
=
"id"
;
public
static
final
String
FIELD_CREATED_BY
=
"createdBy"
;
/* 记录创建者*/
public
static
final
String
FIELD_CREATED_BY
=
"createdBy"
;
/* 记录创建者*/
public
static
final
String
FIELD_CREATED_NAME
=
"createdName"
;
/* 记录创建�称*/
public
static
final
String
FIELD_CREATED_NAME
=
"createdName"
;
/* 记录创建名称*/
public
static
final
String
FIELD_CREATED_TIME
=
"createdTime"
;
/* 记录创建时间*/
public
static
final
String
FIELD_CREATED_TIME
=
"createdTime"
;
/* 记录创建时间*/
public
static
final
String
FIELD_UPDATED_BY
=
"updatedBy"
;
/* 记录修改者*/
public
static
final
String
FIELD_UPDATED_BY
=
"updatedBy"
;
/* 记录修改者*/
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 记录修改�称*/
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 记录修改名称*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 记录修改时间*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 记录修改时间*/
public
static
final
String
FIELD_DELETE_FLAG
=
"deleteFlag"
;
/* 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤*/
public
static
final
String
FIELD_DELETE_FLAG
=
"deleteFlag"
;
/* 0-未删除,1-已删除*/
public
static
final
String
FIELD_COMPANY_CODE
=
"companyCode"
;
/* å…¬å�¸ç¼–ç �*/
public
static
final
String
FIELD_COMPANY_CODE
=
"companyCode"
;
/* 公司编码*/
public
static
final
String
FIELD_COMPANY_NAME
=
"companyName"
;
/* 公��称*/
public
static
final
String
FIELD_COMPANY_NAME
=
"companyName"
;
/* 公司名称*/
public
static
final
String
FIELD_YEAR
=
"year"
;
/* 年份*/
public
static
final
String
FIELD_YEAR
=
"year"
;
/* 年份*/
public
static
final
String
FIELD_MONTH
=
"month"
;
/* 月份*/
public
static
final
String
FIELD_MONTH
=
"month"
;
/* 月份*/
public
static
final
String
FIELD_AMOUNT
=
"amount"
;
/* 费用金�*/
public
static
final
String
FIELD_AMOUNT
=
"amount"
;
/* 费用金额*/
public
static
final
String
FIELD_HGCW051_ID
=
"hgcw051Id"
;
/* 主表ID*/
public
static
final
String
FIELD_HGCW051_ID
=
"hgcw051Id"
;
/* 主表ID*/
public
static
final
String
FIELD_COST_TYPE
=
"costType"
;
/* 费用类型*/
public
static
final
String
FIELD_COST_TYPE
=
"costType"
;
/* 费用类型*/
public
static
final
String
FIELD_COST_ITEM
=
"costItem"
;
/* 费用项*/
public
static
final
String
FIELD_COST_ITEM
=
"costItem"
;
/* 费用项*/
public
static
final
String
FIELD_ITEM_NAME
=
"itemName"
;
/* 项目�称*/
public
static
final
String
FIELD_ITEM_NAME
=
"itemName"
;
/* 项目名称*/
public
static
final
String
FIELD_ITEM_CODE
=
"itemCode"
;
/* 项目编�*/
public
static
final
String
FIELD_ITEM_CODE
=
"itemCode"
;
/* 项目编号*/
public
static
final
String
FIELD_IS_SHARE
=
"isShare"
;
/* 是�分摊费用*/
public
static
final
String
FIELD_IS_SHARE
=
"isShare"
;
/* 是否分摊费用*/
public
static
final
String
FIELD_ACCOUNT
=
"account"
;
/* 企业编码*/
public
static
final
String
FIELD_DEP_CODE
=
"depCode"
;
/* 部门编码*/
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_CREATED_BY
=
"CREATED_BY"
;
/* 记录创建者*/
public
static
final
String
COL_CREATED_BY
=
"CREATED_BY"
;
/* 记录创建者*/
public
static
final
String
COL_CREATED_NAME
=
"CREATED_NAME"
;
/* 记录创建�称*/
public
static
final
String
COL_CREATED_NAME
=
"CREATED_NAME"
;
/* 记录创建名称*/
public
static
final
String
COL_CREATED_TIME
=
"CREATED_TIME"
;
/* 记录创建时间*/
public
static
final
String
COL_CREATED_TIME
=
"CREATED_TIME"
;
/* 记录创建时间*/
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 记录修改者*/
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 记录修改者*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 记录修改�称*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 记录修改名称*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 记录修改时间*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 记录修改时间*/
public
static
final
String
COL_DELETE_FLAG
=
"DELETE_FLAG"
;
/* 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤*/
public
static
final
String
COL_DELETE_FLAG
=
"DELETE_FLAG"
;
/* 0-未删除,1-已删除*/
public
static
final
String
COL_COMPANY_CODE
=
"COMPANY_CODE"
;
/* å…¬å�¸ç¼–ç �*/
public
static
final
String
COL_COMPANY_CODE
=
"COMPANY_CODE"
;
/* 公司编码*/
public
static
final
String
COL_COMPANY_NAME
=
"COMPANY_NAME"
;
/* 公��称*/
public
static
final
String
COL_COMPANY_NAME
=
"COMPANY_NAME"
;
/* 公司名称*/
public
static
final
String
COL_YEAR
=
"YEAR"
;
/* 年份*/
public
static
final
String
COL_YEAR
=
"YEAR"
;
/* 年份*/
public
static
final
String
COL_MONTH
=
"MONTH"
;
/* 月份*/
public
static
final
String
COL_MONTH
=
"MONTH"
;
/* 月份*/
public
static
final
String
COL_AMOUNT
=
"AMOUNT"
;
/* 费用金�*/
public
static
final
String
COL_AMOUNT
=
"AMOUNT"
;
/* 费用金额*/
public
static
final
String
COL_HGCW051_ID
=
"HGCW051_ID"
;
/* 主表ID*/
public
static
final
String
COL_HGCW051_ID
=
"HGCW051_ID"
;
/* 主表ID*/
public
static
final
String
COL_COST_TYPE
=
"COST_TYPE"
;
/* 费用类型*/
public
static
final
String
COL_COST_TYPE
=
"COST_TYPE"
;
/* 费用类型*/
public
static
final
String
COL_COST_ITEM
=
"COST_ITEM"
;
/* 费用项*/
public
static
final
String
COL_COST_ITEM
=
"COST_ITEM"
;
/* 费用项*/
public
static
final
String
COL_ITEM_NAME
=
"ITEM_NAME"
;
/* 项目�称*/
public
static
final
String
COL_ITEM_NAME
=
"ITEM_NAME"
;
/* 项目名称*/
public
static
final
String
COL_ITEM_CODE
=
"ITEM_CODE"
;
/* 项目编�*/
public
static
final
String
COL_ITEM_CODE
=
"ITEM_CODE"
;
/* 项目编号*/
public
static
final
String
COL_IS_SHARE
=
"IS_SHARE"
;
/* 是�分摊费用*/
public
static
final
String
COL_IS_SHARE
=
"IS_SHARE"
;
/* 是否分摊费用*/
public
static
final
String
COL_ACCOUNT
=
"ACCOUNT"
;
/* 企业编码*/
public
static
final
String
COL_DEP_CODE
=
"DEP_CODE"
;
/* 部门编码*/
public
static
final
String
QUERY
=
"HGCW052.query"
;
public
static
final
String
QUERY
=
"HGCW052.query"
;
public
static
final
String
COUNT
=
"HGCW052.count"
;
public
static
final
String
COUNT
=
"HGCW052.count"
;
...
@@ -69,24 +73,26 @@ public class HGCW052 extends DaoEPBase {
...
@@ -69,24 +73,26 @@ public class HGCW052 extends DaoEPBase {
public
static
final
String
DELETE
=
"HGCW052.delete"
;
public
static
final
String
DELETE
=
"HGCW052.delete"
;
private
Long
id
=
new
Long
(
0
);
private
Long
id
=
new
Long
(
0
);
private
String
createdBy
=
" "
;
/* 记录创建者*/
private
String
createdBy
=
" "
;
/* 记录创建者*/
private
String
createdName
=
" "
;
/* 记录创建�称*/
private
String
createdName
=
" "
;
/* 记录创建名称*/
private
String
createdTime
=
" "
;
/* 记录创建时间*/
private
String
createdTime
=
" "
;
/* 记录创建时间*/
private
String
updatedBy
=
" "
;
/* 记录修改者*/
private
String
updatedBy
=
" "
;
/* 记录修改者*/
private
String
updatedName
=
" "
;
/* 记录修改�称*/
private
String
updatedName
=
" "
;
/* 记录修改名称*/
private
String
updatedTime
=
" "
;
/* 记录修改时间*/
private
String
updatedTime
=
" "
;
/* 记录修改时间*/
private
Boolean
deleteFlag
;
/* 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤*/
private
Boolean
deleteFlag
;
/* 0-未删除,1-已删除*/
private
String
companyCode
=
" "
;
/* å…¬å�¸ç¼–ç �*/
private
String
companyCode
=
" "
;
/* 公司编码*/
private
String
companyName
=
" "
;
/* 公��称*/
private
String
companyName
=
" "
;
/* 公司名称*/
private
String
year
=
" "
;
/* 年份*/
private
String
year
=
" "
;
/* 年份*/
private
String
month
=
" "
;
/* 月份*/
private
String
month
=
" "
;
/* 月份*/
private
BigDecimal
amount
=
new
BigDecimal
(
"0"
);
/* 费用金�*/
private
BigDecimal
amount
=
new
BigDecimal
(
"0"
);
/* 费用金额*/
private
Long
hgcw051Id
=
new
Long
(
0
);
/* 主表ID*/
private
Long
hgcw051Id
=
new
Long
(
0
);
/* 主表ID*/
private
String
costType
=
" "
;
/* 费用类型*/
private
String
costType
=
" "
;
/* 费用类型*/
private
String
costItem
=
" "
;
/* 费用项*/
private
String
costItem
=
" "
;
/* 费用项*/
private
String
itemName
=
" "
;
/* 项目�称*/
private
String
itemName
=
" "
;
/* 项目名称*/
private
String
itemCode
=
" "
;
/* 项目编�*/
private
String
itemCode
=
" "
;
/* 项目编号*/
private
String
isShare
=
" "
;
/* 是�分摊费用*/
private
String
isShare
=
" "
;
/* 是否分摊费用*/
private
String
account
=
" "
;
/* 企业编码*/
private
String
depCode
=
" "
;
/* 部门编码*/
/**
/**
* initialize the metadata.
* initialize the metadata.
...
@@ -100,78 +106,86 @@ public class HGCW052 extends DaoEPBase {
...
@@ -100,78 +106,86 @@ public class HGCW052 extends DaoEPBase {
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_BY
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_BY
);
eiColumn
.
setDescName
(
"
记录创建者
"
);
eiColumn
.
setDescName
(
"
记录创建者
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_NAME
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_NAME
);
eiColumn
.
setDescName
(
"
记录创建�称
"
);
eiColumn
.
setDescName
(
"
记录创建名称
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_TIME
);
eiColumn
=
new
EiColumn
(
FIELD_CREATED_TIME
);
eiColumn
.
setDescName
(
"
记录创建时间
"
);
eiColumn
.
setDescName
(
"
记录创建时间
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_BY
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_BY
);
eiColumn
.
setDescName
(
"
记录修改者
"
);
eiColumn
.
setDescName
(
"
记录修改者
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_NAME
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_NAME
);
eiColumn
.
setDescName
(
"
记录修改�称
"
);
eiColumn
.
setDescName
(
"
记录修改名称
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_TIME
);
eiColumn
=
new
EiColumn
(
FIELD_UPDATED_TIME
);
eiColumn
.
setDescName
(
"
记录修改时间
"
);
eiColumn
.
setDescName
(
"
记录修改时间
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_DELETE_FLAG
);
eiColumn
=
new
EiColumn
(
FIELD_DELETE_FLAG
);
eiColumn
.
setDescName
(
"0-
æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤
"
);
eiColumn
.
setDescName
(
"0-
未删除,1-已删除
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_CODE
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_CODE
);
eiColumn
.
setDescName
(
"
å…¬å�¸ç¼–ç �
"
);
eiColumn
.
setDescName
(
"
公司编码
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_NAME
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_NAME
);
eiColumn
.
setDescName
(
"
公��称
"
);
eiColumn
.
setDescName
(
"
公司名称
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_YEAR
);
eiColumn
=
new
EiColumn
(
FIELD_YEAR
);
eiColumn
.
setDescName
(
"
年份
"
);
eiColumn
.
setDescName
(
"
年份
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_MONTH
);
eiColumn
=
new
EiColumn
(
FIELD_MONTH
);
eiColumn
.
setDescName
(
"
月份
"
);
eiColumn
.
setDescName
(
"
月份
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_AMOUNT
);
eiColumn
=
new
EiColumn
(
FIELD_AMOUNT
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
3
);
eiColumn
.
setScaleLength
(
3
);
eiColumn
.
setFieldLength
(
12
);
eiColumn
.
setFieldLength
(
12
);
eiColumn
.
setDescName
(
"
费用金�
"
);
eiColumn
.
setDescName
(
"
费用金额
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_HGCW051_ID
);
eiColumn
=
new
EiColumn
(
FIELD_HGCW051_ID
);
eiColumn
.
setDescName
(
"
主表
ID"
);
eiColumn
.
setDescName
(
"
主表
ID"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_COST_TYPE
);
eiColumn
=
new
EiColumn
(
FIELD_COST_TYPE
);
eiColumn
.
setDescName
(
"
费用类型
"
);
eiColumn
.
setDescName
(
"
费用类型
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_COST_ITEM
);
eiColumn
=
new
EiColumn
(
FIELD_COST_ITEM
);
eiColumn
.
setDescName
(
"
费用项
"
);
eiColumn
.
setDescName
(
"
费用项
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ITEM_NAME
);
eiColumn
=
new
EiColumn
(
FIELD_ITEM_NAME
);
eiColumn
.
setDescName
(
"
项目�称
"
);
eiColumn
.
setDescName
(
"
项目名称
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ITEM_CODE
);
eiColumn
=
new
EiColumn
(
FIELD_ITEM_CODE
);
eiColumn
.
setDescName
(
"
项目编�
"
);
eiColumn
.
setDescName
(
"
项目编号
"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_IS_SHARE
);
eiColumn
=
new
EiColumn
(
FIELD_IS_SHARE
);
eiColumn
.
setDescName
(
"是�分摊费用"
);
eiColumn
.
setDescName
(
"是否分摊费用"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ACCOUNT
);
eiColumn
.
setDescName
(
"企业编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_DEP_CODE
);
eiColumn
.
setDescName
(
"部门编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
...
@@ -201,7 +215,7 @@ public class HGCW052 extends DaoEPBase {
...
@@ -201,7 +215,7 @@ public class HGCW052 extends DaoEPBase {
this
.
id
=
id
;
this
.
id
=
id
;
}
}
/**
/**
* get the createdBy -
记录创建者
.
* get the createdBy -
记录创建者
.
* @return the createdBy
* @return the createdBy
*/
*/
public
String
getCreatedBy
()
{
public
String
getCreatedBy
()
{
...
@@ -209,15 +223,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -209,15 +223,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the createdBy -
记录创建者
.
* set the createdBy -
记录创建者
.
*
*
* @param createdBy -
记录创建者
* @param createdBy -
记录创建者
*/
*/
public
void
setCreatedBy
(
String
createdBy
)
{
public
void
setCreatedBy
(
String
createdBy
)
{
this
.
createdBy
=
createdBy
;
this
.
createdBy
=
createdBy
;
}
}
/**
/**
* get the createdName -
记录创建�称
.
* get the createdName -
记录创建名称
.
* @return the createdName
* @return the createdName
*/
*/
public
String
getCreatedName
()
{
public
String
getCreatedName
()
{
...
@@ -225,15 +239,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -225,15 +239,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the createdName -
记录创建�称
.
* set the createdName -
记录创建名称
.
*
*
* @param createdName -
记录创建�称
* @param createdName -
记录创建名称
*/
*/
public
void
setCreatedName
(
String
createdName
)
{
public
void
setCreatedName
(
String
createdName
)
{
this
.
createdName
=
createdName
;
this
.
createdName
=
createdName
;
}
}
/**
/**
* get the createdTime -
记录创建时间
.
* get the createdTime -
记录创建时间
.
* @return the createdTime
* @return the createdTime
*/
*/
public
String
getCreatedTime
()
{
public
String
getCreatedTime
()
{
...
@@ -241,15 +255,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -241,15 +255,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the createdTime -
记录创建时间
.
* set the createdTime -
记录创建时间
.
*
*
* @param createdTime -
记录创建时间
* @param createdTime -
记录创建时间
*/
*/
public
void
setCreatedTime
(
String
createdTime
)
{
public
void
setCreatedTime
(
String
createdTime
)
{
this
.
createdTime
=
createdTime
;
this
.
createdTime
=
createdTime
;
}
}
/**
/**
* get the updatedBy -
记录修改者
.
* get the updatedBy -
记录修改者
.
* @return the updatedBy
* @return the updatedBy
*/
*/
public
String
getUpdatedBy
()
{
public
String
getUpdatedBy
()
{
...
@@ -257,15 +271,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -257,15 +271,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the updatedBy -
记录修改者
.
* set the updatedBy -
记录修改者
.
*
*
* @param updatedBy -
记录修改者
* @param updatedBy -
记录修改者
*/
*/
public
void
setUpdatedBy
(
String
updatedBy
)
{
public
void
setUpdatedBy
(
String
updatedBy
)
{
this
.
updatedBy
=
updatedBy
;
this
.
updatedBy
=
updatedBy
;
}
}
/**
/**
* get the updatedName -
记录修改�称
.
* get the updatedName -
记录修改名称
.
* @return the updatedName
* @return the updatedName
*/
*/
public
String
getUpdatedName
()
{
public
String
getUpdatedName
()
{
...
@@ -273,15 +287,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -273,15 +287,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the updatedName -
记录修改�称
.
* set the updatedName -
记录修改名称
.
*
*
* @param updatedName -
记录修改�称
* @param updatedName -
记录修改名称
*/
*/
public
void
setUpdatedName
(
String
updatedName
)
{
public
void
setUpdatedName
(
String
updatedName
)
{
this
.
updatedName
=
updatedName
;
this
.
updatedName
=
updatedName
;
}
}
/**
/**
* get the updatedTime -
记录修改时间
.
* get the updatedTime -
记录修改时间
.
* @return the updatedTime
* @return the updatedTime
*/
*/
public
String
getUpdatedTime
()
{
public
String
getUpdatedTime
()
{
...
@@ -289,15 +303,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -289,15 +303,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the updatedTime -
记录修改时间
.
* set the updatedTime -
记录修改时间
.
*
*
* @param updatedTime -
记录修改时间
* @param updatedTime -
记录修改时间
*/
*/
public
void
setUpdatedTime
(
String
updatedTime
)
{
public
void
setUpdatedTime
(
String
updatedTime
)
{
this
.
updatedTime
=
updatedTime
;
this
.
updatedTime
=
updatedTime
;
}
}
/**
/**
* get the deleteFlag - 0-
æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤
.
* get the deleteFlag - 0-
未删除,1-已删除
.
* @return the deleteFlag
* @return the deleteFlag
*/
*/
public
Boolean
getDeleteFlag
()
{
public
Boolean
getDeleteFlag
()
{
...
@@ -305,15 +319,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -305,15 +319,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the deleteFlag - 0-
æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤
.
* set the deleteFlag - 0-
未删除,1-已删除
.
*
*
* @param deleteFlag - 0-
æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤
* @param deleteFlag - 0-
未删除,1-已删除
*/
*/
public
void
setDeleteFlag
(
Boolean
deleteFlag
)
{
public
void
setDeleteFlag
(
Boolean
deleteFlag
)
{
this
.
deleteFlag
=
deleteFlag
;
this
.
deleteFlag
=
deleteFlag
;
}
}
/**
/**
* get the companyCode -
å…¬å�¸ç¼–ç �
.
* get the companyCode -
公司编码
.
* @return the companyCode
* @return the companyCode
*/
*/
public
String
getCompanyCode
()
{
public
String
getCompanyCode
()
{
...
@@ -321,15 +335,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -321,15 +335,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the companyCode -
å…¬å�¸ç¼–ç �
.
* set the companyCode -
公司编码
.
*
*
* @param companyCode -
å…¬å�¸ç¼–ç �
* @param companyCode -
公司编码
*/
*/
public
void
setCompanyCode
(
String
companyCode
)
{
public
void
setCompanyCode
(
String
companyCode
)
{
this
.
companyCode
=
companyCode
;
this
.
companyCode
=
companyCode
;
}
}
/**
/**
* get the companyName -
公��称
.
* get the companyName -
公司名称
.
* @return the companyName
* @return the companyName
*/
*/
public
String
getCompanyName
()
{
public
String
getCompanyName
()
{
...
@@ -337,15 +351,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -337,15 +351,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the companyName -
公��称
.
* set the companyName -
公司名称
.
*
*
* @param companyName -
公��称
* @param companyName -
公司名称
*/
*/
public
void
setCompanyName
(
String
companyName
)
{
public
void
setCompanyName
(
String
companyName
)
{
this
.
companyName
=
companyName
;
this
.
companyName
=
companyName
;
}
}
/**
/**
* get the year -
年份
.
* get the year -
年份
.
* @return the year
* @return the year
*/
*/
public
String
getYear
()
{
public
String
getYear
()
{
...
@@ -353,15 +367,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -353,15 +367,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the year -
年份
.
* set the year -
年份
.
*
*
* @param year -
年份
* @param year -
年份
*/
*/
public
void
setYear
(
String
year
)
{
public
void
setYear
(
String
year
)
{
this
.
year
=
year
;
this
.
year
=
year
;
}
}
/**
/**
* get the month -
月份
.
* get the month -
月份
.
* @return the month
* @return the month
*/
*/
public
String
getMonth
()
{
public
String
getMonth
()
{
...
@@ -369,15 +383,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -369,15 +383,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the month -
月份
.
* set the month -
月份
.
*
*
* @param month -
月份
* @param month -
月份
*/
*/
public
void
setMonth
(
String
month
)
{
public
void
setMonth
(
String
month
)
{
this
.
month
=
month
;
this
.
month
=
month
;
}
}
/**
/**
* get the amount -
费用金�
.
* get the amount -
费用金额
.
* @return the amount
* @return the amount
*/
*/
public
BigDecimal
getAmount
()
{
public
BigDecimal
getAmount
()
{
...
@@ -385,15 +399,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -385,15 +399,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the amount -
费用金�
.
* set the amount -
费用金额
.
*
*
* @param amount -
费用金�
* @param amount -
费用金额
*/
*/
public
void
setAmount
(
BigDecimal
amount
)
{
public
void
setAmount
(
BigDecimal
amount
)
{
this
.
amount
=
amount
;
this
.
amount
=
amount
;
}
}
/**
/**
* get the hgcw051Id -
主表
ID.
* get the hgcw051Id -
主表
ID.
* @return the hgcw051Id
* @return the hgcw051Id
*/
*/
public
Long
getHgcw051Id
()
{
public
Long
getHgcw051Id
()
{
...
@@ -401,15 +415,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -401,15 +415,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the hgcw051Id -
主表
ID.
* set the hgcw051Id -
主表
ID.
*
*
* @param hgcw051Id -
主表
ID
* @param hgcw051Id -
主表
ID
*/
*/
public
void
setHgcw051Id
(
Long
hgcw051Id
)
{
public
void
setHgcw051Id
(
Long
hgcw051Id
)
{
this
.
hgcw051Id
=
hgcw051Id
;
this
.
hgcw051Id
=
hgcw051Id
;
}
}
/**
/**
* get the costType -
费用类型
.
* get the costType -
费用类型
.
* @return the costType
* @return the costType
*/
*/
public
String
getCostType
()
{
public
String
getCostType
()
{
...
@@ -417,15 +431,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -417,15 +431,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the costType -
费用类型
.
* set the costType -
费用类型
.
*
*
* @param costType -
费用类型
* @param costType -
费用类型
*/
*/
public
void
setCostType
(
String
costType
)
{
public
void
setCostType
(
String
costType
)
{
this
.
costType
=
costType
;
this
.
costType
=
costType
;
}
}
/**
/**
* get the costItem -
费用项
.
* get the costItem -
费用项
.
* @return the costItem
* @return the costItem
*/
*/
public
String
getCostItem
()
{
public
String
getCostItem
()
{
...
@@ -433,15 +447,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -433,15 +447,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the costItem -
费用项
.
* set the costItem -
费用项
.
*
*
* @param costItem -
费用项
* @param costItem -
费用项
*/
*/
public
void
setCostItem
(
String
costItem
)
{
public
void
setCostItem
(
String
costItem
)
{
this
.
costItem
=
costItem
;
this
.
costItem
=
costItem
;
}
}
/**
/**
* get the itemName -
项目�称
.
* get the itemName -
项目名称
.
* @return the itemName
* @return the itemName
*/
*/
public
String
getItemName
()
{
public
String
getItemName
()
{
...
@@ -449,15 +463,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -449,15 +463,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the itemName -
项目�称
.
* set the itemName -
项目名称
.
*
*
* @param itemName -
项目�称
* @param itemName -
项目名称
*/
*/
public
void
setItemName
(
String
itemName
)
{
public
void
setItemName
(
String
itemName
)
{
this
.
itemName
=
itemName
;
this
.
itemName
=
itemName
;
}
}
/**
/**
* get the itemCode -
项目编�
.
* get the itemCode -
项目编号
.
* @return the itemCode
* @return the itemCode
*/
*/
public
String
getItemCode
()
{
public
String
getItemCode
()
{
...
@@ -465,15 +479,15 @@ public class HGCW052 extends DaoEPBase {
...
@@ -465,15 +479,15 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the itemCode -
项目编�
.
* set the itemCode -
项目编号
.
*
*
* @param itemCode -
项目编�
* @param itemCode -
项目编号
*/
*/
public
void
setItemCode
(
String
itemCode
)
{
public
void
setItemCode
(
String
itemCode
)
{
this
.
itemCode
=
itemCode
;
this
.
itemCode
=
itemCode
;
}
}
/**
/**
* get the isShare -
是�分摊费用
.
* get the isShare -
是否分摊费用
.
* @return the isShare
* @return the isShare
*/
*/
public
String
getIsShare
()
{
public
String
getIsShare
()
{
...
@@ -481,14 +495,46 @@ public class HGCW052 extends DaoEPBase {
...
@@ -481,14 +495,46 @@ public class HGCW052 extends DaoEPBase {
}
}
/**
/**
* set the isShare -
是�分摊费用
.
* set the isShare -
是否分摊费用
.
*
*
* @param isShare -
是�分摊费用
* @param isShare -
是否分摊费用
*/
*/
public
void
setIsShare
(
String
isShare
)
{
public
void
setIsShare
(
String
isShare
)
{
this
.
isShare
=
isShare
;
this
.
isShare
=
isShare
;
}
}
/**
/**
* get the account - 企业编码.
* @return the account
*/
public
String
getAccount
()
{
return
this
.
account
;
}
/**
* set the account - 企业编码.
*
* @param account - 企业编码
*/
public
void
setAccount
(
String
account
)
{
this
.
account
=
account
;
}
/**
* 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 value from Map.
* get the value from Map.
*
*
* @param map - source data map
* @param map - source data map
...
@@ -515,6 +561,8 @@ public class HGCW052 extends DaoEPBase {
...
@@ -515,6 +561,8 @@ public class HGCW052 extends DaoEPBase {
setItemName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ITEM_NAME
)),
itemName
));
setItemName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ITEM_NAME
)),
itemName
));
setItemCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ITEM_CODE
)),
itemCode
));
setItemCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ITEM_CODE
)),
itemCode
));
setIsShare
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_IS_SHARE
)),
isShare
));
setIsShare
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_IS_SHARE
)),
isShare
));
setAccount
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT
)),
account
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
}
}
/**
/**
...
@@ -543,6 +591,8 @@ public class HGCW052 extends DaoEPBase {
...
@@ -543,6 +591,8 @@ public class HGCW052 extends DaoEPBase {
map
.
put
(
FIELD_ITEM_NAME
,
StringUtils
.
toString
(
itemName
,
eiMetadata
.
getMeta
(
FIELD_ITEM_NAME
)));
map
.
put
(
FIELD_ITEM_NAME
,
StringUtils
.
toString
(
itemName
,
eiMetadata
.
getMeta
(
FIELD_ITEM_NAME
)));
map
.
put
(
FIELD_ITEM_CODE
,
StringUtils
.
toString
(
itemCode
,
eiMetadata
.
getMeta
(
FIELD_ITEM_CODE
)));
map
.
put
(
FIELD_ITEM_CODE
,
StringUtils
.
toString
(
itemCode
,
eiMetadata
.
getMeta
(
FIELD_ITEM_CODE
)));
map
.
put
(
FIELD_IS_SHARE
,
StringUtils
.
toString
(
isShare
,
eiMetadata
.
getMeta
(
FIELD_IS_SHARE
)));
map
.
put
(
FIELD_IS_SHARE
,
StringUtils
.
toString
(
isShare
,
eiMetadata
.
getMeta
(
FIELD_IS_SHARE
)));
map
.
put
(
FIELD_ACCOUNT
,
StringUtils
.
toString
(
account
,
eiMetadata
.
getMeta
(
FIELD_ACCOUNT
)));
map
.
put
(
FIELD_DEP_CODE
,
StringUtils
.
toString
(
depCode
,
eiMetadata
.
getMeta
(
FIELD_DEP_CODE
)));
return
map
;
return
map
;
}
}
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW051.xml
View file @
aee1cf10
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<!-- table information
<!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<!-- table information
Generate time : 2024-0
6-26 15:09:24
Generate time : 2024-0
7-01 10:27:27
Version : 1.0
Version : 1.0
schema : hggp
schema : hggp
tableName : HGCW051
tableName : HGCW051
...
@@ -16,7 +16,9 @@
...
@@ -16,7 +16,9 @@
COMPANY_NAME VARCHAR,
COMPANY_NAME VARCHAR,
YEAR VARCHAR NOT NULL,
YEAR VARCHAR NOT NULL,
MONTH VARCHAR NOT NULL,
MONTH VARCHAR NOT NULL,
AMOUNT DECIMAL
AMOUNT DECIMAL,
ACCOUNT VARCHAR,
DEP_CODE VARCHAR
-->
-->
<sqlMap
namespace=
"HGCW051"
>
<sqlMap
namespace=
"HGCW051"
>
...
@@ -60,6 +62,12 @@
...
@@ -60,6 +62,12 @@
<isNotEmpty
prepend=
" AND "
property=
"amount"
>
<isNotEmpty
prepend=
" AND "
property=
"amount"
>
AMOUNT = #amount#
AMOUNT = #amount#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"account"
>
ACCOUNT = #account#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
</isNotEmpty>
</sql>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
<select
id=
"query"
parameterClass=
"java.util.HashMap"
...
@@ -129,24 +137,32 @@
...
@@ -129,24 +137,32 @@
<isNotEmpty prepend=" AND " property="amount">
<isNotEmpty prepend=" AND " property="amount">
AMOUNT = #amount#
AMOUNT = #amount#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty prepend=" AND " property="account">
ACCOUNT = #account#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="depCode">
DEP_CODE = #depCode#
</isNotEmpty>
-->
-->
<insert
id=
"insert"
>
<insert
id=
"insert"
>
INSERT INTO ${hggpSchema}.HGCW051 (ID,
INSERT INTO ${hggpSchema}.HGCW051 (ID,
CREATED_BY,
<!-- 记录创建者 -->
CREATED_BY,
<!-- 记录创建者 -->
CREATED_NAME,
<!-- 记录创建�称 -->
CREATED_NAME,
<!-- 记录创建名称 -->
CREATED_TIME,
<!-- 记录创建时间 -->
CREATED_TIME,
<!-- 记录创建时间 -->
UPDATED_BY,
<!-- 记录修改者 -->
UPDATED_BY,
<!-- 记录修改者 -->
UPDATED_NAME,
<!-- 记录修改�称 -->
UPDATED_NAME,
<!-- 记录修改名称 -->
UPDATED_TIME,
<!-- 记录修改时间 -->
UPDATED_TIME,
<!-- 记录修改时间 -->
DELETE_FLAG,
<!-- 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤ -->
DELETE_FLAG,
<!-- 0-未删除,1-已删除 -->
COMPANY_CODE,
<!-- å…¬å�¸ç¼–ç � -->
COMPANY_CODE,
<!-- 公司编码 -->
COMPANY_NAME,
<!-- 公��称 -->
COMPANY_NAME,
<!-- 公司名称 -->
YEAR,
<!-- 年份 -->
YEAR,
<!-- 年份 -->
MONTH,
<!-- 月份 -->
MONTH,
<!-- 月份 -->
AMOUNT
<!-- 费用金� -->
AMOUNT,
<!-- 费用金额 -->
ACCOUNT,
<!-- 企业编码 -->
DEP_CODE
<!-- 部门编码 -->
)
)
VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#)
VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#
, #account#, #depCode#
)
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
@@ -157,18 +173,20 @@
...
@@ -157,18 +173,20 @@
<update
id=
"update"
>
<update
id=
"update"
>
UPDATE ${hggpSchema}.HGCW051
UPDATE ${hggpSchema}.HGCW051
SET
SET
CREATED_BY = #createdBy#,
<!-- 记录创建者 -->
CREATED_BY = #createdBy#,
<!-- 记录创建者 -->
CREATED_NAME = #createdName#,
<!-- 记录创建�称 -->
CREATED_NAME = #createdName#,
<!-- 记录创建名称 -->
CREATED_TIME = #createdTime#,
<!-- 记录创建时间 -->
CREATED_TIME = #createdTime#,
<!-- 记录创建时间 -->
UPDATED_BY = #updatedBy#,
<!-- 记录修改者 -->
UPDATED_BY = #updatedBy#,
<!-- 记录修改者 -->
UPDATED_NAME = #updatedName#,
<!-- 记录修改�称 -->
UPDATED_NAME = #updatedName#,
<!-- 记录修改名称 -->
UPDATED_TIME = #updatedTime#,
<!-- 记录修改时间 -->
UPDATED_TIME = #updatedTime#,
<!-- 记录修改时间 -->
DELETE_FLAG = #deleteFlag#,
<!-- 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤ -->
DELETE_FLAG = #deleteFlag#,
<!-- 0-未删除,1-已删除 -->
COMPANY_CODE = #companyCode#,
<!-- å…¬å�¸ç¼–ç � -->
COMPANY_CODE = #companyCode#,
<!-- 公司编码 -->
COMPANY_NAME = #companyName#,
<!-- 公��称 -->
COMPANY_NAME = #companyName#,
<!-- 公司名称 -->
YEAR = #year#,
<!-- 年份 -->
YEAR = #year#,
<!-- 年份 -->
MONTH = #month#,
<!-- 月份 -->
MONTH = #month#,
<!-- 月份 -->
AMOUNT = #amount#
<!-- 费用金� -->
AMOUNT = #amount#,
<!-- 费用金额 -->
ACCOUNT = #account#,
<!-- 企业编码 -->
DEP_CODE = #depCode#
<!-- 部门编码 -->
WHERE
WHERE
ID = #id#
ID = #id#
</update>
</update>
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW052.xml
View file @
aee1cf10
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<!-- table information
<!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
<!-- table information
Generate time : 2024-0
6-26 15:09:39
Generate time : 2024-0
7-01 10:27:33
Version : 1.0
Version : 1.0
schema : hggp
schema : hggp
tableName : HGCW052
tableName : HGCW052
...
@@ -22,7 +22,9 @@
...
@@ -22,7 +22,9 @@
COST_ITEM VARCHAR,
COST_ITEM VARCHAR,
ITEM_NAME VARCHAR,
ITEM_NAME VARCHAR,
ITEM_CODE VARCHAR,
ITEM_CODE VARCHAR,
IS_SHARE VARCHAR
IS_SHARE VARCHAR,
ACCOUNT VARCHAR,
DEP_CODE VARCHAR
-->
-->
<sqlMap
namespace=
"HGCW052"
>
<sqlMap
namespace=
"HGCW052"
>
...
@@ -84,32 +86,40 @@
...
@@ -84,32 +86,40 @@
<isNotEmpty
prepend=
" AND "
property=
"isShare"
>
<isNotEmpty
prepend=
" AND "
property=
"isShare"
>
IS_SHARE = #isShare#
IS_SHARE = #isShare#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"account"
>
ACCOUNT = #account#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
</isNotEmpty>
</sql>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
<select
id=
"query"
parameterClass=
"java.util.HashMap"
resultClass=
"com.baosight.hggp.hg.cw.domain.HGCW052"
>
resultClass=
"com.baosight.hggp.hg.cw.domain.HGCW052"
>
SELECT
SELECT
ID as "id",
ID as "id",
CREATED_BY as "createdBy",
<!-- 记录创建者 -->
CREATED_BY as "createdBy",
<!-- 记录创建者 -->
CREATED_NAME as "createdName",
<!-- 记录创建�称 -->
CREATED_NAME as "createdName",
<!-- 记录创建名称 -->
CREATED_TIME as "createdTime",
<!-- 记录创建时间 -->
CREATED_TIME as "createdTime",
<!-- 记录创建时间 -->
UPDATED_BY as "updatedBy",
<!-- 记录修改者 -->
UPDATED_BY as "updatedBy",
<!-- 记录修改者 -->
UPDATED_NAME as "updatedName",
<!-- 记录修改�称 -->
UPDATED_NAME as "updatedName",
<!-- 记录修改名称 -->
UPDATED_TIME as "updatedTime",
<!-- 记录修改时间 -->
UPDATED_TIME as "updatedTime",
<!-- 记录修改时间 -->
DELETE_FLAG as "deleteFlag",
<!-- 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤ -->
DELETE_FLAG as "deleteFlag",
<!-- 0-未删除,1-已删除 -->
COMPANY_CODE as "companyCode",
<!-- å…¬å�¸ç¼–ç � -->
COMPANY_CODE as "companyCode",
<!-- 公司编码 -->
COMPANY_NAME as "companyName",
<!-- 公��称 -->
COMPANY_NAME as "companyName",
<!-- 公司名称 -->
YEAR as "year",
<!-- 年份 -->
YEAR as "year",
<!-- 年份 -->
MONTH as "month",
<!-- 月份 -->
MONTH as "month",
<!-- 月份 -->
AMOUNT as "amount",
<!-- 费用金� -->
AMOUNT as "amount",
<!-- 费用金额 -->
HGCW051_ID as "hgcw051Id",
<!-- 主表ID -->
HGCW051_ID as "hgcw051Id",
<!-- 主表ID -->
COST_TYPE as "costType",
<!-- 费用类型 -->
COST_TYPE as "costType",
<!-- 费用类型 -->
COST_ITEM as "costItem",
<!-- 费用项 -->
COST_ITEM as "costItem",
<!-- 费用项 -->
ITEM_NAME as "itemName",
<!-- 项目�称 -->
ITEM_NAME as "itemName",
<!-- 项目名称 -->
ITEM_CODE as "itemCode",
<!-- 项目编� -->
ITEM_CODE as "itemCode",
<!-- 项目编号 -->
IS_SHARE as "isShare"
<!-- 是�分摊费用 -->
IS_SHARE as "isShare",
<!-- 是否分摊费用 -->
ACCOUNT as "account",
<!-- 企业编码 -->
DEP_CODE as "depCode"
<!-- 部门编码 -->
FROM ${hggpSchema}.HGCW052 WHERE 1=1
FROM ${hggpSchema}.HGCW052 WHERE 1=1
<include
refid=
"condition"
/>
<include
refid=
"condition"
/>
<dynamic
prepend=
"ORDER BY"
>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
<isNotEmpty
property=
"orderBy"
>
$orderBy$
$orderBy$
...
@@ -140,7 +150,7 @@
...
@@ -140,7 +150,7 @@
<select
id=
"count"
resultClass=
"int"
>
<select
id=
"count"
resultClass=
"int"
>
SELECT COUNT(*) FROM ${hggpSchema}.HGCW052 WHERE 1=1
SELECT COUNT(*) FROM ${hggpSchema}.HGCW052 WHERE 1=1
<include
refid=
"condition"
/>
<include
refid=
"condition"
/>
</select>
</select>
<!--
<!--
...
@@ -201,61 +211,68 @@
...
@@ -201,61 +211,68 @@
<isNotEmpty prepend=" AND " property="isShare">
<isNotEmpty prepend=" AND " property="isShare">
IS_SHARE = #isShare#
IS_SHARE = #isShare#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty prepend=" AND " property="account">
ACCOUNT = #account#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="depCode">
DEP_CODE = #depCode#
</isNotEmpty>
-->
-->
<insert
id=
"insert"
>
<insert
id=
"insert"
>
INSERT INTO ${hggpSchema}.HGCW052 (ID,
INSERT INTO ${hggpSchema}.HGCW052 (ID,
CREATED_BY,
<!-- 记录创建者 -->
CREATED_BY,
<!-- 记录创建者 -->
CREATED_NAME,
<!-- 记录创建�称 -->
CREATED_NAME,
<!-- 记录创建名称 -->
CREATED_TIME,
<!-- 记录创建时间 -->
CREATED_TIME,
<!-- 记录创建时间 -->
UPDATED_BY,
<!-- 记录修改者 -->
UPDATED_BY,
<!-- 记录修改者 -->
UPDATED_NAME,
<!-- 记录修改�称 -->
UPDATED_NAME,
<!-- 记录修改名称 -->
UPDATED_TIME,
<!-- 记录修改时间 -->
UPDATED_TIME,
<!-- 记录修改时间 -->
DELETE_FLAG,
<!-- 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤ -->
DELETE_FLAG,
<!-- 0-未删除,1-已删除 -->
COMPANY_CODE,
<!-- å…¬å�¸ç¼–ç � -->
COMPANY_CODE,
<!-- 公司编码 -->
COMPANY_NAME,
<!-- 公��称 -->
COMPANY_NAME,
<!-- 公司名称 -->
YEAR,
<!-- 年份 -->
YEAR,
<!-- 年份 -->
MONTH,
<!-- 月份 -->
MONTH,
<!-- 月份 -->
AMOUNT,
<!-- 费用金� -->
AMOUNT,
<!-- 费用金额 -->
HGCW051_ID,
<!-- 主表ID -->
HGCW051_ID,
<!-- 主表ID -->
COST_TYPE,
<!-- 费用类型 -->
COST_TYPE,
<!-- 费用类型 -->
COST_ITEM,
<!-- 费用项 -->
COST_ITEM,
<!-- 费用项 -->
ITEM_NAME,
<!-- 项目�称 -->
ITEM_NAME,
<!-- 项目名称 -->
ITEM_CODE,
<!-- 项目编� -->
ITEM_CODE,
<!-- 项目编号 -->
IS_SHARE
<!-- 是�分摊费用 -->
IS_SHARE,
<!-- 是否分摊费用 -->
ACCOUNT,
<!-- 企业编码 -->
DEP_CODE
<!-- 部门编码 -->
)
)
VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#,
VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#, #hgcw051Id#, #costType#, #costItem#, #itemName#, #itemCode#, #isShare#, #account#, #depCode#)
#deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#, #hgcw051Id#, #costType#, #costItem#,
#itemName#, #itemCode#, #isShare#)
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
DELETE
DELETE FROM ${hggpSchema}.HGCW052 WHERE
FROM ${hggpSchema}.HGCW052
ID = #id#
WHERE ID = #id#
</delete>
</delete>
<update
id=
"update"
>
<update
id=
"update"
>
UPDATE ${hggpSchema}.HGCW052
UPDATE ${hggpSchema}.HGCW052
SET
SET
CREATED_BY = #createdBy#,
<!-- 记录创建者 -->
CREATED_BY = #createdBy#,
<!-- 记录创建者 -->
CREATED_NAME = #createdName#,
<!-- 记录创建�称 -->
CREATED_NAME = #createdName#,
<!-- 记录创建名称 -->
CREATED_TIME = #createdTime#,
<!-- 记录创建时间 -->
CREATED_TIME = #createdTime#,
<!-- 记录创建时间 -->
UPDATED_BY = #updatedBy#,
<!-- 记录修改者 -->
UPDATED_BY = #updatedBy#,
<!-- 记录修改者 -->
UPDATED_NAME = #updatedName#,
<!-- 记录修改�称 -->
UPDATED_NAME = #updatedName#,
<!-- 记录修改名称 -->
UPDATED_TIME = #updatedTime#,
<!-- 记录修改时间 -->
UPDATED_TIME = #updatedTime#,
<!-- 记录修改时间 -->
DELETE_FLAG = #deleteFlag#,
<!-- 0-æœªåˆ é™¤ï¼Œ1-å·²åˆ é™¤ -->
DELETE_FLAG = #deleteFlag#,
<!-- 0-未删除,1-已删除 -->
COMPANY_CODE = #companyCode#,
<!-- å…¬å�¸ç¼–ç � -->
COMPANY_CODE = #companyCode#,
<!-- 公司编码 -->
COMPANY_NAME = #companyName#,
<!-- 公��称 -->
COMPANY_NAME = #companyName#,
<!-- 公司名称 -->
YEAR = #year#,
<!-- 年份 -->
YEAR = #year#,
<!-- 年份 -->
MONTH = #month#,
<!-- 月份 -->
MONTH = #month#,
<!-- 月份 -->
AMOUNT = #amount#,
<!-- 费用金� -->
AMOUNT = #amount#,
<!-- 费用金额 -->
HGCW051_ID = #hgcw051Id#,
<!-- 主表ID -->
HGCW051_ID = #hgcw051Id#,
<!-- 主表ID -->
COST_TYPE = #costType#,
<!-- 费用类型 -->
COST_TYPE = #costType#,
<!-- 费用类型 -->
COST_ITEM = #costItem#,
<!-- 费用项 -->
COST_ITEM = #costItem#,
<!-- 费用项 -->
ITEM_NAME = #itemName#,
<!-- 项目�称 -->
ITEM_NAME = #itemName#,
<!-- 项目名称 -->
ITEM_CODE = #itemCode#,
<!-- 项目编� -->
ITEM_CODE = #itemCode#,
<!-- 项目编号 -->
IS_SHARE = #isShare#
<!-- 是�分摊费用 -->
IS_SHARE = #isShare#,
<!-- 是否分摊费用 -->
ACCOUNT = #account#,
<!-- 企业编码 -->
DEP_CODE = #depCode#
<!-- 部门编码 -->
WHERE
WHERE
ID = #id#
ID = #id#
</update>
</update>
...
...
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