mall_client/zyhs_app_java/sql测试/空投测试sql

28 lines
1.5 KiB
Plaintext
Raw Normal View History

2026-03-13 07:50:35 +00:00
select * from user_info where username= 184335;
select * from user_info where id= 184335;
select * from user_info where username= 646039;
select * from ums_member_asset where user_id =11050552;
select * from kongtou_item where user_id=1172;
select * from kongtou_item group by kongtou_date order by kongtou_date;
update kongtou_item set kongtou_date= '2023-06-08';
SELECT kt_item.user_id as item_user_id,
kt_item.real_amount as item_real_amount,
kt_item.xfz_consume as item_xfz_consume,
ui.username as item_username,
kt_item.id as item_id,
kt_item.kongtou_type as item_kongtou_type
FROM kongtou_item as kt_item
INNER JOIN user_info as ui
on ui.id=kt_item.user_id and DATE(kt_item.kongtou_date) = DATE_SUB(CURDATE(), INTERVAL 1 DAY)
and kt_item.kongtou_status =1 and ui.id=1172;
select * from kongtou_item where user_id in (1172,1168);
select * from ums_member_asset where user_id=1172;
update ums_member_asset set asset_account=0 where user_id in(1172,1168);
delete from manage_change_info where beneficiary_user_id in(1172,1168);
delete from lsjf_change_info where beneficiary_user_id in(1172,1168);
select * from kongtou_item where user_id=1172;
select * from lsjf_change_info where beneficiary_user_id in(1172,1168) and DATE(create_time)=CURRENT_DATE;
select * from manage_change_info where beneficiary_user_id in(1172,1168)and DATE(create_time)=CURRENT_DATE;
select * from kongtou_item where id=146911;
select 726.27427500-728.74740000;