mysql
文章平均质量分 75
言之情
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LEFT JOIN右表为空也查出数据
sql 写错了 你懂的:百度查询 链接 select t1.user_id , t1.count count ,t2.followersCount followersCount ,certification_type,audit_status,audit_time from (select count(1) followersCount from my_user_atten翻译 2020-07-16 16:13:16 · 2354 阅读 · 0 评论 -
mybatis collection一对多 ofType
话不多所: 多对一类似 见 链接 一对多子查询 mybaits 中的参数传递 : property:指定关联属性,即Country类中的集合属性 ofType:集合属性的泛型类型 可为基本类型 column 传入参数 column=“cid” 可传多个 column="{cid,mname}" 传入的字段为resultMap type类型 即 cid ,cname 不可用mapper层接口参数传入 如果想用mapper的参数 只能用第二种方法。如代码(自家公司代码): ofType 为原创 2020-07-06 17:35:13 · 4801 阅读 · 0 评论 -
serverTimezone=UTC
标题过于醒目,这是我时常重新安装mysql 。总会忘记设计时区设置导致浪费大量时间。一次笔记望日后便于查找。 使用JDBC连接MySql时出现:The server time zone value ‘�й���ʱ��’ is unrecognized or represents more than one time zone. You must configure either the serv...原创 2020-02-11 21:47:36 · 8459 阅读 · 2 评论
分享