摘要: ibatis 在daoImpl 层 继承 SqlMapClientDaoSupport 实现 dao 层的接口。 this.getSqlMapClientTemplate().queryForObject("User.queryById",Id); mybatis 的dao 层接口,直接在 xml 阅读全文
posted @ 2017-01-07 20:16 zhoudingzhao 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 1.public static boolean isEmpty(String str) 判断某字符串是否为空,为空的标准是 str==null 或 str.length()==0 StringUtils.isEmpty(null) = true StringUtils.isEmpty("") = t 阅读全文
posted @ 2017-01-07 15:04 zhoudingzhao 阅读(331) 评论(0) 推荐(0) 编辑