相信自己!

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  26 随笔 :: 3 文章 :: 13 评论 :: 0 Trackbacks

2007年10月15日 #

     摘要: connect by prior  阅读全文
posted @ 2008-10-30 18:10 北极雪 阅读(261) | 评论 (0)编辑 收藏

     摘要: javascript打开outlook  阅读全文
posted @ 2008-10-07 10:33 北极雪 阅读(1021) | 评论 (3)编辑 收藏

 

select /*t5.emp_name as sale_name,
       t9.emp_name as cs_name,
       t5.dept_name,
       t5.friend_id,
       t5.friend_name,
       t5.contract_number,
       t5.total_value,
       t5.so_id,
       t5.start_date,
       t5.end_date,
       t5.friend_phone*/
       count(*)
  from (select t1.cust_id as friend_Id,
               t1.so_id,
               t1.emp_id,
               t2.emp_name,
               tf.friend_name,
               t3.dept_name,
               tf.friend_phone,
               t1.so_code as contract_number,
               t1.so_amount as TOTAL_VALUE,
               t1.so_delivery_date as START_DATE,
               t1.so_PAYMENT_DATE as END_DATE
          from tc_sales_order_m t1,
               tc_employee t2,
               tc_department t3,
               tc_friend tf
         where t1.owner_id = 1
           and t2.owner_id = 1
           and t3.owner_id = 1
           and tf.owner_id = 1
           and t1.emp_id = t2.emp_id
           and t2.dept_id = t3.dept_id
           and tf.friend_id=t1.cust_id
        and t1.cust_id in (select td.cust_id
                  from (select
                               tm.cust_id,
                               max(tm.so_payment_date) as end_date
                          from tc_sales_order_m tm
                         where tm.owner_id = 1
                         group by tm.cust_id) td
                 where td.end_date < add_months(sysdate, -3))
           and t3.biz_dept_id = '110'
           and t3.DEPT_CODE not like '0112%'
           and t3.DEPT_CODE not like '0113%') t5,
       (select t4.emp_name, t2.friend_id
          from rel_friend_emp t2, tc_department t3, tc_employee t4
         where t2.emp_id = t4.emp_id
           and t3.dept_id = t4.dept_id
           and t2.owner_id = 1
           and t3.owner_id = 1
           and t4.owner_id = 1
           and t2.is_self = 1
           and t3.biz_dept_id = '130') t9
 where t5.friend_id = t9.friend_id(+)
posted @ 2008-09-27 16:14 北极雪 阅读(203) | 评论 (0)编辑 收藏

     摘要: 查看一个客户是否是签的第一个单子  阅读全文
posted @ 2008-09-27 14:24 北极雪 阅读(290) | 评论 (0)编辑 收藏

     摘要: 三个sql的区别  阅读全文
posted @ 2008-09-25 15:23 北极雪 阅读(242) | 评论 (0)编辑 收藏

oncopy="return false;" oncut="return false;" oncontextmenu="return false"
posted @ 2008-09-25 09:46 北极雪 阅读(249) | 评论 (0)编辑 收藏

     摘要: sql01  阅读全文
posted @ 2008-09-23 10:08 北极雪 阅读(148) | 评论 (0)编辑 收藏

     摘要: insert  阅读全文
posted @ 2008-08-29 10:52 北极雪 阅读(605) | 评论 (0)编辑 收藏

     摘要: javascript  阅读全文
posted @ 2008-07-30 09:43 北极雪 阅读(1117) | 评论 (0)编辑 收藏

     摘要: c#问题  阅读全文
posted @ 2008-04-29 16:18 北极雪 阅读(238) | 评论 (0)编辑 收藏

     摘要: 如何比较两个日期的先后顺序  阅读全文
posted @ 2008-04-24 17:02 北极雪 阅读(741) | 评论 (4)编辑 收藏

     摘要: 错误集锦  阅读全文
posted @ 2008-04-12 10:45 北极雪 阅读(181) | 评论 (0)编辑 收藏

     摘要: 验证码  阅读全文
posted @ 2008-02-13 09:46 北极雪 阅读(314) | 评论 (0)编辑 收藏

     摘要: java 集合  阅读全文
