同步学生信息修改
This commit is contained in:
@@ -9,10 +9,7 @@ import com.srs.comprehensive.service.ISrsClassService;
|
||||
import com.srs.comprehensive.service.ISrsMajorsService;
|
||||
import com.srs.comprehensive.service.SyncDataService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -72,6 +69,13 @@ public class SyncDataController extends BaseController {
|
||||
iSrsClassService.synchronousMYSQL(list);//同步班级
|
||||
return success();
|
||||
}
|
||||
|
||||
@RequestMapping("/getStudentInfo")
|
||||
public AjaxResult getStudentInfoList(@RequestParam("pageNum")Integer pageNum,
|
||||
@RequestParam("pageSize") Integer pageSize,
|
||||
@RequestParam(value = "stuNo", required = false)String stuNo){
|
||||
int studentInfoNumber = syncDataService.getStudentInfoNumber();
|
||||
List<Map> list=syncDataService.getStudentInfoList(pageNum,pageSize,stuNo);
|
||||
return success(list).put("total", studentInfoNumber);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user