klxedu / blog

2 stars 0 forks source link

班级学员列表查询扩展方案 #28

Open songhuiqing88 opened 7 years ago

songhuiqing88 commented 7 years ago

查询扩展

- 覆盖结果bean。org.gtiles.components.gtclasses.classstu.bean.ClassStuBean,增加要查询返回的字段。

public class ClassStuBean extends ClassStudent{ public ClassStuBean() { super(); } public ClassStuBean(ClassStuEntity classStuEntity) { super(classStuEntity); } }

- 覆盖查询bean。org.gtiles.components.gtclasses.classstu.bean.ClassStuQuery,增加要查询的查询条件。

public class ClassStuQuery extends ClassStudentAbstractQuery {

}