Open havietduc91 opened 9 years ago
Shop_Group
Bảng checkins
Bảng exchanges
Rename mall_type_RCT => retail_mall (0|1)
Chiều nay tiến hành làm các task về quản lý shop group
duc.ha@ntq-solution.com.vn xHwEOHdr
Chuyển các hàm format sang list
/* * http://stackoverflow.com/questions/2090221/mysql-query-to-get-all-rows-from-previous-month SELECT * FROM table WHERE YEAR(date_created) = YEAR(CURRENT_DATE - INTERVAL 1 MONTH) AND MONTH(date_created) = MONTH(CURRENT_DATE - INTERVAL 1 MONTH) /
select * , count(user_metadatas.user_id) as total from shop_news join user_metadatas on(user_metadatas.object_id = shop_news.news_id) GROUP BY MONTH(user_metadatas.created_at)
select * , count(shop_news.news_id) as total from shop_news
join user_metadatas on(user_metadatas.object_id = shop_news.news_id)
where shop_news.shop_id = 1
GROUP BY shop_news.news_id
$data = DB::select(DB::raw('SELECT count(user_id) as total FROM coupon_transactions GROUP BY user_id'));
$number = $data[0]->total;
return $number;
Xem lại hàm Check tồn tại 1 stamp event khi update stamp event (only exist stamp at the time)
SELECT count(DISTINCT(user_metadatas.user_id)) as total, user_metadatas.created_at as sortdate FROM shop_news INNER JOIN user_metadatas ON (shop_news.shop_id = user_metadatas.object_id) where shop_news.shop_id = 1 group by MONTH( user_metadatas.created_at)
select count(news_id) as total , created_at as sortdate from shop_news where shop_news.shop_id = 1 group by MONTH(created_at)
SELECT count(DISTINCT(user_id)) as total, created_at as sortdate FROM shop_favourites where shop_favourites.shop_id = 1 group by MONTH(created_at)
SELECT count(coupon_id) as total, created_at as sortdate from coupons where coupons.shop_id = 1 group by MONTH (created_at)
SELECT count(coupon_transactions.coupon_id) as total, coupon_transactions.created_at as sortdate from coupon_transactions join coupons on (coupon_transactions.coupon_id = coupons.coupon_id) where coupons.shop_id = 1 group by MONTH (coupon_transactions.created_at)
Task:
Bugs chính:
Chuyển phần tự check pass và confirm pass về validate chứ ko tự check bằng tay
Bug liên quan đến search biến âm: https://nadia.backlog.jp/view/AM_APP-448 https://nadia.backlog.jp/view/AM_APP-427
https://nadia.backlog.jp/view/AM_APP-313 :+1: https://nadia.backlog.jp/view/AM_APP-382 https://nadia.backlog.jp/view/AM_APP-437 https://nadia.backlog.jp/view/AM_APP-443 https://nadia.backlog.jp/view/AM_APP-441 https://nadia.backlog.jp/view/AM_APP-382 https://nadia.backlog.jp/view/AM_APP-310 Phần không cho back lại trang login đang gặp lỗi, là khi set xong trang đó thì tất cả các trang khác cũng ko back lại được
Tổng hợp các bug chính: