|
|
@ -13,6 +13,7 @@ import com.dsideal.base.LoginPerson.Controller.LoginPersonController;
|
|
|
|
import com.dsideal.base.Menu.Controller.MenuController;
|
|
|
|
import com.dsideal.base.Menu.Controller.MenuController;
|
|
|
|
import com.dsideal.base.Organization.Controller.OrganizationController;
|
|
|
|
import com.dsideal.base.Organization.Controller.OrganizationController;
|
|
|
|
import com.dsideal.base.Plugin.YamlProp;
|
|
|
|
import com.dsideal.base.Plugin.YamlProp;
|
|
|
|
|
|
|
|
import com.dsideal.base.Res.Controller.ResourceController;
|
|
|
|
import com.dsideal.base.Student.Controller.StudentController;
|
|
|
|
import com.dsideal.base.Student.Controller.StudentController;
|
|
|
|
import com.dsideal.base.StudentYd.Controller.StudentYdController;
|
|
|
|
import com.dsideal.base.StudentYd.Controller.StudentYdController;
|
|
|
|
import com.dsideal.base.Teacher.Controller.TeacherController;
|
|
|
|
import com.dsideal.base.Teacher.Controller.TeacherController;
|
|
|
@ -103,6 +104,8 @@ public class BaseApplication extends JFinalConfig {
|
|
|
|
me.add("/excelConvert", excelConvertController.class);
|
|
|
|
me.add("/excelConvert", excelConvertController.class);
|
|
|
|
//DataEase
|
|
|
|
//DataEase
|
|
|
|
me.add("/dataease", DataEaseController.class);
|
|
|
|
me.add("/dataease", DataEaseController.class);
|
|
|
|
|
|
|
|
//资源管理
|
|
|
|
|
|
|
|
me.add("/res", ResourceController.class);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
@ -138,7 +141,7 @@ public class BaseApplication extends JFinalConfig {
|
|
|
|
String basePath = PropKit.get("rootPath");
|
|
|
|
String basePath = PropKit.get("rootPath");
|
|
|
|
// 创建File对象
|
|
|
|
// 创建File对象
|
|
|
|
File directory = new File(basePath);
|
|
|
|
File directory = new File(basePath);
|
|
|
|
if(!directory.exists()){
|
|
|
|
if (!directory.exists()) {
|
|
|
|
basePath = PathKit.getRootClassPath();
|
|
|
|
basePath = PathKit.getRootClassPath();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
sqlDir = new File(basePath + "/Sql");
|
|
|
|
sqlDir = new File(basePath + "/Sql");
|
|
|
|