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
0f4a946e
Commit
0f4a946e
authored
Jul 03, 2024
by
YG8429
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用归集,费用归集详情添加字段
parent
142d64bd
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
33 deletions
+33
-33
HGCW051.java
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW051.java
+12
-12
HGCW052.java
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW052.java
+10
-10
HGCW051.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW051.xml
+5
-5
HGCW052.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW052.xml
+6
-6
No files found.
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW051.java
View file @
0f4a946e
...
...
@@ -35,7 +35,7 @@ public class HGCW051 extends DaoEPBase {
public
static
final
String
FIELD_YEAR
=
"year"
;
/* 年份*/
public
static
final
String
FIELD_MONTH
=
"month"
;
/* 月份*/
public
static
final
String
FIELD_AMOUNT
=
"amount"
;
/* 费用金额*/
public
static
final
String
FIELD_ACCOUNT
=
"account
"
;
/* 企业编码*/
public
static
final
String
FIELD_ACCOUNT
_CODE
=
"accountCode
"
;
/* 企业编码*/
public
static
final
String
FIELD_DEP_CODE
=
"depCode"
;
/* 部门编码*/
public
static
final
String
COL_ID
=
"ID"
;
...
...
@@ -51,7 +51,7 @@ public class HGCW051 extends DaoEPBase {
public
static
final
String
COL_YEAR
=
"YEAR"
;
/* 年份*/
public
static
final
String
COL_MONTH
=
"MONTH"
;
/* 月份*/
public
static
final
String
COL_AMOUNT
=
"AMOUNT"
;
/* 费用金额*/
public
static
final
String
COL_ACCOUNT
=
"ACCOUNT
"
;
/* 企业编码*/
public
static
final
String
COL_ACCOUNT
_CODE
=
"ACCOUNT_CODE
"
;
/* 企业编码*/
public
static
final
String
COL_DEP_CODE
=
"DEP_CODE"
;
/* 部门编码*/
public
static
final
String
QUERY
=
"HGCW051.query"
;
...
...
@@ -73,7 +73,7 @@ public class HGCW051 extends DaoEPBase {
private
String
year
=
" "
;
/* 年份*/
private
String
month
=
" "
;
/* 月份*/
private
BigDecimal
amount
=
new
BigDecimal
(
"0"
);
/* 费用金额*/
private
String
account
=
" "
;
/* 企业编码*/
private
String
account
Code
=
" "
;
/* 企业编码*/
private
String
depCode
=
" "
;
/* 部门编码*/
/**
...
...
@@ -138,7 +138,7 @@ public class HGCW051 extends DaoEPBase {
eiColumn
.
setDescName
(
"费用金额"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ACCOUNT
);
eiColumn
=
new
EiColumn
(
FIELD_ACCOUNT
_CODE
);
eiColumn
.
setDescName
(
"企业编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
...
...
@@ -368,17 +368,17 @@ public class HGCW051 extends DaoEPBase {
* get the account - 企业编码.
* @return the account
*/
public
String
getAccount
()
{
return
this
.
account
;
public
String
getAccount
Code
()
{
return
this
.
account
Code
;
}
/**
* set the account - 企业编码.
* set the account
Code
- 企业编码.
*
* @param account - 企业编码
* @param account
Code
- 企业编码
*/
public
void
setAccount
(
String
account
)
{
this
.
account
=
account
;
public
void
setAccount
Code
(
String
accountCode
)
{
this
.
account
Code
=
accountCode
;
}
/**
* get the depCode - 部门编码.
...
...
@@ -417,7 +417,7 @@ public class HGCW051 extends DaoEPBase {
setYear
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_YEAR
)),
year
));
setMonth
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_MONTH
)),
month
));
setAmount
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_AMOUNT
)),
amount
));
setAccount
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT
)),
account
));
setAccount
Code
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT_CODE
)),
accountCode
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
}
...
...
@@ -441,7 +441,7 @@ public class HGCW051 extends DaoEPBase {
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_AMOUNT
,
StringUtils
.
toString
(
amount
,
eiMetadata
.
getMeta
(
FIELD_AMOUNT
)));
map
.
put
(
FIELD_ACCOUNT
,
StringUtils
.
toString
(
account
,
eiMetadata
.
getMeta
(
FIELD_ACCOUNT
)));
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
)));
return
map
;
...
...
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW052.java
View file @
0f4a946e
...
...
@@ -41,7 +41,7 @@ public class HGCW052 extends DaoEPBase {
public
static
final
String
FIELD_ITEM_NAME
=
"itemName"
;
/* 项目名称*/
public
static
final
String
FIELD_ITEM_CODE
=
"itemCode"
;
/* 项目编号*/
public
static
final
String
FIELD_IS_SHARE
=
"isShare"
;
/* 是否分摊费用*/
public
static
final
String
FIELD_ACCOUNT
=
"account
"
;
/* 企业编码*/
public
static
final
String
FIELD_ACCOUNT
_CODE
=
"accountCode
"
;
/* 企业编码*/
public
static
final
String
FIELD_DEP_CODE
=
"depCode"
;
/* 部门编码*/
public
static
final
String
COL_ID
=
"ID"
;
...
...
@@ -63,7 +63,7 @@ public class HGCW052 extends DaoEPBase {
public
static
final
String
COL_ITEM_NAME
=
"ITEM_NAME"
;
/* 项目名称*/
public
static
final
String
COL_ITEM_CODE
=
"ITEM_CODE"
;
/* 项目编号*/
public
static
final
String
COL_IS_SHARE
=
"IS_SHARE"
;
/* 是否分摊费用*/
public
static
final
String
COL_ACCOUNT
=
"ACCOUNT
"
;
/* 企业编码*/
public
static
final
String
COL_ACCOUNT
_CODE
=
"ACCOUNT_CODE
"
;
/* 企业编码*/
public
static
final
String
COL_DEP_CODE
=
"DEP_CODE"
;
/* 部门编码*/
public
static
final
String
QUERY
=
"HGCW052.query"
;
...
...
@@ -91,7 +91,7 @@ public class HGCW052 extends DaoEPBase {
private
String
itemName
=
" "
;
/* 项目名称*/
private
String
itemCode
=
" "
;
/* 项目编号*/
private
String
isShare
=
" "
;
/* 是否分摊费用*/
private
String
account
=
" "
;
/* 企业编码*/
private
String
account
Code
=
" "
;
/* 企业编码*/
private
String
depCode
=
" "
;
/* 部门编码*/
/**
...
...
@@ -180,7 +180,7 @@ public class HGCW052 extends DaoEPBase {
eiColumn
.
setDescName
(
"是否分摊费用"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ACCOUNT
);
eiColumn
=
new
EiColumn
(
FIELD_ACCOUNT
_CODE
);
eiColumn
.
setDescName
(
"企业编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
...
...
@@ -506,8 +506,8 @@ public class HGCW052 extends DaoEPBase {
* get the account - 企业编码.
* @return the account
*/
public
String
getAccount
()
{
return
this
.
account
;
public
String
getAccount
Code
()
{
return
this
.
account
Code
;
}
/**
...
...
@@ -515,8 +515,8 @@ public class HGCW052 extends DaoEPBase {
*
* @param account - 企业编码
*/
public
void
setAccount
(
String
account
)
{
this
.
account
=
account
;
public
void
setAccount
Code
(
String
account
)
{
this
.
account
Code
=
account
;
}
/**
* get the depCode - 部门编码.
...
...
@@ -561,7 +561,7 @@ public class HGCW052 extends DaoEPBase {
setItemName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ITEM_NAME
)),
itemName
));
setItemCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ITEM_CODE
)),
itemCode
));
setIsShare
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_IS_SHARE
)),
isShare
));
setAccount
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT
)),
account
));
setAccount
Code
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT_CODE
)),
accountCode
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
}
...
...
@@ -591,7 +591,7 @@ public class HGCW052 extends DaoEPBase {
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_IS_SHARE
,
StringUtils
.
toString
(
isShare
,
eiMetadata
.
getMeta
(
FIELD_IS_SHARE
)));
map
.
put
(
FIELD_ACCOUNT
,
StringUtils
.
toString
(
account
,
eiMetadata
.
getMeta
(
FIELD_ACCOUNT
)));
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
)));
return
map
;
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW051.xml
View file @
0f4a946e
...
...
@@ -62,8 +62,8 @@
<isNotEmpty
prepend=
" AND "
property=
"amount"
>
AMOUNT = #amount#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"account"
>
ACCOUNT
= #account
#
<isNotEmpty
prepend=
" AND "
property=
"account
Code
"
>
ACCOUNT
_CODE = #accountCode
#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
...
...
@@ -159,10 +159,10 @@
YEAR,
<!-- 年份 -->
MONTH,
<!-- 月份 -->
AMOUNT,
<!-- 费用金额 -->
ACCOUNT,
<!-- 企业编码 -->
ACCOUNT
_CODE
,
<!-- 企业编码 -->
DEP_CODE
<!-- 部门编码 -->
)
VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#, #account#, #depCode#)
VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#, #account
Code
#, #depCode#)
</insert>
<delete
id=
"delete"
>
...
...
@@ -185,7 +185,7 @@
YEAR = #year#,
<!-- 年份 -->
MONTH = #month#,
<!-- 月份 -->
AMOUNT = #amount#,
<!-- 费用金额 -->
ACCOUNT
= #account
#,
<!-- 企业编码 -->
ACCOUNT
_CODE = #accountCode
#,
<!-- 企业编码 -->
DEP_CODE = #depCode#
<!-- 部门编码 -->
WHERE
ID = #id#
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW052.xml
View file @
0f4a946e
...
...
@@ -86,8 +86,8 @@
<isNotEmpty
prepend=
" AND "
property=
"isShare"
>
IS_SHARE = #isShare#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"account"
>
ACCOUNT
= #account
#
<isNotEmpty
prepend=
" AND "
property=
"account
Code
"
>
ACCOUNT
_CODE = #accountCode
#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
...
...
@@ -116,7 +116,7 @@
ITEM_NAME as "itemName",
<!-- 项目名称 -->
ITEM_CODE as "itemCode",
<!-- 项目编号 -->
IS_SHARE as "isShare",
<!-- 是否分摊费用 -->
ACCOUNT
as "account
",
<!-- 企业编码 -->
ACCOUNT
_CODE as "accountCode
",
<!-- 企业编码 -->
DEP_CODE as "depCode"
<!-- 部门编码 -->
FROM ${hggpSchema}.HGCW052 WHERE 1=1
<include
refid=
"condition"
/>
...
...
@@ -239,10 +239,10 @@
ITEM_NAME,
<!-- 项目名称 -->
ITEM_CODE,
<!-- 项目编号 -->
IS_SHARE,
<!-- 是否分摊费用 -->
ACCOUNT,
<!-- 企业编码 -->
ACCOUNT
_CODE
,
<!-- 企业编码 -->
DEP_CODE
<!-- 部门编码 -->
)
VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#, #hgcw051Id#, #costType#, #costItem#, #itemName#, #itemCode#, #isShare#, #account#, #depCode#)
VALUES (#id#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #year#, #month#, #amount#, #hgcw051Id#, #costType#, #costItem#, #itemName#, #itemCode#, #isShare#, #account
Code
#, #depCode#)
</insert>
<delete
id=
"delete"
>
...
...
@@ -271,7 +271,7 @@
ITEM_NAME = #itemName#,
<!-- 项目名称 -->
ITEM_CODE = #itemCode#,
<!-- 项目编号 -->
IS_SHARE = #isShare#,
<!-- 是否分摊费用 -->
ACCOUNT
= #account
#,
<!-- 企业编码 -->
ACCOUNT
_CODE = #accountCode
#,
<!-- 企业编码 -->
DEP_CODE = #depCode#
<!-- 部门编码 -->
WHERE
ID = #id#
...
...
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