|
|
@ -146,6 +146,9 @@ |
|
|
<if test="cashCollection.activity!=null and cashCollection.activity!=''"> |
|
|
<if test="cashCollection.activity!=null and cashCollection.activity!=''"> |
|
|
AND cr.activity like concat('%',#{cashCollection.activity},'%') |
|
|
AND cr.activity like concat('%',#{cashCollection.activity},'%') |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="cashCollection.paymentCurrency!=null and cashCollection.paymentCurrency!=''"> |
|
|
|
|
|
AND cr.payment_currency like concat('%',#{cashCollection.paymentCurrency},'%') |
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
<if test="cashCollection.goodsName!=null and cashCollection.goodsName!=''"> |
|
|
<if test="cashCollection.goodsName!=null and cashCollection.goodsName!=''"> |
|
|
AND cr.goods_name like concat('%',#{cashCollection.goodsName},'%') |
|
|
AND cr.goods_name like concat('%',#{cashCollection.goodsName},'%') |
|
|
@ -189,4 +192,11 @@ |
|
|
<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 jwcode,order_no,type,price,count,pay_style,state, |
|
|
|
|
|
success_time,ios_environment,ios_transaction_id,ios_receipt_data, |
|
|
|
|
|
paypal_order_id,add_time,is_synced |
|
|
|
|
|
from g_order |
|
|
|
|
|
where is_synced=0 and state=1 and type='gold_coin' |
|
|
|
|
|
</select> |
|
|
</mapper> |
|
|
</mapper> |