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
a3d96d06
Commit
a3d96d06
authored
Jul 03, 2024
by
yukang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
0d712d8c
4b138dbf
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
56 additions
and
69 deletions
+56
-69
DdynamicEnum.java
src/main/java/com/baosight/hggp/common/DdynamicEnum.java
+1
-1
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
HGSC009.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC009.xml
+2
-22
HGSCTools.java
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
+3
-3
HGXSTools.java
src/main/java/com/baosight/hggp/hg/xs/tools/HGXSTools.java
+1
-1
ServiceXSOG0801A.java
...om/baosight/xservices/xs/og/service/ServiceXSOG0801A.java
+2
-2
sqlmap-config.xml
src/main/resources/resources/ibatis/sqlmap-config.xml
+1
-1
HGCW010.js
src/main/webapp/HG/CW/HGCW010.js
+4
-0
HGCW010.jsp
src/main/webapp/HG/CW/HGCW010.jsp
+6
-2
HGCW010A.jsp
src/main/webapp/HG/CW/HGCW010A.jsp
+0
-1
HGCW010B.jsp
src/main/webapp/HG/CW/HGCW010B.jsp
+1
-1
HGSC004A.js
src/main/webapp/HG/SC/HGSC004A.js
+1
-1
HGSC009.jsp
src/main/webapp/HG/SC/HGSC009.jsp
+1
-1
No files found.
src/main/java/com/baosight/hggp/common/DdynamicEnum.java
View file @
a3d96d06
...
@@ -92,7 +92,7 @@ public enum DdynamicEnum {
...
@@ -92,7 +92,7 @@ public enum DdynamicEnum {
* 用途:存货档案下拉框 (不默认状态)
* 用途:存货档案下拉框 (不默认状态)
* 编写:
* 编写:
*/
*/
INVENT_RECORD_BOX_BLOCK_ID
(
"invent_record_box_block_id"
,
"inventCode"
,
"inventName"
,
"inventTypeDetail"
,
"id"
,
"inventType"
,
"spec"
,
"material"
,
"unit"
,
"length"
,
"width"
,
"thick"
,
"
COEFFICIENT
"
,
"HGPZ005.queryInventCodeBox"
),
INVENT_RECORD_BOX_BLOCK_ID
(
"invent_record_box_block_id"
,
"inventCode"
,
"inventName"
,
"inventTypeDetail"
,
"id"
,
"inventType"
,
"spec"
,
"material"
,
"unit"
,
"length"
,
"width"
,
"thick"
,
"
coefficient
"
,
"HGPZ005.queryInventCodeBox"
),
/**
/**
* 模块:存货档案
* 模块:存货档案
...
...
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW051.java
View file @
a3d96d06
...
@@ -35,7 +35,7 @@ public class HGCW051 extends DaoEPBase {
...
@@ -35,7 +35,7 @@ public class HGCW051 extends DaoEPBase {
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_ACCOUNT
_CODE
=
"accountCode
"
;
/* 企业编码*/
public
static
final
String
FIELD_DEP_CODE
=
"depCode"
;
/* 部门编码*/
public
static
final
String
FIELD_DEP_CODE
=
"depCode"
;
/* 部门编码*/
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_ID
=
"ID"
;
...
@@ -51,7 +51,7 @@ public class HGCW051 extends DaoEPBase {
...
@@ -51,7 +51,7 @@ public class HGCW051 extends DaoEPBase {
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_ACCOUNT
_CODE
=
"ACCOUNT_CODE
"
;
/* 企业编码*/
public
static
final
String
COL_DEP_CODE
=
"DEP_CODE"
;
/* 部门编码*/
public
static
final
String
COL_DEP_CODE
=
"DEP_CODE"
;
/* 部门编码*/
public
static
final
String
QUERY
=
"HGCW051.query"
;
public
static
final
String
QUERY
=
"HGCW051.query"
;
...
@@ -73,7 +73,7 @@ public class HGCW051 extends DaoEPBase {
...
@@ -73,7 +73,7 @@ public class HGCW051 extends DaoEPBase {
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
account
Code
=
" "
;
/* 企业编码*/
private
String
depCode
=
" "
;
/* 部门编码*/
private
String
depCode
=
" "
;
/* 部门编码*/
/**
/**
...
@@ -138,7 +138,7 @@ public class HGCW051 extends DaoEPBase {
...
@@ -138,7 +138,7 @@ public class HGCW051 extends DaoEPBase {
eiColumn
.
setDescName
(
"费用金额"
);
eiColumn
.
setDescName
(
"费用金额"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ACCOUNT
);
eiColumn
=
new
EiColumn
(
FIELD_ACCOUNT
_CODE
);
eiColumn
.
setDescName
(
"企业编码"
);
eiColumn
.
setDescName
(
"企业编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
...
@@ -368,17 +368,17 @@ public class HGCW051 extends DaoEPBase {
...
@@ -368,17 +368,17 @@ public class HGCW051 extends DaoEPBase {
* get the account - 企业编码.
* get the account - 企业编码.
* @return the account
* @return the account
*/
*/
public
String
getAccount
()
{
public
String
getAccount
Code
()
{
return
this
.
account
;
return
this
.
account
Code
;
}
}
/**
/**
* set the account - 企业编码.
* set the account
Code
- 企业编码.
*
*
* @param account - 企业编码
* @param account
Code
- 企业编码
*/
*/
public
void
setAccount
(
String
account
)
{
public
void
setAccount
Code
(
String
accountCode
)
{
this
.
account
=
account
;
this
.
account
Code
=
accountCode
;
}
}
/**
/**
* get the depCode - 部门编码.
* get the depCode - 部门编码.
...
@@ -417,7 +417,7 @@ public class HGCW051 extends DaoEPBase {
...
@@ -417,7 +417,7 @@ 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
));
setAccount
Code
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT_CODE
)),
accountCode
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
}
}
...
@@ -441,7 +441,7 @@ public class HGCW051 extends DaoEPBase {
...
@@ -441,7 +441,7 @@ 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_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_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 @
a3d96d06
...
@@ -41,7 +41,7 @@ public class HGCW052 extends DaoEPBase {
...
@@ -41,7 +41,7 @@ public class HGCW052 extends DaoEPBase {
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_ACCOUNT
_CODE
=
"accountCode
"
;
/* 企业编码*/
public
static
final
String
FIELD_DEP_CODE
=
"depCode"
;
/* 部门编码*/
public
static
final
String
FIELD_DEP_CODE
=
"depCode"
;
/* 部门编码*/
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_ID
=
"ID"
;
...
@@ -63,7 +63,7 @@ public class HGCW052 extends DaoEPBase {
...
@@ -63,7 +63,7 @@ public class HGCW052 extends DaoEPBase {
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_ACCOUNT
_CODE
=
"ACCOUNT_CODE
"
;
/* 企业编码*/
public
static
final
String
COL_DEP_CODE
=
"DEP_CODE"
;
/* 部门编码*/
public
static
final
String
COL_DEP_CODE
=
"DEP_CODE"
;
/* 部门编码*/
public
static
final
String
QUERY
=
"HGCW052.query"
;
public
static
final
String
QUERY
=
"HGCW052.query"
;
...
@@ -91,7 +91,7 @@ public class HGCW052 extends DaoEPBase {
...
@@ -91,7 +91,7 @@ public class HGCW052 extends DaoEPBase {
private
String
itemName
=
" "
;
/* 项目名称*/
private
String
itemName
=
" "
;
/* 项目名称*/
private
String
itemCode
=
" "
;
/* 项目编号*/
private
String
itemCode
=
" "
;
/* 项目编号*/
private
String
isShare
=
" "
;
/* 是否分摊费用*/
private
String
isShare
=
" "
;
/* 是否分摊费用*/
private
String
account
=
" "
;
/* 企业编码*/
private
String
account
Code
=
" "
;
/* 企业编码*/
private
String
depCode
=
" "
;
/* 部门编码*/
private
String
depCode
=
" "
;
/* 部门编码*/
/**
/**
...
@@ -180,7 +180,7 @@ public class HGCW052 extends DaoEPBase {
...
@@ -180,7 +180,7 @@ public class HGCW052 extends DaoEPBase {
eiColumn
.
setDescName
(
"是否分摊费用"
);
eiColumn
.
setDescName
(
"是否分摊费用"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ACCOUNT
);
eiColumn
=
new
EiColumn
(
FIELD_ACCOUNT
_CODE
);
eiColumn
.
setDescName
(
"企业编码"
);
eiColumn
.
setDescName
(
"企业编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
...
@@ -506,8 +506,8 @@ public class HGCW052 extends DaoEPBase {
...
@@ -506,8 +506,8 @@ public class HGCW052 extends DaoEPBase {
* get the account - 企业编码.
* get the account - 企业编码.
* @return the account
* @return the account
*/
*/
public
String
getAccount
()
{
public
String
getAccount
Code
()
{
return
this
.
account
;
return
this
.
account
Code
;
}
}
/**
/**
...
@@ -515,8 +515,8 @@ public class HGCW052 extends DaoEPBase {
...
@@ -515,8 +515,8 @@ public class HGCW052 extends DaoEPBase {
*
*
* @param account - 企业编码
* @param account - 企业编码
*/
*/
public
void
setAccount
(
String
account
)
{
public
void
setAccount
Code
(
String
account
)
{
this
.
account
=
account
;
this
.
account
Code
=
account
;
}
}
/**
/**
* get the depCode - 部门编码.
* get the depCode - 部门编码.
...
@@ -561,7 +561,7 @@ public class HGCW052 extends DaoEPBase {
...
@@ -561,7 +561,7 @@ 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
));
setAccount
Code
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT_CODE
)),
accountCode
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
}
}
...
@@ -591,7 +591,7 @@ public class HGCW052 extends DaoEPBase {
...
@@ -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_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_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_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 @
a3d96d06
...
@@ -62,8 +62,8 @@
...
@@ -62,8 +62,8 @@
<isNotEmpty
prepend=
" AND "
property=
"amount"
>
<isNotEmpty
prepend=
" AND "
property=
"amount"
>
AMOUNT = #amount#
AMOUNT = #amount#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"account"
>
<isNotEmpty
prepend=
" AND "
property=
"account
Code
"
>
ACCOUNT
= #account
#
ACCOUNT
_CODE = #accountCode
#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
DEP_CODE = #depCode#
...
@@ -159,10 +159,10 @@
...
@@ -159,10 +159,10 @@
YEAR,
<!-- 年份 -->
YEAR,
<!-- 年份 -->
MONTH,
<!-- 月份 -->
MONTH,
<!-- 月份 -->
AMOUNT,
<!-- 费用金额 -->
AMOUNT,
<!-- 费用金额 -->
ACCOUNT,
<!-- 企业编码 -->
ACCOUNT
_CODE
,
<!-- 企业编码 -->
DEP_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>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
YEAR = #year#,
<!-- 年份 -->
YEAR = #year#,
<!-- 年份 -->
MONTH = #month#,
<!-- 月份 -->
MONTH = #month#,
<!-- 月份 -->
AMOUNT = #amount#,
<!-- 费用金额 -->
AMOUNT = #amount#,
<!-- 费用金额 -->
ACCOUNT
= #account
#,
<!-- 企业编码 -->
ACCOUNT
_CODE = #accountCode
#,
<!-- 企业编码 -->
DEP_CODE = #depCode#
<!-- 部门编码 -->
DEP_CODE = #depCode#
<!-- 部门编码 -->
WHERE
WHERE
ID = #id#
ID = #id#
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW052.xml
View file @
a3d96d06
...
@@ -86,8 +86,8 @@
...
@@ -86,8 +86,8 @@
<isNotEmpty
prepend=
" AND "
property=
"isShare"
>
<isNotEmpty
prepend=
" AND "
property=
"isShare"
>
IS_SHARE = #isShare#
IS_SHARE = #isShare#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"account"
>
<isNotEmpty
prepend=
" AND "
property=
"account
Code
"
>
ACCOUNT
= #account
#
ACCOUNT
_CODE = #accountCode
#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
DEP_CODE = #depCode#
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
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
",
<!-- 企业编码 -->
ACCOUNT
_CODE as "accountCode
",
<!-- 企业编码 -->
DEP_CODE as "depCode"
<!-- 部门编码 -->
DEP_CODE as "depCode"
<!-- 部门编码 -->
FROM ${hggpSchema}.HGCW052 WHERE 1=1
FROM ${hggpSchema}.HGCW052 WHERE 1=1
<include
refid=
"condition"
/>
<include
refid=
"condition"
/>
...
@@ -239,10 +239,10 @@
...
@@ -239,10 +239,10 @@
ITEM_NAME,
<!-- 项目名称 -->
ITEM_NAME,
<!-- 项目名称 -->
ITEM_CODE,
<!-- 项目编号 -->
ITEM_CODE,
<!-- 项目编号 -->
IS_SHARE,
<!-- 是否分摊费用 -->
IS_SHARE,
<!-- 是否分摊费用 -->
ACCOUNT,
<!-- 企业编码 -->
ACCOUNT
_CODE
,
<!-- 企业编码 -->
DEP_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>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
@@ -271,7 +271,7 @@
...
@@ -271,7 +271,7 @@
ITEM_NAME = #itemName#,
<!-- 项目名称 -->
ITEM_NAME = #itemName#,
<!-- 项目名称 -->
ITEM_CODE = #itemCode#,
<!-- 项目编号 -->
ITEM_CODE = #itemCode#,
<!-- 项目编号 -->
IS_SHARE = #isShare#,
<!-- 是否分摊费用 -->
IS_SHARE = #isShare#,
<!-- 是否分摊费用 -->
ACCOUNT
= #account
#,
<!-- 企业编码 -->
ACCOUNT
_CODE = #accountCode
#,
<!-- 企业编码 -->
DEP_CODE = #depCode#
<!-- 部门编码 -->
DEP_CODE = #depCode#
<!-- 部门编码 -->
WHERE
WHERE
ID = #id#
ID = #id#
...
...
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC009.xml
View file @
a3d96d06
<?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">
Generate time : 2024-05-28 11:47:21
Version : 1.0
schema : hggp
tableName : HGSC009
ID BIGINT NOT NULL primarykey,
ACCOUNT_CODE VARCHAR,
DEP_CODE VARCHAR,
COMPANY_CODE VARCHAR,
COMPANY_NAME VARCHAR,
PROJ_CODE VARCHAR,
PROJ_NAME VARCHAR,
PLAN_MATERIAL_CODE VARCHAR,
PLAN_MATERIAL_NAME VARCHAR,
STATUS TINYINT,
CREATED_BY VARCHAR,
CREATED_NAME VARCHAR,
CREATED_TIME VARCHAR,
UPDATED_BY VARCHAR,
UPDATED_NAME VARCHAR,
UPDATED_TIME VARCHAR
-->
<sqlMap
namespace=
"HGSC009"
>
<sqlMap
namespace=
"HGSC009"
>
<sql
id=
"condition"
>
<sql
id=
"condition"
>
<include
refid=
"HGXSDataAuth.authCondition"
/>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
ID = #id#
</isNotEmpty>
</isNotEmpty>
...
...
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
View file @
a3d96d06
...
@@ -1074,9 +1074,9 @@ public class HGSCTools {
...
@@ -1074,9 +1074,9 @@ public class HGSCTools {
private
static
void
checkAddDate
(
HGSC008
hgsc008
){
private
static
void
checkAddDate
(
HGSC008
hgsc008
){
List
<
String
>
orgIdList
=
UserSessionUtils
.
getOrgId
();
//
List<String> orgIdList = UserSessionUtils.getOrgId();
AssertUtils
.
isEmpty
(
hgsc008
.
getGroupCode
(),
"生产任务班组信息异常,请联系管理员!"
);
//
AssertUtils.isEmpty(hgsc008.getGroupCode(),"生产任务班组信息异常,请联系管理员!");
AssertUtils
.
isTrue
(!
orgIdList
.
contains
(
hgsc008
.
getGroupCode
()),
"非当前任务生产组用户,无法报工此任务!"
);
//
AssertUtils.isTrue(!orgIdList.contains(hgsc008.getGroupCode()),"非当前任务生产组用户,无法报工此任务!");
AssertUtils
.
isNull
(
hgsc008
.
getQuantity
(),
"报工数量不能为空!"
);
AssertUtils
.
isNull
(
hgsc008
.
getQuantity
(),
"报工数量不能为空!"
);
}
}
...
...
src/main/java/com/baosight/hggp/hg/xs/tools/HGXSTools.java
View file @
a3d96d06
...
@@ -312,7 +312,7 @@ public class HGXSTools {
...
@@ -312,7 +312,7 @@ public class HGXSTools {
queryMap
.
put
(
"orgId"
,
orgId
);
queryMap
.
put
(
"orgId"
,
orgId
);
queryMap
.
put
(
"orgType"
,
OrgTypeEnum
.
COMPANY
.
getCode
());
queryMap
.
put
(
"orgType"
,
OrgTypeEnum
.
COMPANY
.
getCode
());
List
<
Org
>
results
=
DaoBase
.
getInstance
().
query
(
HGSqlConstant
.
HgXsOrg
.
QUERY_PARENT
,
queryMap
);
List
<
Org
>
results
=
DaoBase
.
getInstance
().
query
(
HGSqlConstant
.
HgXsOrg
.
QUERY_PARENT
,
queryMap
);
return
CollectionUtils
.
isEmpty
(
results
)
?
null
:
results
.
get
(
results
.
size
()
-
1
);
return
CollectionUtils
.
isEmpty
(
results
)
?
null
:
results
.
get
(
0
);
}
}
/**
/**
...
...
src/main/java/com/baosight/xservices/xs/og/service/ServiceXSOG0801A.java
View file @
a3d96d06
...
@@ -54,8 +54,8 @@ public class ServiceXSOG0801A extends ServiceEPBase {
...
@@ -54,8 +54,8 @@ public class ServiceXSOG0801A extends ServiceEPBase {
// 查询组织
// 查询组织
Org
org
=
HGXSTools
.
XsOrg
.
get
(
parentOrgId
);
Org
org
=
HGXSTools
.
XsOrg
.
get
(
parentOrgId
);
if
(
CommonConstant
.
Field
.
ROOT
.
equals
(
org
.
getParentOrgId
()))
{
if
(
CommonConstant
.
Field
.
ROOT
.
equals
(
org
.
getParentOrgId
()))
{
condition
=
String
.
format
(
" ITEM_CODE IN ('%s', '%s')"
,
OrgTypeEnum
.
COMPANY
.
getCode
(),
condition
=
String
.
format
(
" ITEM_CODE IN ('%s', '%s'
, '%s'
)"
,
OrgTypeEnum
.
COMPANY
.
getCode
(),
OrgTypeEnum
.
DEPT
.
getCode
());
OrgTypeEnum
.
FACTORY
.
getCode
(),
OrgTypeEnum
.
DEPT
.
getCode
());
}
else
if
(
OrgTypeEnum
.
COMPANY
.
getCode
().
equals
(
org
.
getOrgType
()))
{
}
else
if
(
OrgTypeEnum
.
COMPANY
.
getCode
().
equals
(
org
.
getOrgType
()))
{
condition
=
String
.
format
(
" ITEM_CODE IN ('%s', '%s', '%s')"
,
OrgTypeEnum
.
COMPANY
.
getCode
(),
condition
=
String
.
format
(
" ITEM_CODE IN ('%s', '%s', '%s')"
,
OrgTypeEnum
.
COMPANY
.
getCode
(),
OrgTypeEnum
.
FACTORY
.
getCode
(),
OrgTypeEnum
.
DEPT
.
getCode
());
OrgTypeEnum
.
FACTORY
.
getCode
(),
OrgTypeEnum
.
DEPT
.
getCode
());
...
...
src/main/resources/resources/ibatis/sqlmap-config.xml
View file @
a3d96d06
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<sqlMap
resource=
"com/baosight/hggp/hg/sc/sql/HGSC006A.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/sc/sql/HGSC006A.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/sc/sql/HGSC007.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/sc/sql/HGSC007.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/sc/sql/HGSC008.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/sc/sql/HGSC008.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/sc/sql/HGSC009.xml"
/>
<!-- 財務 -->
<!-- 財務 -->
<sqlMap
resource=
"com/baosight/hggp/hg/cw/sql/HGCW001.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/cw/sql/HGCW001.xml"
/>
...
...
src/main/webapp/HG/CW/HGCW010.js
View file @
a3d96d06
...
@@ -239,6 +239,10 @@ function billFunc() {
...
@@ -239,6 +239,10 @@ function billFunc() {
message
(
"勾选的数据中有已经开票的票据!"
);
message
(
"勾选的数据中有已经开票的票据!"
);
flag
=
false
;
flag
=
false
;
}
}
if
(
row
.
billNumber
==
" "
)
{
message
(
"勾选的数据中发票号为空"
);
flag
=
false
;
}
}
}
)
)
...
...
src/main/webapp/HG/CW/HGCW010.jsp
View file @
a3d96d06
...
@@ -22,7 +22,11 @@
...
@@ -22,7 +22,11 @@
<EF:EFInput
cname=
"发票号"
ename=
"billNumber"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"发票号"
ename=
"billNumber"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFSelect
cname=
"开票状态"
ename=
"inqu_status-0-billState"
colWidth=
"3"
filter=
"contains"
>
<EF:EFSelect
cname=
"开票状态"
ename=
"inqu_status-0-billState"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hggp.cw.reviewStatus"
/>
<EF:EFCodeOption
codeName=
"hggp.cw.billState"
/>
</EF:EFSelect>
<EF:EFSelect
cname=
"审批状态"
ename=
"inqu_status-0-reviewStatus"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hggp.cw.reviewStatus"
condition =
"ITEM_CODE IN ('0','1')"
/>
</EF:EFSelect>
</EF:EFSelect>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
...
@@ -39,7 +43,7 @@
...
@@ -39,7 +43,7 @@
<EF:EFCodeOption
codeName=
"hggp.cw.billTybe"
/>
<EF:EFCodeOption
codeName=
"hggp.cw.billTybe"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"signingDate"
cname=
"开票日期"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"signingDate"
cname=
"开票日期"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"billNumber"
cname=
"发票号"
width=
"120"
enable=
"false"
readonly=
"true
"
align=
"center"
/>
<EF:EFColumn
ename=
"billNumber"
cname=
"发票号"
width=
"120"
format=
"{0:N3}
"
align=
"center"
/>
<EF:EFComboColumn
ename=
"taxPoints"
cname=
"税点"
width=
"120"
align=
"center"
required=
"true"
<EF:EFComboColumn
ename=
"taxPoints"
cname=
"税点"
width=
"120"
align=
"center"
required=
"true"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
enable=
"true"
>
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
enable=
"true"
>
<EF:EFCodeOption
codeName=
"hggp.cw.taxPoints"
/>
<EF:EFCodeOption
codeName=
"hggp.cw.taxPoints"
/>
...
...
src/main/webapp/HG/CW/HGCW010A.jsp
View file @
a3d96d06
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"settlementNumber"
cname=
"结算编号"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"settlementNumber"
cname=
"结算编号"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"contractDate"
cname=
"结算日期"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"contractDate"
cname=
"结算日期"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"billNumber"
cname=
"发票号"
width=
"120"
enable=
"true"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"taxPoints"
cname=
"税率(%)"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"taxPoints"
cname=
"税率(%)"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"thisPriceTax"
cname=
"结算价税合计金额"
hidden=
"true"
/>
<EF:EFColumn
ename=
"thisPriceTax"
cname=
"结算价税合计金额"
hidden=
"true"
/>
<EF:EFColumn
ename=
"thisSettlementTax"
cname=
"结算税金"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"thisSettlementTax"
cname=
"结算税金"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
...
...
src/main/webapp/HG/CW/HGCW010B.jsp
View file @
a3d96d06
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"partyA"
cname=
"客户名称"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"partyA"
cname=
"客户名称"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"settlementNumber"
cname=
"来源单号"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"settlementNumber"
cname=
"来源单号"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"totalContractPriceIncluding"
cname=
"开
款总
额"
width=
"120"
format=
"{0:N3}"
align=
"center"
/>
<EF:EFColumn
ename=
"totalContractPriceIncluding"
cname=
"开
票金
额"
width=
"120"
format=
"{0:N3}"
align=
"center"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
</EF:EFPage>
</EF:EFPage>
...
...
src/main/webapp/HG/SC/HGSC004A.js
View file @
a3d96d06
...
@@ -644,7 +644,7 @@ function showDetail(id) {
...
@@ -644,7 +644,7 @@ function showDetail(id) {
}
}
function
updateProductStatus
(
id
,
status
)
{
function
updateProductStatus
(
id
,
status
)
{
JSUtils
.
confirm
(
"确定是否
\"
删除
\"
操作? "
,
{
JSUtils
.
confirm
(
"确定是否
\"
提交
\"
操作? "
,
{
ok
:
function
()
{
ok
:
function
()
{
let
inEiInfo
=
new
EiInfo
();
let
inEiInfo
=
new
EiInfo
();
inEiInfo
.
set
(
"result-0-id"
,
id
);
inEiInfo
.
set
(
"result-0-id"
,
id
);
...
...
src/main/webapp/HG/SC/HGSC009.jsp
View file @
a3d96d06
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true">
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true">
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="150" align="center"/>
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="150" align="center"/>
<EF:EFComboColumn ename="companyCode" cname="公司
名称
"
<EF:EFComboColumn ename="companyCode" cname="公司
编码
"
columnTemplate="#=companyName#" itemTemplate="#=companyName#"
columnTemplate="#=companyName#" itemTemplate="#=companyName#"
textField="companyName" valueField="companyCode"
textField="companyName" valueField="companyCode"
maxLength="16" readonly="false" width="100" required="true"
maxLength="16" readonly="false" width="100" required="true"
...
...
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