摘要:
实现类: public class InfoDAOImpl extends BaseDao<Info> 1、List<Object[]> midlist=super.createSqlQuery(sqlStr, null);//根据SQL返回记录,每条记录对应对象数组 2、Map map = new 阅读全文
2016年7月13日 #
2016年6月22日 #
摘要:
参考:http://www.cnblogs.com/benio/archive/2010/09/14/1825909.html 阅读全文
2016年6月20日 #
摘要:
1、写入Excel,并加密压缩、不保存文件 String dcxh = String.format("%03d", keyValue); String folderFileName="Q10152900H1I002016060071.zip"; File file=new File(folderFi 阅读全文
2016年6月12日 #
摘要:
/*XML结果解析*/ Document document = DocumentHelper.parseText(resultStr); Element root = document.getRootElement(); String backStatus = root.element("Body" 阅读全文
2016年5月3日 #
摘要:
1、查询结果填充到实体list try{ Session session =null; SQLQuery sQuery =null; session = this.getSession(); sQuery = session.createSQLQuery(sql.toString()); sQuer 阅读全文
2016年4月21日 #
摘要:
js: JSON.stringify(idinfo)//将对象转化为 JSON串 //查询后为将json串赋值给表单 function _form1_load() { AOS.ajax({ url: 'getForm1Info.jhtml', ok: function (data) {//{card 阅读全文
2016年2月24日 #
摘要:
1、action String templete=ConstantsAppParams.CONTRACT_TEMPLET_DOC;//contract_templet.tldString templeteHtml=ConstantsAppParams.CONTRACT_TEMPLET_HTML;// 阅读全文
2015年9月8日 #
摘要:
// 得到一个表单里的全部信息function getFormQueryString() {var frmID=document.forms[0];var i,queryString="",and="";var item;// for each form's objectvar itemValue;... 阅读全文
2015年8月27日 #
摘要:
c.add(Restrictions.sqlRestriction("exists (SELECT p.loan_contract_no FROM crf_p2p_app_info p WHERE p.loan_contract_no={alias}.loan_contract_no)")); 阅读全文
2015年8月19日 #
摘要:
dd 阅读全文