mybatis 的动态sql语句是基于OGNL表达式的。可以方便的在 sql 语句中实现某些逻辑. 总体说来mybatis 动态SQL 语句主要有以下几类: 1. if 语句 (简单的条件判断) 2. choose (when,otherwize) ,相当于java 语言中的 switch ,与 j... ...
分类:
数据库 时间:
2017-04-05 20:30:21
阅读次数:
256
using System; using System.Collections.Generic;using System.Text; using System.Threading; using System.Runtime.InteropServices;using System.Diagnostic... ...
一,条件运算符 ${user.gender==1?'男':'女'} 二,if标签 <c:if test="boolean">text</c:if> 三,when-otherwise标签 <c:choose> <c:when test="boolean">code..</c:when> <c:othe ...
分类:
Web程序 时间:
2017-03-29 23:45:57
阅读次数:
1949
Description In a highly modernized fishing village, inhabitants there make a living on fishery. Their major tools, fishing nets, are produced and fixe ...
分类:
Web程序 时间:
2017-03-27 23:46:05
阅读次数:
247
In the Internet Protocol Version 4, the address 0.0.0.0 is a non-routable meta-address used to designate an invalid, unknown or non-applicable target. ...
分类:
其他好文 时间:
2017-03-25 11:39:24
阅读次数:
141
Compare two version numbers version1 and version2. If version1 > version2 return 1, if version1 < version2 return -1, otherwise return 0. You may assu ...
分类:
其他好文 时间:
2017-03-22 22:32:56
阅读次数:
169
之前在Spring Boot启动过程(二)提到过createEmbeddedServletContainer创建了内嵌的Servlet容器,我用的是默认的Tomcat。 getEmbeddedServletContainerFactory方法中调用了ServerProperties,从ServerP ...
分类:
编程语言 时间:
2017-03-14 18:49:44
阅读次数:
579
vue的作者在vue2.0发布之后宣告 停止对vue-resource的更新,推荐使用axios 前段时间用了用,现在说说其基本用法. 一.准备阶段 如果你只是个前端不会写接口或者你们要前后分离的话,你需要知道mock 这里交个你一个超级简单的方式 1.创建一个mock文件夹 2.创建tree.js ...
分类:
移动开发 时间:
2017-03-07 19:39:05
阅读次数:
872
各种图标尺寸 Icons for iPhone-only Applications iPhone-only applications use the following icons. Items marked with "Required" must be included. Note: You s ...
分类:
移动开发 时间:
2017-03-07 16:46:38
阅读次数:
333
Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of ...