摘要:
define(function(require){ var $ = require("jquery"); var justep = require("$UI/system/lib/justep"); var Model = function(){ this.callParent(); this.myText = justep.B... 阅读全文
摘要:
$("ul").has("li").length > 0;$("ul > li").length > 0;$("ul").find("li").length > 0; 阅读全文
摘要:
SELECT * FROM NOTICE WHERE 1 = 1 AND (Z_STATUS = 1 AND RELEASE_DEPT_ID = '-1' AND IS_ISSUE = 1 OR INSTR(RELEASE_DEPT_ID, '109') > 0) AND ID = '9F75470 阅读全文
摘要:
in后面可以是查询集合,也可以是诸如('1','2','3','4') 例: UPDATE CC_PROBLEM_INFO SET Z_STATUS = 1 WHERE CONTENT_ID IN (SELECT ID FROM CC_CHECK_DATA_CONTENT WHERE CHECK_U 阅读全文
摘要:
//获取所有name='id'、被选择的的多选框var idArr = $("input[type='checkbox'][name='id']:checked");//将这些多选框的id值(实际上是个数组)组合成以‘,’分隔的字符串var ids = "";$.each(idArr,function(index,o){ ids = ids + $(o).val()+",";});ids = ... 阅读全文
摘要:
Integer[] arr = {1,2,3,4,5}; String str = ""; for (Integer i : arr) { str += i+","; } str = str.substring(0,str.length()-1); System.out.println(str); 阅读全文
摘要:
var str = "/asdasf/asfaewf/agaegr/trer/rhh"; var index = str .lastIndexOf("\/"); str = str .substring(index + 1, str .length); alert(str ); 阅读全文
摘要:
select table_name from user_tables 阅读全文
摘要:
select userid,count(userid) from SYS_USER_DPRB group by userid having count(userid)>1 阅读全文