`

hibernate 组合查询

 
阅读更多

//hibernate 组合查询

String hql="from Information as i where i.infoType.id in(select it.id from InfoType as it where it.school.id="+schoolID+")";

 

//显示指定信息窗口

function showReInfos(id, titleName) {

var content = document.getElementById(id).value;

document.getElementById("showReinfosWindow").style.display = "";

$('#showReinfosWindow').window( {

title : titleName +"详细信息",

width : 775,

height : 480,

collapsible : false,

minimizable : false,

maximizable : false,

resizable : false,

modal : true

});

var editor_re_view;

$(document).ready(function() {

editor_re_view = new baidu.editor.ui.Editor( {

initialFrameWidth : 740,

initialFrameHeight : 440,

initialContent : content,

readonly : true,

toolbars : [],

wordCount : false,

textarea : 'description'

});

document.getElementById("showReEditor").innerHTML = "";

editor_re_view.render("showReEditor");

});

}

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics