上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: select t.* from (SELECT * from person where create_time<'2022-08-01 00:00:00' HAVING 1 order by create_time desc)c group by c .code; 阅读全文
posted @ 2022-07-21 15:45 迷糊桃 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { //1.生成一个Jedis对象,这个对象负责和指定的Redis节点进行通信 Jedis jedis = new Jedis("ip", 端口); jedis.auth("password"); //2.jedis执行s 阅读全文
posted @ 2022-07-12 19:47 迷糊桃 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 直接上方法: public static void main(String[] args) { SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date date = new Date(); date.setTim 阅读全文
posted @ 2022-06-15 19:27 迷糊桃 阅读(8503) 评论(0) 推荐(0) 编辑
摘要: create table 表名1 like 表名2 用来创建完整表结构和全部索引信息; 无数据; create table t1 like 用来创建完整表结构和全部索引信息; 无数据; 阅读全文
posted @ 2022-06-13 10:42 迷糊桃 阅读(1317) 评论(0) 推荐(0) 编辑
摘要: 目的:在一个查询接口里面,返回一个人的信息,以及这个人所携带的东西的信息,返回效果如下: { "msg": { "listMain": [ { "id": "dd4a2f49b9c94196b065d425e1338ec4", "userName": "张三", "age": 24, "sex": 阅读全文
posted @ 2022-06-06 16:04 迷糊桃 阅读(1496) 评论(0) 推荐(0) 编辑
摘要: public static int getUserAge(Date birthDay) throws Exception { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); Date birthDayAge = sdf.parse 阅读全文
posted @ 2022-06-02 15:47 迷糊桃 阅读(2321) 评论(2) 推荐(0) 编辑
摘要: Mybatis映射,property需要驼峰命名,且首字母要为小写 fileName写为FileName会爆红,如果实体类首字母大写,这里也需要改成小写 阅读全文
posted @ 2022-06-02 11:38 迷糊桃 阅读(576) 评论(0) 推荐(0) 编辑
摘要: <repositories><!-- 代码库 --> <repository> <id>maven-ali</id> <url>http://maven.aliyun.com/nexus/content/groups/public//</url> <releases> <enabled>true</ 阅读全文
posted @ 2022-05-31 21:50 迷糊桃 阅读(706) 评论(0) 推荐(0) 编辑
摘要: package com.ruoyi.web.controller.booksController; import lombok.Data; import org.springframework.stereotype.Component; import java.text.SimpleDateForm 阅读全文
posted @ 2022-05-18 09:43 迷糊桃 阅读(3432) 评论(0) 推荐(1) 编辑
摘要: Linux部署Nacos 1.在官网下载自己所需要的包(需要对应自己的spring boot或者spring cloud版本) 下载地址:https://github.com/alibaba/nacos/releases 这里我们选择Linux的版本 2.把下载好的包上传至Linux服务器 进入上传 阅读全文
posted @ 2022-04-26 11:34 迷糊桃 阅读(574) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页