|
|
@@ -58,12 +58,12 @@ public class QwCompanyController extends BaseController
|
|
|
{
|
|
|
|
|
|
LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
- String json = configService.selectConfigByKey("course.config");
|
|
|
- CourseConfig config = JSONUtil.toBean(json, CourseConfig.class);
|
|
|
- if(!loginUser.isAdmin() && config.getDept() != null && config.getDept()){
|
|
|
- qwCompany.setCreateDeptId(loginUser.getDeptId());
|
|
|
- qwCompany.setCreateUserId(loginUser.getUserId());
|
|
|
- }
|
|
|
+// String json = configService.selectConfigByKey("course.config");
|
|
|
+// CourseConfig config = JSONUtil.toBean(json, CourseConfig.class);
|
|
|
+// if(!loginUser.isAdmin() && config.getDept() != null && config.getDept()){
|
|
|
+// qwCompany.setCreateDeptId(loginUser.getDeptId());
|
|
|
+// qwCompany.setCreateUserId(loginUser.getUserId());
|
|
|
+// }
|
|
|
startPage();
|
|
|
List<QwCompany> list = qwCompanyService.selectQwCompanyList(qwCompany);
|
|
|
return getDataTable(list);
|