- 博客(3)
- 收藏
- 关注
转载 mysql根据时间查询
原文转自https://blog.csdn.net/yangfengjueqi/article/details/79655439查询一天:select * from 表名 where to_days(时间字段名) = to_days(now());select * from 表名 where date(时间字段名) = curdate();昨天select * from 表名 where...
2019-04-02 09:38:33 346
原创 Springboot连接mysql的几种方式
1:jdbc连接(不是用配置文件)package com.springboot.first.jdbcUtil;import org.springframework.beans.factory.annotation.Value;import java.sql.*;public class JdbcUtil {private static String DRIVER = “com.mysql...
2018-10-29 14:52:41 9379 1
原创 Springboot+mysql简单的数据库增加操作
Springboot+mysql简单的spring操作1.目录结构jdbcUtil代码package com.springboot.first.jdbcUtil;import java.sql.*;public class JdbcUtil {private static String DRIVER = “com.mysql.jdbc.Driver”;private static ...
2018-10-29 13:13:53 3126 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人