按照指定顺序排序 使用场景:需要查询捆号为10,23,9...的数据,查询结果也是按照输入的顺序排列 sql: select * from store where xh in (10,23,9) order by case xh when 10 then 1 when 23 then 2 when ...
分类:
数据库 时间:
2020-06-16 20:43:29
阅读次数:
69
foreach (Control control in ctls) 50 { 51 if (control is TextBox) 52 { 53 (control as TextBox).Enter += new EventHandler(SetTextBoxOnEnterStyle); 54 ( ...
https://codeforces.com/problemset/problem/19/D 题意: 在二维平面上有三种操作: 1、增加一个点,保证不存在 2、去掉一个点,保证存在 3、询问 \((x,y)\) 右上角中最靠左中的最靠下的点的位置 题解: 首先非常显然将操作进行离线,离散化它的坐标, ...
分类:
其他好文 时间:
2020-06-16 18:36:29
阅读次数:
52
Description 给定迷宫起点和终点,寻找一条从起点到终点的路径。 (0,1) (2,0) 起点 (1,1) (1,2) (1,3) (1,4) (2,0) (2,1) (2,4) (3,0) (3,1) (3,2) 终点 (3,4) (4,1) 上图中黄色代表墙,白色代表通路,起点为(1,1 ...
分类:
编程语言 时间:
2020-06-16 18:33:16
阅读次数:
251
Could not initialize class java.awt.image.BufferedImage 只需在TOMCAT启动参数中加"-Djava.awt.headless=true \"启动文件是:\bin\catalina.sh 加入的上下文 是 else "$_RUNJAVA" $J ...
分类:
编程语言 时间:
2020-06-16 15:26:11
阅读次数:
152
adb shell getprop ro.product.ota.host 获取配置项的值 adb shell setprop produc.ota.port 8080 设置配置项的值【ro开头的是只读配置项】 adb shell mount -o remount,rw /vendor 已读写的模式 ...
分类:
数据库 时间:
2020-06-16 15:18:30
阅读次数:
152
创建一个列转行的函数 udf_ConvertStrToTable /* -- 如将以某个字符相隔的字符串字符串转换为表 -- 如字符串:Nothing,is,impossible,to,a,willing,heart -- SELECT * FROM udf_ConvertStrToTable('N ...
分类:
数据库 时间:
2020-06-16 13:16:06
阅读次数:
143
依赖jszip.js和FileSaver.js两个js库,可以到官网下载 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="./jquery3.5.1.js ...
分类:
Web程序 时间:
2020-06-16 12:49:55
阅读次数:
102
https://itnext.io/how-javascript-works-in-browser-and-node-ab7d0d09ac2f A visualization of JavaScript runtime, callback queue and event loop and Web A ...
分类:
编程语言 时间:
2020-06-16 10:24:28
阅读次数:
66
关于layui的日期控件。只需要月份的时候,还需要点击确定按钮才能选中很麻烦 现在想要的是当点击月份的时候,日期面板可以自动消失,现在是有两种方法可以做到,根据自己需求来选择 //页面头部的日期组件 var end = laydate.render({ elem: '#endTime', //选择器 ...
分类:
其他好文 时间:
2020-06-16 10:23:30
阅读次数:
340