|
|
@ -48,7 +48,10 @@ import org.jeecg.modules.py.entity.PyGraRequire; |
|
|
|
import org.jeecg.modules.py.service.BasicInfoService; |
|
|
|
import org.jeecg.modules.py.service.BasicInfoService; |
|
|
|
import org.jeecg.modules.py.service.IPyGraRequireService; |
|
|
|
import org.jeecg.modules.py.service.IPyGraRequireService; |
|
|
|
import org.jeecg.modules.system.service.ISysDepartService; |
|
|
|
import org.jeecg.modules.system.service.ISysDepartService; |
|
|
|
|
|
|
|
import org.jeecg.modules.system.service.ISysUserDepartService; |
|
|
|
import org.jeecg.modules.system.service.ISysUserService; |
|
|
|
import org.jeecg.modules.system.service.ISysUserService; |
|
|
|
|
|
|
|
import org.jeecg.modules.teacherManage.entity.SeTeacherManage; |
|
|
|
|
|
|
|
import org.jeecg.modules.teacherManage.service.ISeTeacherManageService; |
|
|
|
import org.jeecgframework.poi.excel.ExcelImportUtil; |
|
|
|
import org.jeecgframework.poi.excel.ExcelImportUtil; |
|
|
|
import org.jeecgframework.poi.excel.def.NormalExcelConstants; |
|
|
|
import org.jeecgframework.poi.excel.def.NormalExcelConstants; |
|
|
|
import org.jeecgframework.poi.excel.def.TemplateWordConstants; |
|
|
|
import org.jeecgframework.poi.excel.def.TemplateWordConstants; |
|
|
@ -132,6 +135,9 @@ public class SeCourseController extends JeecgController<SeCourse, ISeCourseServi |
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private BasicInfoService basicInfoService; |
|
|
|
private BasicInfoService basicInfoService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private ISeTeacherManageService seTeacherManageService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Value("${jeecg.wordPath}") |
|
|
|
@Value("${jeecg.wordPath}") |
|
|
|
private String wordPath; |
|
|
|
private String wordPath; |
|
|
@ -497,12 +503,29 @@ public class SeCourseController extends JeecgController<SeCourse, ISeCourseServi |
|
|
|
return Result.OK(sc); |
|
|
|
return Result.OK(sc); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@AutoLog(value = "当前登录用户信息") |
|
|
|
|
|
|
|
@ApiOperation(value = "当前登录用户信息", notes = "当前登录用户信息") |
|
|
|
|
|
|
|
@GetMapping(value = "/dqyh") |
|
|
|
|
|
|
|
public Result<?> dqyh(HttpServletRequest req) { |
|
|
|
|
|
|
|
LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
|
|
|
|
|
|
|
Map<String,String> map = new HashMap<>(); |
|
|
|
|
|
|
|
SeTeacherManage seTeacherManage = new SeTeacherManage(); |
|
|
|
|
|
|
|
QueryWrapper<SeTeacherManage> queryWrapper = QueryGenerator.initQueryWrapper(seTeacherManage, req.getParameterMap()); |
|
|
|
|
|
|
|
queryWrapper.eq("userid",user.getId()); |
|
|
|
|
|
|
|
List<SeTeacherManage> list = seTeacherManageService.list(queryWrapper); |
|
|
|
|
|
|
|
map.put("depid",user.getDepartIds()); |
|
|
|
|
|
|
|
map.put("teachingandoffice",user.getDepartIds()); |
|
|
|
|
|
|
|
map.put("majorid",list.get(0).getProfession()); |
|
|
|
|
|
|
|
map.put("verifier",user.getUsername()); |
|
|
|
|
|
|
|
return Result.OK(map); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@AutoLog(value = "考核目标-分页列表查询") |
|
|
|
@AutoLog(value = "考核目标-分页列表查询") |
|
|
|
@ApiOperation(value = "考核目标-分页列表查询", notes = "考核目标-分页列表查询") |
|
|
|
@ApiOperation(value = "考核目标-分页列表查询", notes = "考核目标-分页列表查询") |
|
|
|
@GetMapping(value = "/getnrxz") |
|
|
|
@GetMapping(value = "/getnrxz") |
|
|
|
public Result<?> getnrxz(@RequestParam(name = "id", required = true)String id) { |
|
|
|
public Result<?> getnrxz(@RequestParam(name = "id", required = true)String id) { |
|
|
|
SeCourse sc = seCourseService.getById(id); |
|
|
|
SeCourse sc = seCourseService.getById(id); |
|
|
|
return Result.ok(sc); |
|
|
|
return Result.OK(sc); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|