|
@@ -20,6 +20,7 @@ import com.fs.sop.domain.QwSop;
|
|
|
import com.fs.sop.params.QwSopAutoTime;
|
|
import com.fs.sop.params.QwSopAutoTime;
|
|
|
import com.fs.sop.params.QwSopEditQwUserParam;
|
|
import com.fs.sop.params.QwSopEditQwUserParam;
|
|
|
import com.fs.sop.service.IQwSopService;
|
|
import com.fs.sop.service.IQwSopService;
|
|
|
|
|
+import com.fs.sop.service.ICompanySopRoleService;
|
|
|
import com.fs.sop.vo.SopVoiceListVo;
|
|
import com.fs.sop.vo.SopVoiceListVo;
|
|
|
import com.github.pagehelper.PageHelper;
|
|
import com.github.pagehelper.PageHelper;
|
|
|
import com.github.pagehelper.PageInfo;
|
|
import com.github.pagehelper.PageInfo;
|
|
@@ -55,6 +56,8 @@ public class QwSopController extends BaseController
|
|
|
private FsUserCourseMapper fsUserCourseMapper;
|
|
private FsUserCourseMapper fsUserCourseMapper;
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private FsUserCourseVideoMapper fsUserCourseVideoMapper;
|
|
private FsUserCourseVideoMapper fsUserCourseVideoMapper;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private ICompanySopRoleService companySopRoleService;
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -246,4 +249,9 @@ public class QwSopController extends BaseController
|
|
|
List<SopVoiceListVo> list = qwSopService.getSopVoiceList(id);
|
|
List<SopVoiceListVo> list = qwSopService.getSopVoiceList(id);
|
|
|
return getDataTable(list);
|
|
return getDataTable(list);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ @GetMapping(value = "/getRoles")
|
|
|
|
|
+ public R getRoles(@RequestParam Long companyId) {
|
|
|
|
|
+ return R.ok().put("data", companySopRoleService.getRolesByCompanyId(companyId));
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|