07 2018 档案

摘要:按天来分组查询 select convert(varchar(10),addtime,120) from user_online_statis group by convert(varchar(10),addtime,120); sql语句分页 select * from(select row_nu 阅读全文 »
posted @ 2018-07-23 11:24 ITMrRight 阅读(170) 评论(0) 推荐(0) 编辑
摘要:List<Statbydate> rest = server.LineChart(bdate, edate); int max = 0, min = 0; if (rest.Count > 0) { max = rest[0].maxRegister; //最大值 min = rest[0].min 阅读全文 »
posted @ 2018-07-19 09:55 ITMrRight 阅读(245) 评论(0) 推荐(0) 编辑
摘要:进入:http://echarts.baidu.com/官网找到你想用的统计图 @{ ViewBag.Title = "注册折线图";}<!DOCTYPE html><html style="height: 100%"><head> <meta charset="utf-8"></head> <bo 阅读全文 »
posted @ 2018-07-19 09:39 ITMrRight 阅读(565) 评论(0) 推荐(0) 编辑
摘要:第一种begindeclare @strid nvarchar(max)='296,297' declare @temp Table (a varchar(100)) --创建临时表 --把参数@strid分割成int数组并插入临时表@tempDeclare @i IntSet @strid = R 阅读全文 »
posted @ 2018-07-17 16:25 ITMrRight 阅读(206) 评论(0) 推荐(0) 编辑
摘要:var code = string.Join(",", ProductionLineListCode.Select(item => $"'{item}'")); string sql = string.Format("select * from mes_Resources where ResCode 阅读全文 »
posted @ 2018-07-17 14:28 ITMrRight 阅读(2417) 评论(0) 推荐(0) 编辑
摘要:前端请求: <a class="btn btn-default ml-50" href="javascript:Out_Excel();">导出Excel</a> function Out_Excel() { var bdate = $("#tisStartTime").val(); var eda 阅读全文 »
posted @ 2018-07-12 10:09 ITMrRight 阅读(145) 评论(0) 推荐(0) 编辑
摘要://前端按钮请求 function Out_Excel(TC_ID) { $.post("Ajax/ExportExcel.aspx", { TC_ID: TC_ID }, function (data) { if (data != "") { window.open(data); } }) } / 阅读全文 »
posted @ 2018-07-11 18:08 ITMrRight 阅读(96) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示