@@ -176,8 +176,8 @@
SELECT DISTINCT
cssp.user_id_
FROM
- course_schedule_student_payment cssp
- LEFT JOIN course_schedule cs ON cssp.course_schedule_id_ = cs.id_
+ course_schedule_student_payment cssp
+ LEFT JOIN course_schedule cs ON cssp.course_schedule_id_ = cs.id_
WHERE
cs.del_flag_ = 0
AND ( cs.is_lock_ = 0 OR cs.is_lock_ IS NULL )
@@ -132,10 +132,6 @@ public class PageInfo<T> implements Serializable {
public void setTotal(int total) {
this.total = total;
this.totalPage=new BigDecimal(total).divide(new BigDecimal(limit),0,BigDecimal.ROUND_CEILING).intValue();
- if(this.pageNo>total){
- this.pageNo = total;
- this.offset = (this.pageNo - 1) * this.limit;
- }
}
public List<T> getRows() {