posted @ 2007-12-30 08:42 北极雪 阅读(375) | 评论 (0)编辑 收藏

     摘要: 上传图片  阅读全文
posted @ 2007-12-05 13:12 北极雪 阅读(240) | 评论 (0)编辑 收藏

     摘要: ajax一个小应用!  阅读全文
posted @ 2007-11-10 17:44 北极雪 阅读(1359) | 评论 (1)编辑 收藏

     摘要: input的各种样式  阅读全文
posted @ 2007-11-10 16:17 北极雪 阅读(19327) | 评论 (1)编辑 收藏

     摘要: xwork.xml  阅读全文
posted @ 2007-11-02 12:21 北极雪 阅读(1126) | 评论 (0)编辑 收藏

     摘要: 转载 struts-logic标签  阅读全文
posted @ 2007-10-29 12:21 北极雪 阅读(924) | 评论 (3)编辑 收藏

     摘要: 数据库  阅读全文
posted @ 2007-10-26 12:28 北极雪 阅读(4207) | 评论 (0)编辑 收藏

     摘要: 转载 log4j文件的配置的详细介绍  阅读全文
posted @ 2007-10-20 15:38 北极雪 阅读(3505) | 评论 (0)编辑 收藏

     摘要: log4j的各种配置方式  阅读全文
posted @ 2007-10-20 14:47 北极雪 阅读(212) | 评论 (0)编辑 收藏

1)%r输出程序开始执行之后的微秒数
2)%t输出当前线程的名称
3)%-5p输出消息的层次。
4)%c 输出category的名称
5)-%m及s是日志消息本身,%n是换行符。
  当前在模式字符串中你可以嵌入任何想要输出的字符。
  模式字符串中的模式如下:
%m:消息本身
%p:消息的层次
%r:从程序开始执行到当前日志产生时的时间间隔(微秒)
%c:输出当前日志动作所在的category名称。例如:如果category名称是"a.b.c","%c{2}"将会输出"b.c". {2}意谓着输出“以点分隔开的category名称的后两个组件”,如果 {n}没有,将会输出整个category名称.
%t:输出当前线程的名称
%x:输出和当前线程相关联的NDC(具体解释见下文),尤其用到像java servlets这样的多客户多线程的应用中。
%n:输出平台相关的换行符。
%%:输出一个"%"字符
%d:输出日志产生时候的日期,当然可以对日期的格式进行定制。例如:%d{HH:mm:ss,SSSS}或者是%d{dd MMM yyyy HH:mm:ss,SSSS},如果没有指定后面的格式,将会输出ISO8601的格式。
%l:输出位置信息,相当于%C.%M(%F:%L)的组合。
%C:输出日志消息产生时所在的类名,如果类名是“test.page.Class1”%C{1}表示输出类名"Class1",%C{2}输出"page.Class1",而%C则输出"test.page.Class1"。
%M:输出日志消息产生时的方法名称
%F:输出日志消息产生时所在的文件名称
%L:输出代码中的行号
   可以在%与模式字符之间加上修饰符来控制其最小宽度、最大宽度、和文本的对齐方式。如:
   1)%20c:指定输出category的名称,最小的宽度是20,如果category的名称小于20的话,默认的情况下右对齐。
  2) %-20c:指定输出category的名称,最小的宽度是20,如果category的名称小于20的话,"-"号指定左对齐。
  3) %.30c:指定输出category的名称,最大的宽度是30,如果category的名称大于30的话,就会将左边多出的字符截掉,但小于30的话也不会有空格。
  4)%20.30c:如果category的名称小于20就补空格,并且右对齐,如果其名称长于30字符,就从左边交远销出的字符截掉。
  4)%20.30c:
posted @ 2007-10-19 14:17 北极雪 阅读(295) | 评论 (0)编辑 收藏

     摘要: build.xml配置文件  阅读全文
posted @ 2007-10-15 18:08 北极雪 阅读(635) | 评论 (0)编辑 收藏

     摘要: javascript  阅读全文
posted @ 2007-10-15 13:46 北极雪 阅读(408) | 评论 (0)编辑 收藏