SSM-动态SQLssm框架 Mybatis 动态SQL主要是解决同一类SQL语句匹配不同的问题,举个栗子:加入我要执行一个查询语句,但是是一个不确定的查询语句,可能会根据ID去查,如果ID没有就可能根据名字去查,或者说同时根据两个去查。那么这时候SQL语句就是不确定的,就要用到mybatis的动态... ...
分类:
数据库 时间:
2018-10-28 13:38:25
阅读次数:
513
C语言指针的高级操作指针 指针在上篇博客中我介绍了C语言指针的最基本操作,那么我在这篇博客中会介绍一下C语言指针的一些骚操作。 指向指针的指针这名字乍一听有点拗口,再次一听就更加拗口了。先看定义:type **ptr;指向指针的指针仅仅只比比指针只多了一个*号,没什么很大的改变,接下在我们看一下使用... ...
分类:
编程语言 时间:
2018-10-28 13:37:20
阅读次数:
161
题目背景 “White shores, and beyond. A far green country under a swift sunrise.” 灰魔法师 题目描述 给出长度为n的序列a, 求有多少对数对 (i, j) (1 using namespace std; int read(){ i ...
分类:
其他好文 时间:
2018-10-27 14:52:36
阅读次数:
144
Samwell Tarly is learning to draw a magical matrix to protect himself from the White Walkers. the magical matrix is a matrix with n rows and m columns ...
分类:
其他好文 时间:
2018-10-25 19:24:13
阅读次数:
164
.tips-new-white span { .tips-new-white span { float: left; background-color: #fff; color: #333; padding: 5px 10px; vertical-align: middle; line-height ...
分类:
其他好文 时间:
2018-10-24 15:22:21
阅读次数:
201
Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the or ...
分类:
其他好文 时间:
2018-10-23 23:06:33
阅读次数:
173
1.在Java中,属于String类型的方法是(); A.insert(int offset, char[]c); //insert是将char参数的字符串表示形式插入到此序列中 B.replace(int start,int end,String str); //使用给定String中的字符替换此 ...
分类:
编程语言 时间:
2018-10-22 23:17:53
阅读次数:
282
类似于Java的try..catch..finally Java的为try_except_finally try执行一段可能会发送异常的代码,如果有异常情况发送 走except , 如果没有则不走,最后不管代码有没有发送异常,都会执行finally里的代码 异常错误存在父子类问题,如果父类处理了,子 ...
分类:
编程语言 时间:
2018-10-22 22:16:53
阅读次数:
187
1. 新建UIViewController:Arena(竞技场)->Controller->Cocoa Touch Class->Class:HMArenaController;Subclass of:UIViewController 2. 设置“Arena.storyboard”文件的类为“HMA ...
分类:
其他好文 时间:
2018-10-21 17:50:47
阅读次数:
207
tabBar与window、pages并列,pagePath点击进入的页面路径,selectedIconPath点击选中状态 "tabBar": { "color": "#353535", "selectedColor": "#3cc51f", "borderStyle": "white", "ba ...
分类:
微信 时间:
2018-10-21 17:46:25
阅读次数:
558