摘要: 项目中的两个Controller层实现类,一个是跳转到jsp页面,一个是以Json形式返回Map键值对。 跳转到jsp页面: 一个是以Json形式返回Map键值对: 阅读全文
posted @ 2016-06-24 22:43 godlei 阅读(8032) 评论(0) 推荐(0)
摘要: 截取自项目中的一个service实现类,记录一下: base类 具体业务的实现类: 阅读全文
posted @ 2016-06-24 18:18 godlei 阅读(12564) 评论(1) 推荐(0)
摘要: 记录下一个Entity类的写法,方便以后查阅: 阅读全文
posted @ 2016-06-24 18:04 godlei 阅读(2584) 评论(0) 推荐(0)
摘要: 记录下一个dao层类的写法,方便以后的使用。 阅读全文
posted @ 2016-06-24 17:59 godlei 阅读(1357) 评论(0) 推荐(0)
摘要: 题目描述: You are given two jugs with capacities x and y litres. There is an infinite amount of water supply available. You need to determine whether it i 阅读全文
posted @ 2016-06-24 17:53 godlei 阅读(1593) 评论(0) 推荐(0)
摘要: 题目描述: Given a non-empty 2D matrix matrix and an integer k, find the max sum of a rectangle in the matrix such that its sum is no larger than k. 解题思路: 阅读全文
posted @ 2016-06-24 17:23 godlei 阅读(1397) 评论(0) 推荐(0)