xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 53.46MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-03-05
  • 語言: 其他
  • 標簽: 在線,Web??

資源簡介

基于Web的在線教學網站/在線視頻網站,畢業設計

資源截圖

代碼片段和文件信息

package?com.local.base;
import?org.apache.log4j.Logger;
import?org.json.JSONobject;
import?org.mybatis.spring.SqlSessionTemplate;
import?org.springframework.web.multipart.commons.CommonsMultipartResolver;

import?com.local.uitls.CommonUtils;




import?javax.annotation.Resource;
import?java.lang.reflect.ParameterizedType;
import?java.util.HashMap;
import?java.util.Iterator;
import?java.util.List;
import?java.util.Map;

/**
?*?@author?kaikang
?*/
public?class?baseDaoImpl?implements?IbaseDao{
private??Logger?log=Logger.getLogger(baseDaoImpl.class);
@Resource
protected?SqlSessionTemplate?sqlSession;

private?Class?t?=?null;
private?static?final?String?INSERT?=?“insert“;???
private?static?final?String?UPDATE?=?“update“;???
private?static?final?String?DELETE?=?“delete“;???
private?static?final?String?SEARCHBYID?=?“getOne“;?
private?static?final?String?SEARCHLIST?=?“getList“;
private?static?final?String?SEARCHSTR?=?“getStr“;
private?static?final?String?NUM?=?“getNum“;

public?void?setSqlSession(SqlSessionTemplate?sqlSession)?{
this.sqlSession?=?sqlSession;
}

@SuppressWarnings(“unchecked“)
public?baseDaoImpl(){
//獲取當前類的父類
ParameterizedType?pt?=?(ParameterizedType)?this.getClass().getGenericSuperclass();
t?=?(Class)pt.getActualTypeArguments()[0];
}

//獲取實體映射文件的空間名稱
public?String?getStatementId(String?suffix)?{?
???log.info(“日志==:“+t.getSimpleName());
???return?“com.local.mapping.“+t.getSimpleName()?+?“Mapper.“?+?suffix;
????}
????
/**
?*?根據ID刪除記錄
?*/
public?int?delete(T?t)?throws?Exception?{
String?sql?=?this.getStatementId(DELETE);???
return?sqlSession.delete(sqlt);
}
????
/**
?*?新增記錄
?*/
public?int?insert(T?t)?throws?Exception?{
String?sql?=?this.getStatementId(INSERT);?
return?sqlSession.insert(sql?t);
}
???
/**
?*?根據Id檢索記錄
?*/
public?T?getOne(T?t)?throws?Exception?{
String?sql?=?this.getStatementId(SEARCHBYID);?
return?sqlSession.selectOne(sql?t);
}
????
/**
?*?根據實體更新記錄
?*/
public?int?update(T?t)?throws?Exception?{
String?sql?=?this.getStatementId(UPDATE);?
return?sqlSession.update(sqlt);
}
/**
?*?根據MAP更新記錄
?*/
@Override
public?int?update(Map?map)?throws?Exception?{
String?sql?=?this.getStatementId(UPDATE);?
return?sqlSession.update(sqlmap);
}
/**
?*?根據實體檢索記錄
?*/
public?List?getList(Map?map)?throws?Exception?{
String?sql?=?this.getStatementId(SEARCHLIST);
return?sqlSession.selectList(sqlmap);
}

/**
?*?根據實體檢索記錄數目
?*/
public?int?getNum(T?t)?throws?Exception?{
String?sql?=?this.getStatementId(NUM);
return?sqlSession.selectOne(sqlt);
}


/**
?*?根據實體t為mybatils做分頁用作相同類型對象返回
?*/
????public?PageResults?pageList(T?t)?throws?Exception?{
????????PageResults?retValue?=?new?PageResults();
????????Mapject>?map=new?HashMapject>();
????????
????????//泛型對象轉成Map方便操作特定屬性
????????JSONobject?json=new

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????14853??2017-06-20?14:02??畢設在線視頻網站\local.sql

?????文件????????708??2017-05-18?15:07??畢設在線視頻網站\Online\Online\.classpath

?????文件????????300??2017-05-20?09:17??畢設在線視頻網站\Online\Online\.mymetadata

?????文件???????1749??2017-05-18?11:46??畢設在線視頻網站\Online\Online\.project

?????文件????????500??2017-03-16?17:12??畢設在線視頻網站\Online\Online\.settings\.jsdtscope

?????文件?????????80??2017-05-20?09:19??畢設在線視頻網站\Online\Online\.settings\com.genuitec.eclipse.core.prefs

?????文件???????1009??2017-04-05?17:39??畢設在線視頻網站\Online\Online\.settings\com.genuitec.eclipse.j2eedt.core.prefs

?????文件????????143??2017-05-20?10:46??畢設在線視頻網站\Online\Online\.settings\org.eclipse.core.resources.prefs

?????文件????????598??2017-05-18?15:07??畢設在線視頻網站\Online\Online\.settings\org.eclipse.jdt.core.prefs

?????文件????????483??2017-05-18?14:48??畢設在線視頻網站\Online\Online\.settings\org.eclipse.wst.common.component

?????文件????????252??2017-05-18?15:07??畢設在線視頻網站\Online\Online\.settings\org.eclipse.wst.common.project.facet.core.xml

?????文件?????????49??2017-03-16?17:12??畢設在線視頻網站\Online\Online\.settings\org.eclipse.wst.jsdt.ui.superType.container

?????文件??????????6??2017-03-16?17:12??畢設在線視頻網站\Online\Online\.settings\org.eclipse.wst.jsdt.ui.superType.name

?????文件???????5696??2017-05-13?14:39??畢設在線視頻網站\Online\Online\src\com\local\base\baseDaoImpl.java

?????文件???????1423??2017-05-10?17:30??畢設在線視頻網站\Online\Online\src\com\local\base\IbaseDao.java

?????文件????????554??2017-04-19?13:45??畢設在線視頻網站\Online\Online\src\com\local\base\PageLimits.java

?????文件???????1285??2017-04-19?13:45??畢設在線視頻網站\Online\Online\src\com\local\base\PageResults.java

?????文件????????875??2017-05-09?15:24??畢設在線視頻網站\Online\Online\src\com\local\config\Common.java

?????文件???????2443??2017-05-13?15:50??畢設在線視頻網站\Online\Online\src\com\local\config\Config.java

?????文件???????3295??2017-04-27?16:25??畢設在線視頻網站\Online\Online\src\com\local\controller\AdvertisingController.java

?????文件????????974??2017-05-10?16:32??畢設在線視頻網站\Online\Online\src\com\local\controller\ConsumptionController.java

?????文件??????12767??2017-05-23?14:53??畢設在線視頻網站\Online\Online\src\com\local\controller\CustomerController.java

?????文件???????4068??2017-05-13?14:54??畢設在線視頻網站\Online\Online\src\com\local\controller\GiftController.java

?????文件???????3000??2017-05-12?14:32??畢設在線視頻網站\Online\Online\src\com\local\controller\ManagerController.java

?????文件???????2189??2017-05-19?14:08??畢設在線視頻網站\Online\Online\src\com\local\controller\MenuController.java

?????文件???????1353??2017-04-27?16:05??畢設在線視頻網站\Online\Online\src\com\local\controller\MygiftController.java

?????文件???????5848??2017-05-17?14:07??畢設在線視頻網站\Online\Online\src\com\local\controller\ObtainAddress.java

?????文件???????5283??2017-05-11?18:54??畢設在線視頻網站\Online\Online\src\com\local\controller\RewardController.java

?????文件???????3942??2017-05-22?11:41??畢設在線視頻網站\Online\Online\src\com\local\controller\SourcesController.java

?????文件???????6928??2017-05-12?11:41??畢設在線視頻網站\Online\Online\src\com\local\controller\TopupController.java

............此處省略598個文件信息

評論

共有 條評論

相關資源