1、swagger接口文档

beetlsql3-dev
陈沅
parent 385d56ab33
commit db47c7d202

@ -126,4 +126,7 @@ public interface StudentDao extends BaseMapper<Student>{
List<Student> getStudentByStudentNoAndOrgId(String studentNo,Long orgId);
List<Student>getValuesByOrgId(Long orgId);
List<Student> getNoBaseStudent();
}

@ -85,6 +85,8 @@ public class ResourcesApplication extends BaseEntity{
private String applicationInfoOriginal ;
private String thumbnailUrl;
/**
*
*/
@ -94,6 +96,15 @@ public class ResourcesApplication extends BaseEntity{
public ResourcesApplication(){
}
public String getThumbnailUrl() {
return thumbnailUrl;
}
public void setThumbnailUrl(String thumbnailUrl) {
this.thumbnailUrl = thumbnailUrl;
}
/**ID
*@return
*/

@ -1661,4 +1661,9 @@ public class StudentService extends CoreBaseService<Student> {
public List<Student> getAll(){
return studentDao.all();
}
//查询没有基础资金的学生账号
public List<Student> getNoBaseStudent(){
return studentDao.getNoBaseStudent();
}
}

@ -142,7 +142,7 @@ public class AccountController {
@PostMapping("createFund.json")
public void createFund() throws SQLException {
List<Student> students = studentService.getValuesByOrgId(115L);
List<Student> students = studentService.getNoBaseStudent();
int i = 0;
if (students != null && students.size() > 0) {
for (Student student : students) {

@ -2222,4 +2222,13 @@ select * from student where student_sn = #studentNo# and org_id = #orgId#
getValuesByOrgId
===
select * from student where org_id = #orgId#
select * from student where org_id = #orgId#
getNoBaseStudent
===
select *
from student
where student_id not in (select student_account_asset_allocation.student_id
from student_account_asset_allocation
group by student_account_asset_allocation.student_id)
Loading…
Cancel
Save