Loading [MathJax]/jax/element/mml/optable/GeneralPunctuation.js

07 2023 档案

摘要:![](https://img2023.cnblogs.com/blog/1202393/202307/1202393-20230729170842749-5741440.png) * https://blog.csdn.net/weixin_38742935/article/details/119 阅读全文
posted @ 2023-07-29 17:08 盘思动 阅读(154) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/1202393/202307/1202393-20230727113204372-1642522478.png) * https://wenku.csdn.net/answer/50db66695ced42d380b982b8 阅读全文
posted @ 2023-07-27 11:32 盘思动 阅读(466) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/1202393/202307/1202393-20230727110444524-1773814573.png) ![](https://img2023.cnblogs.com/blog/1202393/202307/1202 阅读全文
posted @ 2023-07-27 11:05 盘思动 阅读(18) 评论(0) 推荐(0) 编辑
摘要:`{keyword}` 和 `#{keyword}` 是 MyBatis 中用于参数替换的两种不同的占位符形式,它们有以下区别: 1. `{keyword}`:这是一种简单的字符串替换占位符形式,它会将占位符 `${keyword}` 直接替换为传入的参数值。例如,在 XML 配置文件中使用 ` 阅读全文
posted @ 2023-07-20 09:19 盘思动 阅读(132) 评论(0) 推荐(0) 编辑
摘要:* 实际开发中,页面返回,再变更参数进入,怎么都不触发生命周期函数,解决方法如下: ![](https://img2023.cnblogs.com/blog/1202393/202307/1202393-20230715180640852-250561793.png) ![](https://img 阅读全文
posted @ 2023-07-15 18:08 盘思动 阅读(404) 评论(0) 推荐(0) 编辑
摘要:* 名称是selectOne,但有多条数据满足条件的时候,会返回多条数据。 * 解决方法: 加上`.last("limit 1")` ``` String todayStart = DateUtils.getTodayStartTime(); String todayEnd = DateUtils. 阅读全文
posted @ 2023-07-14 18:57 盘思动 阅读(438) 评论(0) 推荐(0) 编辑
摘要:* 我的代码片段 ``` String numberCode = (String) params.get("numberCode"); if(StringUtils.isNotBlank(numberCode)){ wrapper.and(qw -> qw.eq("number", numberCo 阅读全文
posted @ 2023-07-13 19:13 盘思动 阅读(774) 评论(0) 推荐(0) 编辑
摘要:* 为了防止污染自组件的table,row,可以在 `::v-deep{}` 外层再加一个class ``` ::v-deep { .current-row{ td{ background-color:rgba(0, 191, 255, .35)!important; } } } ``` * htt 阅读全文
posted @ 2023-07-12 18:21 盘思动 阅读(626) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/1202393/202307/1202393-20230712151308203-1750297543.png) 阅读全文
posted @ 2023-07-12 15:13 盘思动 阅读(136) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/1202393/202307/1202393-20230710112922278-1733509341.png) ![](https://img2023.cnblogs.com/blog/1202393/202307/1202 阅读全文
posted @ 2023-07-10 11:32 盘思动 阅读(401) 评论(0) 推荐(0) 编辑
摘要:在 Vue 的应用程序中,存储在 Vuex(也称为 Vue Store)中的数据是在浏览器的开发者工具中查看的。对于谷歌浏览器(Chrome),你可以按照以下步骤在开发者工具中查看 Vuex 中的数据: 1. 在你的 Vue 应用程序中打开谷歌浏览器并加载页面。 2. 右键单击页面上的任何位置,并选 阅读全文
posted @ 2023-07-08 18:04 盘思动 阅读(4079) 评论(0) 推荐(0) 编辑
摘要:在 JavaScript 中,你可以使用以下两种方式将对象的键名设定为变量。 1. 使用计算属性名: 使用方括号 `[]` 语法来动态设置对象的键名。你可以将变量放在方括号内作为键名。 示例代码如下: ``` const key = 'name'; const value = 'Alice'; co 阅读全文
posted @ 2023-07-08 15:04 盘思动 阅读(1789) 评论(0) 推荐(0) 编辑
摘要:### demo 本章节综合汇总信息,在这个demo都可以体现 看的有点懵~!!~ ``` interface ILink { // 链表公共标准 /** * 向链表中进行数据的存储,每个链表所保存的数据类型相同,不允许保存null数据 * @param e 要保存的数据 */ public voi 阅读全文
posted @ 2023-07-05 09:50 盘思动 阅读(10) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/1202393/202307/1202393-20230703182343498-806499078.png) * https://blog.csdn.net/u012320487/article/details/121806 阅读全文
posted @ 2023-07-03 18:24 盘思动 阅读(18) 评论(0) 推荐(0) 编辑
摘要:### demo ``` class Outer { // 外部类 private String msg = "www.mldn.cn"; // 私有成员属性 public void fun() { // 普通方法 Inner in = new Inner(); // 实例化内部类对象 in.pri 阅读全文
posted @ 2023-07-02 20:31 盘思动 阅读(6) 评论(0) 推荐(0) 编辑
摘要:### demo ``` public class JavaDemo { public static void main(String args[]) throws Exception { int x = 10; // 中间可能会经过许多条程序语句,导致变量x的内容发生改变 assert x == 阅读全文
posted @ 2023-07-02 16:42 盘思动 阅读(6) 评论(0) 推荐(0) 编辑
摘要:### demo * 在项目开发中,会大量接触自定义异常 * 本节案例,综合本章节很多案例。 ``` class BombException extends Exception {// 自定义强制处理异常 public BombException(String msg){ super(msg);// 阅读全文
posted @ 2023-07-02 11:50 盘思动 阅读(3) 评论(0) 推荐(0) 编辑
摘要:### demo1 parseInt() 方法不处理异常 ``` public class JavaDemo { public static void main(String args[]) { int num = Integer.parseInt("123");// 课程中从官网手册,查看pars 阅读全文
posted @ 2023-07-02 11:35 盘思动 阅读(7) 评论(0) 推荐(0) 编辑
摘要:### demo1 这种模型,开发中经常用 ``` class MyMath { public static int div(int x, int y) throws Exception { // 异常抛出 int temp = 0; System.out.println("*** 【START】除 阅读全文
posted @ 2023-07-02 11:24 盘思动 阅读(9) 评论(0) 推荐(0) 编辑
摘要:### demo ``` public class JavaDemo { public static void main(String args[]) { try { throw new Exception("自己抛着玩的"); } catch (Exception e){ e.printStack 阅读全文
posted @ 2023-07-02 11:12 盘思动 阅读(2) 评论(0) 推荐(0) 编辑
摘要:### demo1 ``` class MyMath { public static int div(int x,int y) throws Exception { return x / y; } } public class JavaDemo { public static void main(S 阅读全文
posted @ 2023-07-02 09:54 盘思动 阅读(3) 评论(0) 推荐(0) 编辑
摘要:### demo Exception 捕获所有异常;在异常catch处理中,把捕获异常范围大的放小的之后 ``` public class JavaDemo { public static void main(String args[]) { System.out.println("【1】***** 阅读全文
posted @ 2023-07-02 00:04 盘思动 阅读(18) 评论(0) 推荐(0) 编辑
摘要:### demo ``` public class JavaDemo { public static void main(String args[]) { System.out.println("【1】****** 程序开始执行 ******"); try { int x = Integer.par 阅读全文
posted @ 2023-07-01 23:38 盘思动 阅读(3) 评论(0) 推荐(0) 编辑
摘要:### demo1 ``` public class JavaDemo { public static void main(String args[]) { System.out.println("【1】****** 程序开始执行 ******"); try { System.out.println 阅读全文
posted @ 2023-07-01 23:14 盘思动 阅读(6) 评论(0) 推荐(0) 编辑
摘要:### demo ``` enum Sex { // 性别 MALE("男"), FEMALE("女"); // 枚举对象 private String title; // 成员属性 private Sex(String title) { // 构造方法 this.title = title; } 阅读全文
posted @ 2023-07-01 16:30 盘思动 阅读(7) 评论(0) 推荐(0) 编辑
摘要:### demo1 在枚举类中定义成员属性与方法 ``` enum Color { // 枚举类 RED("红色"),GREEN("绿色"),BLUE("蓝色"); // 枚举对象要写在首行 private String title;// 成员属性 private Color(String titl 阅读全文
posted @ 2023-07-01 16:02 盘思动 阅读(7) 评论(0) 推荐(0) 编辑
摘要:### demo ``` enum Color { // 枚举类 RED,GREEN,BLUE // 实例化对象,这里对象可以用中文定义 } public class JavaDemo { public static void main(String args[]) { for(Color c : 阅读全文
posted @ 2023-07-01 15:31 盘思动 阅读(7) 评论(0) 推荐(0) 编辑
摘要:* 枚举是对多例模式的一种扩充,完善,简化。 ### demo1 基本定义 ``` enum Color { // 枚举类 RED,GREEN,BLUE // 实例化对象,这里的值可以用中文 } public class JavaDemo { public static void main(Stri 阅读全文
posted @ 2023-07-01 15:20 盘思动 阅读(6) 评论(0) 推荐(0) 编辑
摘要:* 本质上与单例模式没有区别 ``` class Color { // 在类内部提供有若干个实例化对象,如果为了方便管理,也可以通过对象数组的形式定义; private static final Color RED = new Color("红色");//实例化对象 private static f 阅读全文
posted @ 2023-07-01 15:00 盘思动 阅读(3) 评论(0) 推荐(0) 编辑
摘要:### 单例模式 饿汉模式 ``` class Singleton { // 单例程序类 // 在类内部进行Single类对象实例化,为了防止可能出现重复实例化所以使用final标记 private static final Singleton INSTANCE = new Singleton(); 阅读全文
posted @ 2023-07-01 11:52 盘思动 阅读(6) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示