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) 推荐(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) 推荐(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) 推荐(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) 推荐(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) 推荐(0)