调整教职工同步

This commit is contained in:
2025-12-31 11:18:58 +08:00
parent 0a1058f7d8
commit b00d93b628
5 changed files with 13 additions and 10 deletions

View File

@@ -29,15 +29,15 @@ public class SyncDataController extends BaseController {
ISrsClassService iSrsClassService;
//中间表教职工信息
@RequestMapping("/getEmployEEInfoList")
public TableDataInfo getEmployEEInfoList(){
public TableDataInfo getEmployEEInfoList(String zgh){
startPage();
List<Map> list=syncDataService.getEmployEEInfoList();
List<Map> list=syncDataService.getEmployEEInfoList(zgh);
return getDataTable(list);
}
//同步教职工
@RequestMapping("/synchronousEmployEEInfoList")
public AjaxResult synchronousEmployEEInfoList(){
List<Map> list=syncDataService.getEmployEEInfoList();
List<Map> list=syncDataService.getEmployEEInfoList(null);
iCphTeacherService.synchronousMYSQL(list);//同步教职工
iCphTeacherService.UsertbNew();
return success();