demand: 获取查询统计信息适应账期内/超期额度
committer: heyu
This commit is contained in:
parent
665f42e90c
commit
f6a07a41b9
@ -1764,6 +1764,16 @@
|
||||
)
|
||||
</if>
|
||||
|
||||
<!-- 查询现金客户额度属性; 1:查询超期额度,2:查询账期内额度 -->
|
||||
<if test="params.queryQuotaType != null and params.queryQuotaType == 1">
|
||||
and a.send_date is not null
|
||||
and (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(a.send_date)) > (10 * 24 * 60 * 60)
|
||||
</if>
|
||||
<if test="params.queryQuotaType != null and params.queryQuotaType == 2">
|
||||
and a.send_date is not null
|
||||
and (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(a.send_date)) <![CDATA[ <= ]]> (10 * 24 * 60 * 60)
|
||||
</if>
|
||||
|
||||
|
||||
<if test="params.waybillStatType != null and params.waybillStatType == 1">
|
||||
and a.order_type='0'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user