自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 Sql server按创建时间顺序查询本月/上月每天所有的数据

本月with a as (SELECT * from m_order where datediff(mm,CreateTime,getdate())=0)select a.*, id=row_number() over(order by CreateTime asc)from a上月with a as (SELECT * from m_order where datediff(mm,Cr...

2020-04-23 10:32:35 860

原创 Sql Server查询本周及上周(周一-周日)具体某天的数据的sql语句

查询本周一的日期select convert(varchar(10),dateadd(wk, datediff(wk,0,getdate()), 0),120)查询本周一的数据select * from 表名 where convert(varchar(10),createtime,120)=((select convert(varchar(10),dateadd(wk, datediff(...

2020-04-20 13:20:41 6351

原创 Sql Server查询本日本周本月上周上月的数据的sql语句

查询今天select * from tablename where datediff(day,inputdate,getdate())=0查询昨天select * from tablename where datediff(day,inputdate,getdate())=1查询本周select * from tablename where datediff(week,inputdate...

2020-04-14 16:15:12 362

原创 echarts图表设置x轴y轴单位名字体大小

xAxis :{nameTextStyle :{ fontSize: 15 } }yAxis :{nameTextStyle :{ fontSize: 15 } }

2020-04-01 11:18:52 14947

原创 echarts图表设置legend样式

legend : [ { data : [ '名字' ], orient : 'horizontal', //设置水平展示 bottom : 'bottom', //设置底部展示 itemHeight : 20, //legend图形大小 x : '200px', //自定义位置 y : '280px', textStyle : {...

2020-04-01 11:15:09 3378

原创 echarts图表设置图表位置

option = { grid : { top : '%', bottom : '%', left : '%', right : '%', } }

2020-04-01 11:12:01 872

原创 echarts图表设置内容及legend的颜色

option = { color : [ '#', '#' ] }

2020-04-01 11:09:53 1842

原创 css实现表格单双行颜色不同

.table tr:nth-child(odd) {background-color:#bd7064a3;}

2020-04-01 10:45:55 2006

原创 CSS按钮边角磨圆

border-radius: 15px;

2020-03-28 16:52:26 1088 1

原创 日期输入类型

<div > <label for="start">开始日期</label><input id="start" type="date" value="年/月/日"/> </div> <div > <label for="over">结束日期</label><input id="...

2020-03-28 16:35:59 127

原创 jsp页面显示的Controller设置

@RequestMapping(value = “名字”, produces = “application/json; charset=utf-8”)@Controllerpublic class StockController {@RequestMapping("")public ModelAndView mainView(HttpServletRequest request, Http...

2020-03-28 16:12:57 659

原创 jsp动态引入echarts图表

##jsp://为Echart1准备一个具备大小的DOM容器##js:$(fun1 = function() {$.get("", function(data) {// 基于准备好的DOM,初始化echarts实例var myChart = echarts.init(document.getElementById(‘Chart1’));// 定义参数,用来替换图表所需要的参数//...

2020-03-26 11:49:39 1163

原创 设置两个按钮互相切换

function 1() { document.getElementById("id1").style.background = "#199ed8"; document.getElementById("id2").style.background = "#e4e4e4"; document.getElementById("id2").style.color = "#fff"...

2020-03-26 11:41:58 1290

原创 按钮默认点击事件(打开页面时按钮默认被点击)

按钮默认点击事件setTimeout(function() {// IEif(document.all) {document.getElementById(“sale-ten”).click();}// 其它浏览器else {var e = document.createEvent(“MouseEvents”);e.initEvent(“click”, true, true);...

2020-03-26 11:36:59 5473

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除