Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
Project
Project
Details
Activity
Releases
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
TCM
tcm-system
Commits
50766cf5
Commit
50766cf5
authored
Mar 31, 2021
by
tangf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改商户余额资金流水
parent
144dfaa3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
CapitalFlowDaoImpl.java
...m/pangding/web/authority/dao/impl/CapitalFlowDaoImpl.java
+14
-12
No files found.
src/main/java/com/pangding/web/authority/dao/impl/CapitalFlowDaoImpl.java
View file @
50766cf5
...
@@ -19,21 +19,23 @@ public class CapitalFlowDaoImpl extends BaseDaoImpl implements CapitalFlowDao {
...
@@ -19,21 +19,23 @@ public class CapitalFlowDaoImpl extends BaseDaoImpl implements CapitalFlowDao {
protected
void
init
()
{
protected
void
init
()
{
register
(
CapitalFlowVo
.
class
);
register
(
CapitalFlowVo
.
class
);
table
.
add
(
QUERY_LIST
,
"SELECT * FROM pd_capital_flow where 1=1 {WHERE} order by time desc"
)
table
.
add
(
QUERY_LIST
,
"SELECT * FROM pd_capital_flow where 1=1 {WHERE} order by time desc"
)
.
add
(
"companyId"
,
"and company_id = ? "
)
.
add
(
"companyId"
,
" AND company_id = ? "
)
.
add
(
"companyName"
,
"and company_name LIKE concat(?,'%') "
)
.
add
(
"companyName"
,
" AND company_name LIKE concat(?,'%') "
)
.
add
(
"startDate"
,
"and time >= ? "
)
.
add
(
"startDate"
,
" AND time >= ? "
)
.
add
(
"endDate"
,
"and time <= ? "
)
.
add
(
"endDate"
,
" AND time <= ? "
)
.
add
(
"orderId"
,
"and order_id = ? "
)
.
add
(
"orderId"
,
" AND order_id = ? "
)
.
add
(
"category"
,
"and category = ?"
);
.
add
(
"category"
,
" AND category = ?"
)
.
add
(
"status"
,
" AND status = ? "
);
table
.
add
(
QUERY_LIST_TOTAL
,
"SELECT sum(order_money) as order_money,sum(order_fee) as order_fee,sum(actual_money) as actual_money "
+
table
.
add
(
QUERY_LIST_TOTAL
,
"SELECT sum(order_money) as order_money,sum(order_fee) as order_fee,sum(actual_money) as actual_money "
+
"FROM pd_capital_flow where 1=1 {WHERE} order by time desc"
)
"FROM pd_capital_flow where 1=1 {WHERE} order by time desc"
)
.
add
(
"companyId"
,
"and company_id = ? "
)
.
add
(
"companyId"
,
"AND company_id = ? "
)
.
add
(
"companyName"
,
"and company_name LIKE concat(?,'%')"
)
.
add
(
"companyName"
,
"AND company_name LIKE concat(?,'%')"
)
.
add
(
"startDate"
,
"and time >= ? "
)
.
add
(
"startDate"
,
"AND time >= ? "
)
.
add
(
"endDate"
,
"and time <= ? "
)
.
add
(
"endDate"
,
"AND time <= ? "
)
.
add
(
"orderId"
,
"and order_id = ? "
)
.
add
(
"orderId"
,
"AND order_id = ? "
)
.
add
(
"category"
,
"and category = ?"
);
.
add
(
"category"
,
"AND category = ?"
)
.
add
(
"status"
,
" AND status = ? "
);
}
}
@Override
@Override
...
...
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