会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wheat_pear
导航
博客园
首页
新随笔
联系
订阅
管理
公告
2013年9月24日
window.opener强大功能
摘要: window.opener后面的方法可以调用任意父窗口里面js的方法。eg.query()是父窗口的function refreshParent(){window.opener.query();window.close();}
阅读全文
posted @ 2013-09-24 15:55 wheat_pear
阅读(257)
评论(0)
推荐(0)
hibernate 不识别union解决方法
摘要: 问题:一个表里有 1, 2 1, 3 2, 1 2, 4 现在要找第一位是1的第二位:2,3 和 第二位是1的第一位:2。然后去掉重复项,最后剩下2,3错误:使用hql:StringBuffer sb = new StringBuffer(); sb.append("select distinct firCode from Coorger where secCode='"+curentOrganCode+"' and typeFlag='0' and flag='1'" + " union &qu
阅读全文
posted @ 2013-09-24 15:19 wheat_pear
阅读(1018)
评论(0)
推荐(0)