|
|
|
@ -219,10 +219,11 @@ |
|
|
|
select m.name from user u left join market m on u.market=m.id |
|
|
|
where u.jwcode=#{jwcode}</select> |
|
|
|
<select id="getActivityList" resultType="com.example.demo.domain.entity.RechargeActivity"> |
|
|
|
select id,activity_name,business_belong,status |
|
|
|
from recharge_activity |
|
|
|
where #{now} between start_time and end_time |
|
|
|
</select> |
|
|
|
select ra.id,ra.activity_name,ra.business_belong,m.name as area,ra.status |
|
|
|
from recharge_activity ra |
|
|
|
left join market m on m.id=ra.area |
|
|
|
where ra.flag=1 |
|
|
|
</select> |
|
|
|
<!--查找未同步的订单--> |
|
|
|
<select id="getUnSync" resultType="com.example.demo.domain.entity.GOrder"> |
|
|
|
select id,jwcode,order_no,type,price,count,pay_style,state, |
|
|
|
@ -272,4 +273,7 @@ |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
<select id="selectByGoldCoinOrderCode" resultType="com.example.demo.domain.vo.cash.CashCollection"> |
|
|
|
select * from cash_record_collection where order_no=#{orderNo} |
|
|
|
</select> |
|
|
|
</mapper> |