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
51ab84a3
Commit
51ab84a3
authored
Oct 09, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-08 采购收票修复供应商条件查询
parent
4ba4233d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
HGCW012A.java
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW012A.java
+16
-1
HGCW012A.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW012A.xml
+3
-3
No files found.
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW012A.java
View file @
51ab84a3
...
...
@@ -54,6 +54,7 @@ public class HGCW012A extends DaoEPBase {
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 记录修改时间*/
public
static
final
String
FIELD_DEP_CODE
=
"depCode"
;
/* 部门编码*/
public
static
final
String
FIELD_COMPANY_CODES
=
"companyCodes"
;
/*用户角色权限*/
public
static
final
String
FIELD_PARTY_B
=
"partyB"
;
/* 供应商名称*/
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_ACCOUNT_CODE
=
"ACCOUNT_CODE"
;
/* 企业编码*/
...
...
@@ -103,6 +104,7 @@ public class HGCW012A extends DaoEPBase {
private
String
contractName
=
" "
;
/* 合同名称*/
private
String
settlementNumber
=
" "
;
/* 结算编号*/
private
Integer
settlementType
;
/* 结算类别;1部分结算2最终结算*/
private
String
partyB
=
" "
;
private
String
contractDate
=
" "
;
/* 结算日期*/
private
Integer
taxPoints
=
new
Integer
(
0
);
/* 税点*/
private
Integer
priceTaxSeparation
=
new
Integer
(
0
);
/* 价税分离;1是2否*/
...
...
@@ -270,7 +272,9 @@ public class HGCW012A extends DaoEPBase {
eiColumn
.
setDescName
(
"部门编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PARTY_B
);
eiColumn
.
setDescName
(
"供应商名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
}
/**
...
...
@@ -736,6 +740,15 @@ public class HGCW012A extends DaoEPBase {
public
void
setRemainingAmount
(
BigDecimal
remainingAmount
)
{
this
.
remainingAmount
=
remainingAmount
;
}
public
String
getPartyB
()
{
return
partyB
;
}
public
void
setPartyB
(
String
partyB
)
{
this
.
partyB
=
partyB
;
}
/**
* get the value from Map.
*
...
...
@@ -773,6 +786,7 @@ public class HGCW012A extends DaoEPBase {
setUpdatedName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_NAME
)),
updatedName
));
setUpdatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_TIME
)),
updatedTime
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
setPartyB
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PARTY_B
)),
partyB
));
}
/**
...
...
@@ -811,6 +825,7 @@ public class HGCW012A extends DaoEPBase {
map
.
put
(
FIELD_UPDATED_NAME
,
StringUtils
.
toString
(
updatedName
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_NAME
)));
map
.
put
(
FIELD_UPDATED_TIME
,
StringUtils
.
toString
(
updatedTime
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_TIME
)));
map
.
put
(
FIELD_DEP_CODE
,
StringUtils
.
toString
(
depCode
,
eiMetadata
.
getMeta
(
FIELD_DEP_CODE
)));
map
.
put
(
FIELD_PARTY_B
,
StringUtils
.
toString
(
partyB
,
eiMetadata
.
getMeta
(
FIELD_PARTY_B
)));
return
map
;
}
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW012A.xml
View file @
51ab84a3
...
...
@@ -202,7 +202,7 @@
</isNotEmpty>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
resultClass=
"com.baosight.hggp.hg.cw.domain.HGCW0
08
"
>
resultClass=
"com.baosight.hggp.hg.cw.domain.HGCW0
12A
"
>
SELECT
<include
refid=
"column"
/>
FROM ${hggpSchema}.HGCW008 T1 LEFT JOIN ${hggpSchema}.HGCW002 B
...
...
@@ -576,8 +576,8 @@
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
A.PROJ_NAME LIKE CONCAT('%', #projName# ,'%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"sup
Cod
e"
>
B.SUP_
CODE = #supCode#
<isNotEmpty
prepend=
" AND "
property=
"sup
Nam
e"
>
B.SUP_
NAME like concat('%',#supName#,'%')
</isNotEmpty>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
...
...
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