上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: 转自:https://blog.csdn.net/meteorsshower2013/article/details/80488978 阅读全文
posted @ 2020-01-15 09:17 saifei1125 阅读(220) 评论(0) 推荐(0) 编辑
摘要: String类型不传参的时候,传过来为null,占4个字节 原因: 阅读全文
posted @ 2020-01-14 17:14 saifei1125 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 主要是配置mysql数据库的时候没有配置时区,修改: serverTimezone=GMT%2B8 (格林尼治标准时间,曾是世界时) 也可以设置成其它时区如UTC(协调世界时,现作为世界标准时间使用) 阅读全文
posted @ 2020-01-13 14:47 saifei1125 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/zhukaixin/p/9172996.html @Componet 标注一个普通的spring bean类,可以代替@Respository、@Service、@Controller @Repository 标注一个DAO组件类 @Servic 阅读全文
posted @ 2020-01-13 14:00 saifei1125 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/yalishadaa/article/details/56038992 1、普通映射 2、结果集映射 3、关系映射 一对一 一对多 阅读全文
posted @ 2020-01-13 13:33 saifei1125 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 转自https://blog.csdn.net/u011095110/article/details/86088976 1、entity层 别名:model层,domain层 实体类,用于存放我们的实体类,与数据库中的属性值基本保持一致,实现set和get方法 2、mapper层 别名:dao层 对 阅读全文
posted @ 2020-01-13 08:53 saifei1125 阅读(1839) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/JimKing/p/8602392.html groupid和artifactId都统称为“坐标”,是为了保证项目唯一性而提出的,如果你要把你的项目弄到maven仓库去,你想要找到你的项目就必须根据这两个id去查找。groupId是项目组织唯一的 阅读全文
posted @ 2020-01-10 16:44 saifei1125 阅读(4446) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_37139197/article/details/82908377 阅读全文
posted @ 2020-01-10 16:17 saifei1125 阅读(65) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/ww-xiaowei/p/11115487.html 阅读全文
posted @ 2020-01-10 13:46 saifei1125 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 方法1: 现将string转化成JSONObject,利用jsonObject的getJsonArray(String key)方法,获取只包含jsonArray的部分Json数组,再利用jsonArray的getJSONObject(int index)方法获取数组的某个JsonObject,再通 阅读全文
posted @ 2020-01-10 13:45 saifei1125 阅读(1985) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页