• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天生自然

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  吴裕雄--天生自然Spring和SpringBoot开发实战学习笔记

上一页 1 2 3 4 5 6 7 8 9 ··· 26 下一页

 
MYSQL_DATE_FORMAT()_函数_详解
摘要:https://blog.csdn.net/xiaodingdou/article/details/52510883 阅读全文
posted @ 2022-05-30 17:52 吴裕雄
解决:Inferred type 'E' for type parameter 'E' is not within its bound
摘要:这是因为我查找类型的类,和接收返回的类不一致,导致的; 把列表的类型修改为一样就可以了。 IPage<TbAlliqWeighRecord> iPage = new Page<>(record.getPage(),record.getLimit()); IPage<TbAlliqWeighRecor 阅读全文
posted @ 2022-05-29 22:38 吴裕雄
提取字符串指定的内容
摘要:package com.tszr; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Test { public static void main(String[] args) { String 阅读全文
posted @ 2022-05-28 10:49 吴裕雄
解决:Column 'id' in order clause is ambiguous
摘要:原因:多表查询,都有同样的字段; 解决:需要指定字段对应的表。比如增加表别名,别名.字段 阅读全文
posted @ 2022-05-27 17:02 吴裕雄
sql查询时添加一列为固定值
摘要://sql查询添加一列固定值 SELECT 表字段1,表字段2,表字段3,'固定值字符串' AS FixedStr FROM 表名称 阅读全文
posted @ 2022-05-25 18:39 吴裕雄
LocalDateTime用法
摘要:https://blog.csdn.net/xxdw1992/article/details/112761525 阅读全文
posted @ 2022-05-25 18:38 吴裕雄
centos 安装Tomcat8.5与环境配置
摘要:https://blog.csdn.net/hello_world_qwp/article/details/78862277 阅读全文
posted @ 2022-05-24 16:02 吴裕雄
解决:cannot verify dlcdn.apache.orgs certificate
摘要:解决方法: wget带参数:--no-check-certificate 「wget --no-check-certificate https://dlcdn.apache.org/tomcat/tomcat-8/v8.5.78/bin/apache-tomcat-8.5.78.tar.gz」 阅读全文
posted @ 2022-05-24 15:15 吴裕雄
postmat发送json文字信息和图片文件信息
摘要: 阅读全文
posted @ 2022-05-19 14:41 吴裕雄
Nacos的基本配置
摘要:https://blog.csdn.net/luoqi12897/article/details/121929948 1.什么是Nacos? Nacos 是阿里巴巴开源的一个更易于构建云原生应用的动态服务发现、配置管理和服务管理平台。 2.Nacos Config整合 Nacos Config St 阅读全文
posted @ 2022-05-19 07:52 吴裕雄
vue-elementui限制input只能输入数字校验
摘要:说明 关于@input.native,由于elementui中对html的属性做了封装,所以使用html的原生属性需要添加“.native” @input.native=“formatNumber(‘keyword’)” // 正常英文输入法情况下输入框输入内容变化时对输入数据的处理 @compos 阅读全文
posted @ 2022-05-18 15:10 吴裕雄
vue 前端校验
摘要:<el-form-item label="重量(Kg)" prop="trainWeight"> <el-input v-model="objData.trainWeight" placeholder="请输入重量" style="width: 80%" /> </el-form-item> dat 阅读全文
posted @ 2022-05-18 07:48 吴裕雄
@TableField注解
摘要:@TableField注解 1、 主要用来解决实体类的字段名与数据库中的字段名不匹配的问题(数据库user_addr,字段useraddr未驼峰) 2、 实体类中的属性字段在表中不存在的问题 // 用来解决数据库中的字段和实体类的字段不匹配问题 @TableField(value = "age") 阅读全文
posted @ 2022-05-17 18:45 吴裕雄
将map数据转化为json数据
摘要://将map数据转化为json数据 JSONObject json = new JSONObject(); Iterator<Map.Entry<String, TbTrackScaleReceiveDepartment>> entries = tbTrackScaleReceiveDepartme 阅读全文
posted @ 2022-05-17 15:56 吴裕雄
MultipartFile实现文件上传功能
摘要:https://blog.csdn.net/weixin_45866737/article/details/122598107 https://blog.csdn.net/qq_42239765/article/details/102560484 阅读全文
posted @ 2022-05-16 22:24 吴裕雄
java获取时间戳
摘要:DateFormat df = new SimpleDateFormat("yyyyMMddHHmmss"); Calendar calendar = Calendar.getInstance(); String dateName = df.format(calendar.getTime()); 阅读全文
posted @ 2022-05-16 22:14 吴裕雄
mysql if else 语句修改字段
摘要:UPDATE tb_track_scale_record SET trainWeight = ( CASE WHEN grossWeight IS NOT NULL THEN tareWeight WHEN tareWeight IS NOT NULL THEN tareWeight END ); 阅读全文
posted @ 2022-05-15 23:27 吴裕雄
QueryWrapper常用的条件参数
摘要:setSqlSelect 设置 SELECT 查询字段 where WHERE 语句,拼接 + WHERE 条件 and AND 语句,拼接 + AND 字段=值 andNew AND 语句,拼接 + AND (字段=值) or OR 语句,拼接 + OR 字段=值 orNew OR 语句,拼接 + 阅读全文
posted @ 2022-05-15 19:28 吴裕雄
vue select 默认选中
摘要:<select name="public-choice" v-model="couponSelected" @change="getCouponSelected"> <option :value="coupon.name" v-for="coupon in couponList" >{{coupon 阅读全文
posted @ 2022-05-15 18:19 吴裕雄
解决:Optional long parameter 'id' is present but cannot be translated into a null
摘要:请检查api接口参数是否写正确了 如: method: 'put', params: {'ids':ids} 写成了: params :ids --错误 阅读全文
posted @ 2022-05-14 19:37 吴裕雄
 

上一页 1 2 3 4 5 6 7 8 9 ··· 26 下一页