/* (non-Javadoc) * @see com.delmar.core.dao.SqlSessionForLog#delete(java.lang.String, java.lang.Object) */ public int delete(String statement, CoreModel model) { Integer id = null; try { id = (Integer) PropertyUtils.getProperty(model, "id"); } catch (IllegalAccessException e) { logger.error(e, e); e.printStackTrace(); } catch (InvocationTargetException e) { logger.error(e, e); e.printStackTrace(); } catch (NoSuchMethodException e) { logger.error(e, e); e.printStackTrace(); } writeLog(model, SessionContent.OPERATE_DELETE); return sqlSessionTemplate.delete(statement, model); }
public void delete(String id) { sqlSession.delete("children.delete", id); }
@Override public int checkJoin(int memberNum) { // TODO Auto-generated method stub return sqlSession.delete("member.dao.mapper.checkJoin", memberNum); }
@Override public void deleteAll() { sqlSession.delete("deleteAllService"); }
@Override public void deleteService(ServicePara servicePara) { sqlSession.delete("deleteService", servicePara); }
public void delAppclient(int empno) { sqlSession.delete("appclient.delAppclient", empno); }
public Object delete(String queryId, Object params) { printQueryId(queryId); return sqlSession.delete(queryId, params); }
/** * 删除操作 * * @param statement SQL语句的Id号(命名空间+name) * @param parameter 参数 */ public int delete(String statement, Object parameter) { return sqlSession.delete(statement, parameter); }
/** * 删除操作 * * @param statement SQL语句的Id号(命名空间+name) * @return 删除的条数 */ public int delete(String statement) { return sqlSession.delete(statement); }
public void reply_delete(int hobby_no) { logger.info("BoardDAO class List<BoardDTO> getReplyList(int idx)"); sqlSession.delete("reply_delete", hobby_no); }
public void dbDelete(int idx) { logger.info("BoardDAO class BoardDTO dbDelete(int)"); sqlSession.delete("delete", idx); } // end dbDelete