|
|
@ -61,9 +61,6 @@ |
|
|
<if test="cashRecord.receivedTime != null"> |
|
|
<if test="cashRecord.receivedTime != null"> |
|
|
received_time = #{cashRecord.receivedTime}, |
|
|
received_time = #{cashRecord.receivedTime}, |
|
|
</if> |
|
|
</if> |
|
|
<if test="cashRecord.receivedRemark != null and cashRecord.receivedRemark != ''"> |
|
|
|
|
|
received_remark = #{cashRecord.receivedRemark}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="cashRecord.paymentCurrency != null and cashRecord.paymentCurrency != ''"> |
|
|
<if test="cashRecord.paymentCurrency != null and cashRecord.paymentCurrency != ''"> |
|
|
payment_currency = #{cashRecord.paymentCurrency}, |
|
|
payment_currency = #{cashRecord.paymentCurrency}, |
|
|
</if> |
|
|
</if> |
|
|
@ -81,7 +78,6 @@ |
|
|
AND received_currency IS NOT NULL AND received_currency != '' |
|
|
AND received_currency IS NOT NULL AND received_currency != '' |
|
|
AND received_amount IS NOT NULL |
|
|
AND received_amount IS NOT NULL |
|
|
AND received_time IS NOT NULL |
|
|
AND received_time IS NOT NULL |
|
|
AND received_remark IS NOT NULL AND received_remark != '' |
|
|
|
|
|
AND payment_currency IS NOT NULL AND payment_currency != '' |
|
|
AND payment_currency IS NOT NULL AND payment_currency != '' |
|
|
AND payment_amount IS NOT NULL |
|
|
AND payment_amount IS NOT NULL |
|
|
AND bank_code IS NOT NULL AND bank_code != '' |
|
|
AND bank_code IS NOT NULL AND bank_code != '' |
|
|
@ -192,11 +188,13 @@ |
|
|
<select id="getActivityList" resultType="java.lang.String"> |
|
|
<select id="getActivityList" resultType="java.lang.String"> |
|
|
select distinct activity from cash_record |
|
|
select distinct activity from cash_record |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
<!--查找未同步的订单--> |
|
|
<select id="getUnSync" resultType="com.example.demo.domain.entity.GOrder"> |
|
|
<select id="getUnSync" resultType="com.example.demo.domain.entity.GOrder"> |
|
|
select jwcode,order_no,type,price,count,pay_style,state, |
|
|
select jwcode,order_no,type,price,count,pay_style,state, |
|
|
success_time,ios_environment,ios_transaction_id,ios_receipt_data, |
|
|
success_time,ios_environment,ios_transaction_id,ios_receipt_data, |
|
|
paypal_order_id,add_time,is_synced |
|
|
paypal_order_id,add_time,is_synced |
|
|
from g_order |
|
|
from g_order |
|
|
where is_synced=0 and state=1 and type='gold_coin' |
|
|
where is_synced=0 and state=1 and type='gold_coin' |
|
|
|
|
|
limit #{size} |
|
|
</select> |
|
|
</select> |
|
|
</mapper> |
|
|
</mapper> |