08 2015 档案

摘要:SELECT GoodID,sum(if(Level = 1, 1, 0)) as Better,sum(if(Level = 0, 1, 0)) as Nomal,sum(if(Level = -1, 1, 0)) as Bad from evaluates GROUP BY GoodID; 阅读全文
posted @ 2015-08-13 10:38 yesicoo 阅读(4709) 评论(0) 推荐(1) 编辑
摘要:最近在捯饬Asp.Net站点部署到Linux平台上面,在文档导入的操作中经过网上搜索采用了能够支持跨平台的ExcelDataReader组建。在本地windows上测试通过NuGet安装的组建,这货依赖了SharpZipLib.Net下鼎鼎有名的解压缩组建,应该用来解压Excel文档的。本地测试没读... 阅读全文
posted @ 2015-08-10 18:12 yesicoo 阅读(676) 评论(0) 推荐(0) 编辑
摘要:private static int GetWeekOfYear(DateTime dt){ GregorianCalendar gc = new GregorianCalendar(); int weekOfYear = gc.GetWeekOfYear(dt, CalendarWee... 阅读全文
posted @ 2015-08-10 18:11 yesicoo 阅读(439) 评论(0) 推荐(0) 编辑