- 博客(47)
- 问答 (1)
- 收藏
- 关注
原创 Failed to convert property value of type ‘ java.lang.String‘ to required type ‘java.time.LocalDateTi
处理后端时间请求时无法被解析问题
2022-07-05 14:51:43
980
原创 内部类 sql处理
<collection property="exam" ofType="com.ytzhaoyang.pe.course.service.entity.vo.caseCourse.NodeTestUserVO$ExamVO" autoMapping="true"> <result column="node_id" property="nodeId"/> &.
2022-01-10 14:00:17
157
原创 element table 双击切换输入框
https://www.cnblogs.com/banbosuiyue/p/15190303.html
2021-11-24 14:56:12
391
原创 element设置从今天往后的日期时间
pickerOptions0: { disabledDate(time) { return time.getTime() < Date.now() - 8.64e7//如果没有后面的-8.64e7就是不可以选择今天的 } }, <el-date-picker v-model="form.endTime" :picker-options="pickerOption...
2021-11-04 11:04:49
314
原创 linux部署springboot项目
1首先maven打包2winscp 吧打出的jar包存入到文件夹里3 安装jdk网上找linux下安装的jdk环境变量不要用vim编写,很麻烦,用notepad++,网上找一下linuxjdk环境变量配置即可4xshell到存放项目的文件夹,输入nohup java -jar springtest-0.0.1-SNAPSHOT.jar &该命令关闭xhsell也可运行,只要服务器不崩溃,一直存在。如果不想用这种方式可以 用 jdk -jar 项目名;启动。...
2021-09-26 16:56:16
81
原创 el-tree
<template> <div> <el-button style="margin-left: 10px" type="primary" size="small" @click="dialogVisible = true,getList">树节点</el-button> <el-dialog title="节点树结构" :visible.sync="dialogVisible" width="60
2021-09-18 15:09:27
110
原创 解决:java.util.ConcurrentModificationException: null:异常
俺都循环都试了一下,最终发现for循环没问题,至于为啥可以,俺也不知道。。。有没有大佬解释下 public List<MindPo> queryMindAndChildrenService(String mindId) { List<MindPo> result = new ArrayList(); if(mindId != null){ MindPo po = mindMapper.selectByMindId(mindId
2021-09-08 14:48:13
382
原创 前端遍历方式
handleSelectionChange(val) { this.multipleSelection = val; this.caseIds = val.map(item => item.uuid) this.caseNames = val.map(item => item.caseName) console.log(this.caseIds) console.log(this.caseNames) ...
2021-09-08 09:06:08
128
原创 vue table 关键字模糊查询
vue input 输入框绑定v-model <el-input placeholder="请输入搜索内容" style="width: 400px;margin-left: 500px" v-model="filterText" ></el-input>table表格:data绑定过滤器<el-table
2021-09-07 09:25:29
784
原创 list遍历
list.stream().forEach(item->{ MindUserPO po = new MindUserPO(); po.setUserId(item.getId()); po.setExpandState(item.getExpandState()); if(item.getChildren() != null) { .
2021-09-02 09:28:17
77
原创 使用HttpClient实现一个项目调用另一个项目接口
配置Util工具类 这个是post的import com.alibaba.fastjson.JSON;import org.apache.http.HttpEntity;import org.apache.http.client.ClientProtocolException;import org.apache.http.client.methods.CloseableHttpResponse;import org.apache.http.client.methods.HttpPost;impo
2021-08-30 17:37:50
1432
1
原创 el-dialog 不显示,且提示 Missing required prop: “modelValue“警告
解决方法把:visible.sync="dialogVisible"换成v-model=“dialogVisible” 不知道为什么会出这个问题,不过这样可以解决,有大佬可以留言给我讲解下,多谢
2021-08-06 10:03:41
1248
原创 Unexpected character ‘@‘ (242:0) File was processed with these loaders:
原因我不太清楚,但是我知道我改了哪里。biuld下webpack.base.config.js我猜测可能是没引用之类的下边是我的配置var path = require('path')var utils = require('./utils')var config = require('../config')var vueLoaderConfig = require('./vue-loader.conf')const VueLoaderPlugin = require('vue-loader/
2021-08-04 10:22:10
268
原创 vue启动报错找不到应用程序
) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unh
2021-08-04 10:18:30
1418
原创 vue+springboot+element实现上传功能
后台接口,string mindId 是我自己工作需要,可自行调整 SimpleDateFormat sdf = new SimpleDateFormat("/yyyy/MM/dd/"); @RequestMapping(value={"/upload"},method=RequestMethod.POST) @ResponseBody public Map<String,Object> upload(MultipartFile file, HttpServletR
2021-08-02 09:31:40
184
原创 mybatisPlus自动填创建时间和修改时间
package com.example.demo.config;import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler;import lombok.extern.slf4j.Slf4j;import org.apache.ibatis.reflection.MetaObject;import org.springframework.stereotype.Component;import java.util.Date;@
2021-06-30 17:21:54
679
原创 关于子组件向父组件传值的问题 vue
下列代码是父组件 <el-dialog :visible.sync="imageDialogVisible" append-to-body destroy-on-close> <new-image @closeEditDialog="closeEditDialog"></new-image> </el-dialog>下列代码是父组件的methodscloseEditDialog() { this.i
2021-06-25 13:26:24
240
1
原创 递归节点,指定数据格式思路
这是我想要的数据格式 public Node initializService (String minderId){ Node node = new Node(); RootMind rootMind=new RootMind(); //根据思维导图根节点id查出根节点下所有属性 MindPo po = mindMapper.selectByMindId(minderId); //创建vo对象,用来接收
2021-06-18 10:15:20
255
原创 使用vue v-show 实现按钮点击展示再次点击关闭
<el-button @click="isShow=!isShow?true:false" class="userFileBut" icon="el-icon-s-fold" size="small">批量操作</el-button> <script>export default { name: "userFile", data(){ return{ isShow:false, } }, methods:{ ...
2021-06-10 16:58:55
1588
原创 2021-05-21
vuepost传对象的话return request({ url:“” method: 'post', data:{"fileNode":fileNode,"id":id}});vue getconst query = { "id" : id,}; return request({ url“” method:"post", params:query});
2021-05-21 15:29:19
60
原创 MySQL建表语句+添加注释
1.建表+注释CREATE TABLE student( id INT PRIMARY KEY AUTO_INCREMENT COMMENT '学号', name VARCHAR(200) COMMENT '姓名', age int COMMENT '年龄') COMMENT='学生信息'2.修改注释修改表注释-ALTER TABLE student COMMENT '学生表'; 修改列注释-ALTER TABLE student
2021-04-13 09:42:26
4938
原创 2021-04-01
记录一下昨天遇到的bug,@RequestParm 貌似可以阻止值传空过来,必须有数据。我一直以为该注解只是起到和前台传值名字进行的绑定,貌似不是如此。
2021-04-01 08:44:41
69
空空如也
想做个鱼骨图模板,不知道怎么实现
2021-04-21
TA创建的收藏夹 TA关注的收藏夹
TA关注的人