This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ page contentType="text/html; charset=UTF-8" %> | |
<%@ include file="/jsp/include/global.jsp" %> | |
<fmt:bundle basename="gap.dd.dd_resource" prefix="gap.dd."> | |
<script src="<%=request.getContextPath()%>/dwr/interface/TreeControl.js" type="text/javascript"></script> | |
<%@ include file="/jsp/dd/include/dwr.jsp" %> | |
<%@ include file="/jsp/dd/include/jquery.jsp" %> | |
<script type="text/javascript" src="<venus:base/>/js/dd/common.js"></script> | |
<script type="text/javascript" src="<%=request.getContextPath()%>/js/dd/basedata/basedata.js"></script> | |
<script language="javascript" src="<venus:base/>/js/dd/gap-ajaxList-tree.js"></script> | |
<STYLE TYPE="text/css" > |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in `find . -type f -name "*.jsp" | xargs grep -rl writeTable`; do | |
for l in `grep -n writeTable ${f} | awk -F: '{print $1}'`; do | |
sed -e "${l}s/<venus:base\/>/<venus:base\/>\/themes\/<venus:theme\/>\//" $f | |
done | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 史萊姆的第一個家 * | |
* 軟體資訊 --- 每日更新 * | |
* 軟體下載 --- 教學文件 * | |
* 免費資源 --- 郵件共享 * | |
* 史萊姆的第一個家 * | |
* 軟體資訊 --- 每日更新 * | |
* 軟體下載 --- 教學文件 * | |
* 免費資源 --- 郵件共享 * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//回写表单 | |
//可以处理select,但是不允许select的option的value出现","字符 | |
function writeBackValue(inputName) { | |
if (form.elements[inputName] == undefined) { | |
return false; | |
} | |
if (form.elements[inputName].value != undefined) { //如果有value属性,直接赋值 | |
form.elements[inputName].value = mForm[inputName]; | |
jQuery("#" + inputName).val(mForm[inputName]); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.synergy.service.platform; | |
/** | |
* Created with IntelliJ IDEA. | |
* User: Junyan | |
* Date: 13-2-6 | |
* Time: 下午9:08 | |
*/ | |
import org.apache.commons.dbcp.BasicDataSource; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String queryCondition = null; | |
if (request.getAttribute("queryCondition") != null) { | |
queryCondition = request.getAttribute("queryCondition").toString(); | |
} else { | |
queryCondition = request.getParameter("queryCondition"); | |
} | |
PageVo pageVo = Helper.findPageVo(request); | |
if (pageVo != null) { | |
pageVo = Helper.updatePageVo(pageVo, request); | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created with IntelliJ IDEA. | |
* User: ethan | |
* Date: 12-12-7 | |
* Time: 下午12:43 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
(function(window){ | |
var index = { | |
version : "0.1.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="gb2312"?> | |
<modules> | |
<module id="0"> | |
<group>主框架</group> | |
<name>0. 主程序框架</name> | |
<url>#</url> | |
<img>images/homepage/0.png</img> | |
<target /> | |
</module> | |
<module id="1"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create procedure `testdb`() | |
begin | |
declare v_uid bigint(22); | |
declare v_code varchar(100); | |
declare v_value varchar(100); | |
declare _done TINYINT(1) default 0; | |
declare cur_user cursor for select id from `cdb_faqs`; | |
declare continue handler for not found set _done = 1; | |
open cur_user; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update WCMChnlDoc set DocChannel=7101 where DocId in (select MetaDataId from wcmmetatablehaierstore | |
where (qdlx='社区店' and gongmao='北京')); | |
update WCMChnlDoc set ChnlId=7101 where DocId in (select MetaDataId from wcmmetatablehaierstore | |
where (qdlx='社区店' and gongmao='北京')) and Modal=1; | |
update WCMDocument set DocChannel=7101 where DocId in (select MetaDataId from wcmmetatablehaierstore | |
where (qdlx='社区店' and gongmao='北京')); | |
update wcmmetatablehaierstore set ChannelId=7102 where (qdlx='社区店' and gongmao='北京') |
NewerOlder