2020年2月26日

摘要: 使用Group By来实现取最新记录,需要注意一个问题,如果最大时间相同的数据都会被取出来。 PS:即使数据字段类型是timestamp,也会登录相同的时间的数据。 select A.* from A inner join ( select C,Max(Time) from A group by C 阅读全文

posted @ 2020-02-26 22:28 wzhw2015 阅读(1098) 评论(0) 推荐(0) 编辑


2020年2月23日

摘要: @RunWith(Suite.class)@Suite.SuiteClasses({ TestClass1.class, TestClass2.class })public class SuiteTest {} @RunWith(Suite.class)@Suite.SuiteClasses({ T 阅读全文

posted @ 2020-02-23 23:26 wzhw2015 阅读(161) 评论(0) 推荐(0) 编辑

摘要: Public Sub WriteUTF_8BomNon(ByVal fileName As String, ByVal strLine As String)Dim stream: Set stream = CreateObject("ADODB.Stream")stream.Type = 2 ' a 阅读全文

posted @ 2020-02-23 23:17 wzhw2015 阅读(141) 评论(0) 推荐(0) 编辑

摘要: \protractor.conf.js\README.md\node_modules\angular-cli\README.md\node_modules\angular-cli\blueprints\ng2\files\protractor.conf.js\node_modules\angular 阅读全文

posted @ 2020-02-23 22:50 wzhw2015 阅读(126) 评论(0) 推荐(0) 编辑

摘要: 1.nodejs安装 https://nodejs.org/en/download/ npm config set prefix=" D:\nodejs\node_modules\npm\node_global_modules "npm config set cache=" D:\nodejs\no 阅读全文

posted @ 2020-02-23 22:46 wzhw2015 阅读(86) 评论(0) 推荐(0) 编辑

摘要: Oracle行结果合计的实现,主要应用于日期结果的集计,下面是具体的实现代码。 With AA as ( select 'A' tNo , 10 B from dual union select 'B' , 20 from dual union select 'A' , 30 from dual ) 阅读全文

posted @ 2020-02-23 22:31 wzhw2015 阅读(1277) 评论(0) 推荐(0) 编辑

摘要: Oracle11以后,行列转换有了新的方法。 下面的是已经疏通过的代码,请放心使用。。。 With AA as ( Select A,B,C,row_number() over (partition by B order by b) D from ( Select 10 A, 11 B, 12 C 阅读全文

posted @ 2020-02-23 22:16 wzhw2015 阅读(225) 评论(0) 推荐(0) 编辑


2020年2月20日

摘要: Map<String, List<Model>> modelMap = modelList .stream() .collect(Collectors .toMap(model -> model.getDate(), model -> new ArrayList<Model>(Arrays.asLi 阅读全文

posted @ 2020-02-20 09:09 wzhw2015 阅读(806) 评论(0) 推荐(0) 编辑


Copyright © 2024 wzhw2015
Powered by .NET 8.0 on Kubernetes