- 博客(6)
- 问答 (9)
- 收藏
- 关注
原创 springboot出现错误:No qualifying bean of type ’xxx‘ available
当启动时出现找不到没有限定类型的bean,可以在启动类上面加上@SpringBootApplication,@EnableFeignClients
2021-09-10 10:42:03 1052
原创 Mongodb 的上传和下载
实验了好几个版本这是最终成功的版本data:mongodb:host: 连接地址port: 27017database: ceshi@Autowiredprivate GridFsTemplate gridFsTemplate;@Autowiredprivate MongoDbFactory mongoDbFactory;@Autowiredprivate MongoTemplate mongoTemplate;@Autowiredprivate GridFSBucket grid
2021-08-12 12:00:28 361
原创 分页工具类
工具类直接复制创建package com.celix.common.utils;import com.github.pagehelper.Page;import com.github.pagehelper.PageInfo;import java.util.ArrayList;import java.util.HashMap;import java.util.List;import java.util.Map;public class PageUtils {/** * * @param
2021-03-02 15:44:33 164
原创 ERROR: operator does not exist: character varying = integer
ERROR: operator does not exist: character varying = integer操作数据库时报错了,报错内容为“No operator matches the given name and argument type(s),You might need to add explicit type casts”,原因在于字段格式不正确。修改query为query=(“select … where code = cast (%s as VARCHAR)” %code)运
2021-03-01 16:30:37 5764
原创 去除文本域中的小括号和加减符号并取值
//去除文本域中的小括号并取值public static String[] strTransArr(String str,String s) {String[] sArr = s.split(",");for (int i=0;i<sArr.length;i++){str=str.replace(sArr[i],",");}String[] strArr = str.split(","); return strArr;}String[] ss=strTransArr(res,"
2020-10-15 09:30:08 267
原创 获取括号后面的英文字母
function getCaption(obj){var index=obj.lastIndexOf("\ )");obj=obj.substring(index+1,obj.length);// console.log(obj);return obj;}zdmjTextName1=(人口+树节点)AUVgetCaption(zdmjTextName1)//输出AUV
2020-09-21 17:05:37 140
空空如也
导出多个sheet,但是就能导出第二个
2022-11-28
修改数据库字段时会把其他null也修改了
2022-11-19
多线程实现 重写run(),怎么注入使用mapper文件操作数据库
2022-06-21
多线程实现 重写run(),怎么注入使用mapper文件操作数据库
2022-06-20
set手动赋值,但是打印出来确实null值
2022-06-20
在后台从TCP获取的数据怎么传到前端
2022-06-14
用Python 爬取网页数据 为什么取不到东西 有人知道吗
2022-02-25
Jupyter Notebook 爬取网页内容时出来的结果是乱码要怎么解决
2022-02-23
docker 打包运行镜像找不到ssh下的路径
2021-07-12
docker 运行镜像后自动关闭问题
2021-06-28
TA创建的收藏夹 TA关注的收藏夹
TA关注的人