体验Lambda的更优写法 借助Java8的全新语法,上述Runnable接口的匿名内部类写法可以通过更简单的Lambda表达式达到等效: public class Lambda02 { public static void main(String[] args) { new Thread(() -> System.out.println(Thread.currentThread().getName()+"线程创建了")).start(); } } 这段代码和刚才的执行效果是完全…
a.JLDate为非标准日期格式: 例: 2011-8-28 0:00:000011-8-28 0:00:000111-8-4 0:00:00 select CONVERT(varchar(50),CONVERT(datetime, a.JLDate, 120),120) as JLDate,b.ch,b.bh,cast((cast(b.mz as decimal(18,6))/1000) as decimal(18,6)) as mz,a.ExeCode as zzdmfrom oil_JLH…