fix app orders新增字段geek_apply_deduction

master
luoyang 5 years ago
parent 8c18ad6501
commit 2959cea5d0

@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>1.3.69</version>
<version>1.3.70</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>1.8.0</jib-maven-plugin.version>

@ -920,7 +920,8 @@
t.exchange_rate,
t.clearing_status,
t.settle_amount,
t.clearing_status = 2 pre_auth
t.clearing_status = 2 pre_auth,
IF( t.remark like '%RYCBSM%',1,0) as geek_apply_deduction
from pmt_orders o
left join pmt_transactions t on t.order_id=o.order_id and t.channel!='Settlement'
AND (t.system_generate = 0 or (t.system_generate = 1 and t.remark like '%RYCBSM%'))

Loading…
Cancel
Save