Commit c80db810 by zhanghj

V1.6.0--生成对账单过滤掉竞价单

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@25986 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 72738b08
...@@ -367,7 +367,7 @@ ...@@ -367,7 +367,7 @@
LEFT JOIN sys_manager sma ON so.merchant_id = sma.user_id LEFT JOIN sys_manager sma ON so.merchant_id = sma.user_id
LEFT JOIN sys_user_service_fee susf2 ON sma.user_id = susf2.user_id AND so.service_code = susf2.service_code AND so.order_type = susf2.fee_type LEFT JOIN sys_user_service_fee susf2 ON sma.user_id = susf2.user_id AND so.service_code = susf2.service_code AND so.order_type = susf2.fee_type
LEFT JOIN sys_operation_advance soa ON so.order_sn = soa.order_sn LEFT JOIN sys_operation_advance soa ON so.order_sn = soa.order_sn
WHERE so.active_status = 8 AND so.settlement_status = 0 AND DATE_FORMAT(so.complete_time,'%Y-%m') = #{reconciliationCycle} WHERE so.order_type !=4 and so.active_status = 8 AND so.settlement_status = 0 AND DATE_FORMAT(so.complete_time,'%Y-%m') = #{reconciliationCycle}
ORDER BY so.order_sn ASC ORDER BY so.order_sn ASC
</select> </select>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!