Commit fdd8ad67 authored by tangfang's avatar tangfang

修改注册判断银行卡

parent c128baf6
......@@ -34,10 +34,10 @@ public class CapitalFlowDaoImpl extends BaseDaoImpl implements CapitalFlowDao {
table.add(QUERY_LIST_TOTAL, "SELECT SUM(CASE WHEN category = 0 THEN order_money ELSE 0 END) AS orderMoney," +
"SUM(CASE WHEN category = 0 THEN order_fee ELSE 0 END) AS orderFee," +
"SUM(CASE WHEN category = 0 THEN actual_money ELSE 0 END) AS actualMoney," +
"SUM(CASE WHEN category = 0 THEN actual_money ELSE 0 END) AS realMoney," +
"SUM(CASE WHEN category = 1 THEN order_money ELSE 0 END) AS withdrawalAmount," +
"SUM(CASE WHEN category = 3 THEN actual_money ELSE 0 END) AS refundMoney," +
"SUM(CASE WHEN category <> 3 THEN actual_money ELSE 0 END) - SUM(CASE WHEN category = 1 THEN order_money ELSE 0 END) as realMoney" +
"SUM(CASE WHEN category <> 3 THEN actual_money ELSE 0 END) - SUM(CASE WHEN category = 1 THEN order_money ELSE 0 END) as actualMoney" +
" FROM pd_capital_flow where 1=1 {WHERE} order by time desc")
.add("companyId"," AND company_id = ? ")
.add("companyName"," AND company_name LIKE concat(?,'%')")
......
......@@ -76,7 +76,7 @@ public class UserTask {
/**
* 服务费
*/
// @Scheduled(cron = "0 10 0 * * ?")
@Scheduled(cron = "0 10 0 * * ?")
public void serviceCharge() {
CompanyReqVo companyReqVo = new CompanyReqVo();
companyReqVo.setServiceChargeStatus(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment