Browse Source

fix: [填报表单] 查询学科对应部门修改

master
memorylkf 3 weeks ago
parent
commit
ac69e88c48
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyFormFillServiceImpl.java

+ 1
- 1
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyFormFillServiceImpl.java View File

@ -1194,7 +1194,7 @@ public class StudyFormFillServiceImpl extends ServiceImpl
private Long getDeptId(StudyFormFill form){ private Long getDeptId(StudyFormFill form){
if(form.getStudySubjectId()!=null){ if(form.getStudySubjectId()!=null){
return studySubjectService.getById(form.getStudyId()).getDeptId();
return studySubjectService.getById(form.getStudySubjectId()).getDeptId();
} }
return SecurityUtils.getLoginUser().getSysUser().getDeptId(); return SecurityUtils.getLoginUser().getSysUser().getDeptId();

Loading…
Cancel
Save