上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 91 下一页
摘要: date_sub 含义: 从日期减去指定的时间间隔. 语法格式: SELECT DATE_SUB(date,INTERVAL expr unit) 案例: select date_sub(curdate(),INTERVAL WEEKDAY(curdate())-26 DAY) 日期表示: 年-月- 阅读全文
posted @ 2020-02-24 10:37 Peter.Jones 阅读(3141) 评论(0) 推荐(0)
摘要: 原因: 无论是@OneToOne 还是@ManyToOne,出现这个原因都是因为子表(被关联表)中没有主表(关联表)中ID所对应的记录。 解决办法: 1. 检查为什么子表中没有主表中ID对应的记录 2. 如果子表中没有主表ID对应的记录也可以正常加载数据,那么需要在主表字段上加一个@NotFound 阅读全文
posted @ 2020-02-22 16:14 Peter.Jones 阅读(1807) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-02-21 22:44 Peter.Jones 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-02-21 13:50 Peter.Jones 阅读(65) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-02-20 13:57 Peter.Jones 阅读(0) 评论(0) 推荐(0)
摘要: https://docs.oracle.com/javaee/5/api/javax/persistence/Column.html 阅读全文
posted @ 2020-02-20 13:56 Peter.Jones 阅读(507) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-02-18 15:51 Peter.Jones 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-02-18 13:22 Peter.Jones 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-02-18 12:57 Peter.Jones 阅读(0) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_42518062/article/details/95939067 阅读全文
posted @ 2020-02-18 11:17 Peter.Jones 阅读(136) 评论(0) 推荐(0)
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 91 下一页