2016年3月3日
摘要:
<#if disMap?exists> <#list disMap?keys as key> <#if ((disMap[key]))??&&((disMap[key])?has_content)> <#list (disMap[key]) as dis> ${(dis.typename)!} </
阅读全文
posted @ 2016-03-03 17:35
Simle
阅读(661)
推荐(0)
2016年3月2日
摘要:
1.达到的效果 1./main_1.do,/left_1.do -> main:1,left:1 2./tbl_type/v_list_{id}.do -> tbl_type:list:{id} 3./tmd/v_list.do -> tmd:list 2.代码 /* * 修改菜单URI自动设置权限
阅读全文
posted @ 2016-03-02 15:42
Simle
阅读(237)
推荐(0)
摘要:
<@e.form id="jvForm" action="o_add.do"> <@e.text label="字段名" name="id" required="true" class="dfinput validate[required]" maxlength="80" /> <@e.hidden
阅读全文
posted @ 2016-03-02 15:06
Simle
阅读(440)
推荐(0)
摘要:
public Long getMaxOrder(Long parentId) { Query query = this.getSession().createSQLQuery( "select max(ORDERID) from tbl_type where PARENTID =:parentId"); query.setLong(...
阅读全文
posted @ 2016-03-02 15:01
Simle
阅读(262)
推荐(0)
摘要:
1.CLOB <property name="tomdTemplateContent" type="org.springframework.orm.hibernate3.support.ClobStringType"> <column name="TOMD_TEMPLATE_CONTENT" not
阅读全文
posted @ 2016-03-02 14:58
Simle
阅读(164)
推荐(0)
摘要:
1.uuid配置 <id name="tomdId" type="java.lang.String"> <column name="TOMD_ID" length="32" /> <generator class="uuid" /> </id> 2.Oracle序列配置 <id name="adId
阅读全文
posted @ 2016-03-02 14:28
Simle
阅读(280)
推荐(0)
2016年3月1日
摘要:
Java中如果使用 == 双等于比较对象,等于比较的是两个对象的内存地址,也就是比较两个对象是否是同一个对象如果比较两个Long对象值是否相等,则不可以使用双等号进行比较,可以采用如下方式:1. 使用 equals 方法 Long a = new Long(3); Long b = new Long
阅读全文
posted @ 2016-03-01 09:07
Simle
阅读(716)
推荐(0)
2016年2月29日
摘要:
<link href="${base}/res/basic/css/jquery/validationEngine/validationEngine.jquery.css" rel="stylesheet" type="text/css" /> <script type="text/javascri
阅读全文
posted @ 2016-02-29 17:28
Simle
阅读(600)
推荐(0)
2016年2月23日
posted @ 2016-02-23 17:25
Simle
阅读(892)
推荐(0)
2016年2月22日
摘要:
select t.*, t.rowid from tbl_type t order by t.id desc Select SEQ_TBL_TYPE_ID.NextVal From Dual; Alter Sequence SEQ_TBL_TYPE_ID Increment By 200; Alter Sequence SEQ_TBL_TYPE_ID Increment By 1; Select...
阅读全文
posted @ 2016-02-22 15:05
Simle
阅读(355)
推荐(0)