var school = {};school.name = '清华大学';school.address = "北京";//此处使用的是 easyui 插件来获取数据var rows = $('#maintainTableId').datagrid('getSelections');for (var ...
分类:
Web程序 时间:
2019-06-02 19:23:13
阅读次数:
170
int** maxValues = new int*[rows]; for (int i = 0; i < rows; ++i) maxValues[i] = new int[cols]; for (int i = 0; i < rows; ++i) delete[] maxValues[i]; d ...
分类:
编程语言 时间:
2019-06-01 21:31:02
阅读次数:
110
select a.name as '表名',b.rows as '表数据行数'from sysobjects a inner join sysindexes bon a.id = b.idwhere a.type = 'u'and b.indid in (0,1)--and a.name not l ...
分类:
其他好文 时间:
2019-05-31 16:51:59
阅读次数:
98
主要功能 商品列表界面 public class EasyUIResult { private Integer total; private List<?> rows; public EasyUIResult(Integer total, List<?> rows) { this.total = t ...
分类:
其他好文 时间:
2019-05-31 01:29:39
阅读次数:
175
Given a matrix of M x N elements (M rows, N columns), return all elements of the matrix in diagonal order as shown in the below image. Example: Note: ...
分类:
其他好文 时间:
2019-05-27 19:21:03
阅读次数:
141
[20190524]使用use_concat or_expand提示优化.txt--//上午看了链接https://connor-mcdonald.com/2019/05/22/being-generous-to-the-optimizer,突然想起我们生产系统类似语句。--//现在想想觉得开发的想 ...
分类:
其他好文 时间:
2019-05-24 22:15:28
阅读次数:
85
mysql触发器trigger 实例详解 MySQL好像从5.0.2版本就开始支持触发器的功能了,本次博客就来介绍一下触发器,首先还是谈下概念性的东西吧: 什么是触发器 触发器是与表有关的数据库对象,在满足定义条件时触发,并执行触发器中定义的语句集合。触发器的这种特性可以协助应用在数据库端确保数据的 ...
分类:
其他好文 时间:
2019-05-21 11:15:35
阅读次数:
121
Mysql的复制方法一共有四种:基于sql语句、基于行、混合部署、基于GTIDS GTIDS的使用环境一般在一主多从下使用 GTIDS的环境: 角色 IP Master 192.168.200.101 Slave 192.168.200.102 实验步骤: 如果不是新安装的mysql,那么我们需要将 ...
分类:
数据库 时间:
2019-05-20 13:13:42
阅读次数:
162
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. Example 1: Example 2: ...
分类:
其他好文 时间:
2019-05-19 09:55:07
阅读次数:
123
On a 2 dimensional grid with rows and columns, we start at facing east. Here, the north west corner of the grid is at the?first row and column, and th ...
分类:
其他好文 时间:
2019-05-18 23:52:27
阅读次数:
171