摘要: 阅读全文
posted @ 2017-12-19 19:03 噶波豆儿 阅读(234) 评论(0) 推荐(0) 编辑
摘要: form中或者说pojo中的属性 >自动获取创建时间 阅读全文
posted @ 2017-12-19 17:00 噶波豆儿 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 前端校验只能输入数字 <input name="elementLength" maxlength="8" onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)" onblur="t 阅读全文
posted @ 2017-12-19 15:28 噶波豆儿 阅读(3256) 评论(0) 推荐(0) 编辑
摘要: <fmt:formatDate value="${pro.addTime }" type="date" pattern="yyyy-MM-dd HH:mm:ss"/> 阅读全文
posted @ 2017-12-19 15:27 噶波豆儿 阅读(660) 评论(0) 推荐(0) 编辑
摘要: 前端显示省略号 <td title="${pro.member}"> <c:if test="${not empty pro.member}"> ${fn:substring(pro.member,0,18)}${fn:length(pro.member)>18?'...':''} </c:if> 阅读全文
posted @ 2017-12-19 15:25 噶波豆儿 阅读(600) 评论(0) 推荐(0) 编辑
摘要: <!-- 账单编号 --> <if test="billListForm.code != null and billListForm.code != ''"> AND a.code LIKE CONCAT('%',#{billListForm.code},'%') </if> <!-- 账单状态 - 阅读全文
posted @ 2017-12-19 15:24 噶波豆儿 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 数字保持小数点后一位 <fmt:formatNumber type="number" value="${commercialService.discountsPrice}" pattern="0.0" maxFractionDigits="1"/>元 阅读全文
posted @ 2017-12-19 15:23 噶波豆儿 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-12-19 15:18 噶波豆儿 阅读(3177) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-12-19 15:17 噶波豆儿 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 解决idea工具下tomcat中文乱码问题 声明:本人非原创 原创 2015年09月18日 11:29:38 标签: idea / gradle 16039 原创 2015年09月18日 11:29:38 标签: idea / gradle 16039 在运行/调试 配置对话框的Startup/Co 阅读全文
posted @ 2017-12-19 15:11 噶波豆儿 阅读(94) 评论(0) 推荐(0) 编辑
摘要: base64编码import java.util.Base64;对于标准的Base64:加密为字符串使用Base64.getEncoder().encodeToString();加密为字节数组使用Base64.getEncoder().encode();解密使用Base64.getDecoder() 阅读全文
posted @ 2017-12-19 15:09 噶波豆儿 阅读(248) 评论(0) 推荐(0) 编辑
摘要: select * from emp, dept, (select * from emp)wheregroup byhavingorder bylimit多表查询 1. 分类: * 合并结果集(了解) * 连接查询 * 子查询合并结果集 * 要求被合并的表中,列的类型和列数相同 * UNION,去除重 阅读全文
posted @ 2017-12-19 15:05 噶波豆儿 阅读(283) 评论(0) 推荐(0) 编辑