随笔 - 6  文章 - 129  trackbacks - 0
<2019年8月>
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

常用链接

留言簿(14)

随笔档案(6)

文章分类(467)

文章档案(423)

相册

收藏夹(18)

JAVA

搜索

  •  

积分与排名

  • 积分 - 686791
  • 排名 - 60

最新评论

阅读排行榜

评论排行榜

02 2011 档案

查出不连续,中断的流水码
     摘要: select b.SEQ - a.SEQ, b.SEQ, a.SEQ from
( select SEQ , ROWNUM RN from (select SEQ from LWH_TEST order by SEQ) ) a,
( select SEQ , ROWNUM RN from (select SEQ from LWH_TEST order by SEQ) ) b
where a.RN+1 = b.RN
and b.SEQ - a.SEQ > 1  阅读全文

posted @ 2011-02-23 15:55 Ke 阅读(404) | 评论 (3)  编辑

Openbravo ERP - Localization Process
     摘要: * 从Module Type列表,选Module.
* 在Name字段,输入Java package name of the translation, using the correct naming convention.
* Complete the Description and Help fields, using the language that you are translating into.
* Select the Is translation module option.
* Clear the Has reference data, Translation required and Has chart of accounts options.
* Select the In development option. Remember that you cannot work on a module unless the In development option is sele  阅读全文

posted @ 2011-02-20 14:19 Ke 阅读(355) | 评论 (0)  编辑

页面自动刷新代码
     摘要:
它的含义:在5分钟之后正在浏览的页面将会自动变为target.html这一页。代码中300为刷新的延迟时间,以秒为单位。targer.jsp为你想转向的目标页,若为本页则为自动刷新本页。  阅读全文

posted @ 2011-02-12 17:24 Ke 阅读(77) | 评论 (0)  编辑

使用response方法清除浏览器缓存
     摘要: response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);   阅读全文

posted @ 2011-02-12 17:19 Ke 阅读(397) | 评论 (0)  编辑

Openbravo ERP - Human Capital Management-代码修改
     摘要: Add Team Manager

org.openbravo.hcm.common.ad_process.HCMC_addmanager_process.java

final Calendar today = Calendar.getInstance();
final SimpleDateFormat sdf = new SimpleDateFormat();
sdf.applyPattern(bundle.getContext().getJavaDateFormat());

final Date effectiveFrom = sdf.parse(strEffectiveFrom);
final Date effectiveTo = ((strEffectiveTo != null && strEffectiveTo != "") ? sdf
.parse(strEffectiveTo) : null);
  阅读全文

posted @ 2011-02-11 16:26 Ke 阅读(259) | 评论 (0)  编辑