...
|
...
|
@@ -112,7 +112,6 @@ limit ? |
|
|
sqlCount := fmt.Sprintf(`select count(0) from (
|
|
|
select id,user_id,create_at,source_content from chance
|
|
|
where user_id=? and company_id=? and review_status in (%v)
|
|
|
order by create_at desc
|
|
|
) a left JOIN chance_data b on a.id =b.chance_id`, utils.JoinInt8s(reviewStatus, ","))
|
|
|
if err = utils.ExecuteQueryOne(&total, sqlCount, uid, cid); err != nil {
|
|
|
return
|
...
|
...
|
|