资源简介

导入eclipse,执行数据库脚本就可以运行起来了

资源截图

代码片段和文件信息

package org.durcframework.autocode.common;

import org.durcframework.autocode.entity.BackUser;
import org.durcframework.common.UserContext;

public enum AutoCodeContext {
INSTANCE;

public static AutoCodeContext getInstance() {
return INSTANCE;
}

public BackUser getUser() {
return UserContext.getInstance().getUser();
}

public void setUser(BackUser backUser) {
UserContext.getInstance().setUser(backUser);
}

public boolean isAdmin() {
return “admin“.equals(getUser().getUsername());
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        952  2015-11-01 19:41  generate_code\.classpath

     文件       1046  2015-11-01 19:32  generate_code\.project

     文件        503  2015-11-01 19:32  generate_code\.settings\.jsdtscope

     文件         57  2015-11-01 19:40  generate_code\.settings\org.eclipse.core.resources.prefs

     文件        364  2015-11-01 19:32  generate_code\.settings\org.eclipse.jdt.core.prefs

     文件        573  2015-11-01 19:40  generate_code\.settings\org.eclipse.wst.common.component

     文件        345  2015-11-01 19:32  generate_code\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2015-11-01 19:32  generate_code\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2015-11-01 19:32  generate_code\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       1340  2014-07-14 13:43  generate_code\build\classes\applicationContext.xml

     文件        295  2014-06-24 10:33  generate_code\build\classes\log4j.properties

     文件       2164  2014-12-22 10:58  generate_code\build\classes\mybatis\mapper\mapperBackUser.xml

     文件       3034  2014-12-22 10:58  generate_code\build\classes\mybatis\mapper\mapperDataSourceConfig.xml

     文件       2569  2014-12-22 10:59  generate_code\build\classes\mybatis\mapper\mapperTemplateConfig.xml

     文件        641  2014-06-24 09:39  generate_code\build\classes\mybatis\mybatisConfig.xml

     文件       1993  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\common\AutoCodeContext.class

     文件        821  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\common\SearchEasyUI.class

     文件       1769  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\controller\BackUserController.class

     文件       3492  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\controller\DataSourceConfigController.class

     文件       2182  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\controller\GeneratorController.class

     文件       2115  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\controller\LoginController.class

     文件       2818  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\controller\TableController.class

     文件       3266  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\controller\TemplateConfigController.class

     文件        289  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\dao\BackUserDao.class

     文件        313  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\dao\DataSourceConfigDao.class

     文件        307  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\dao\TemplateConfigDao.class

     文件       1502  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\entity\BackUser.class

     文件       1259  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\entity\BackUserSch.class

     文件       1100  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\entity\CodeFile.class

     文件       1019  2015-11-01 19:47  generate_code\build\classes\org\durcframework\autocode\entity\DataSourceConfig.class

............此处省略362个文件信息

评论

共有 条评论