上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 1.实体类转换方法 参照文章:http://www.cnblogs.com/dflmg/p/6933811.html 2.K-V方法(此方法比较笨,但是没有办法,我现在不知道有没有相关的简单API,只能自己手动拼出一个方法。import org.apache.commons.lang.StringU 阅读全文
posted @ 2017-07-15 15:54 多弗朗明哥 阅读(1019) 评论(0) 推荐(0) 编辑
摘要: SELECT ROW_NUMBER() OVER (ORDER BY sr.receiptid ASC) AS 序号, sr.receiptid, sr.receiptdate, DATE(sr.receiptdate) AS receiptdate, concat_ws(':',EXTRACT(h 阅读全文
posted @ 2017-07-12 13:08 多弗朗明哥 阅读(6685) 评论(0) 推荐(0) 编辑
摘要: 接受json 注意: 阅读全文
posted @ 2017-07-07 14:45 多弗朗明哥 阅读(5117) 评论(0) 推荐(0) 编辑
摘要: 时间戳: 1480570979000 阅读全文
posted @ 2017-06-27 12:13 多弗朗明哥 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 添加如图红框内容 阅读全文
posted @ 2017-06-23 15:36 多弗朗明哥 阅读(1648) 评论(0) 推荐(0) 编辑
摘要: ROW_NUMBER () OVER (ORDER BY A .ordernumber ASC) AS 序号 阅读全文
posted @ 2017-06-23 10:27 多弗朗明哥 阅读(6419) 评论(0) 推荐(0) 编辑
摘要: 简单的json和bean转换直接用: 复杂模式,对象里面有list,比如ReturnOrderDO里面有属性A,B,属性B里面的属性是List<C>,这样直接转就不行报错了,需要用classmap 阅读全文
posted @ 2017-06-02 16:19 多弗朗明哥 阅读(2664) 评论(0) 推荐(1) 编辑
摘要: 这个网站中有很多方法。https://code.google.com/p/mybatis/issues/detail?id=85 自己试验了如下的方法。 1. 参数中直接加入%% param.setUsername("%CD%"); param.setPassword("%11%"); 2. bin 阅读全文
posted @ 2017-05-02 18:11 多弗朗明哥 阅读(2018) 评论(0) 推荐(0) 编辑
摘要: 页面效果如下: jsp代码如下(里面引入了很多其他js文件,很多方法调用来自其他js): 阅读全文
posted @ 2017-04-12 16:19 多弗朗明哥 阅读(474) 评论(0) 推荐(0) 编辑
摘要: mapper.xml如下: 其中仓库编码和商品分类编码都使用了foreach进行迭代循环,页面jsp场景如下: 业务需求中需要查询多个仓库和商品分类的值,所以在页面将仓库和分类的id值用逗号隔开,以一串string传入后台,并将其拆解成List<Integer>或者List<String>,最后塞进 阅读全文
posted @ 2017-04-12 16:13 多弗朗明哥 阅读(3534) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页