- 博客(6)
- 问答 (9)
- 收藏
- 关注
原创 springboot出现错误:No qualifying bean of type ’xxx‘ available
当启动时出现找不到没有限定类型的bean,可以在启动类上面加上@SpringBootApplication,@EnableFeignClients
2021-09-10 10:42:03
1178
原创 Mongodb 的上传和下载
实验了好几个版本这是最终成功的版本 data: mongodb: host: 连接地址 port: 27017 database: ceshi @Autowired private GridFsTemplate gridFsTemplate; @Autowired private MongoDbFactory mongoDbFactory; @Autowired private MongoTemplate mongoTemplate; @Autowired private GridFSBucket grid
2021-08-12 12:00:28
441
原创 分页工具类
工具类直接复制创建 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
226
原创 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
6686
原创 去除文本域中的小括号和加减符号并取值
//去除文本域中的小括号并取值 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
365
原创 获取括号后面的英文字母
function getCaption(obj){ var index=obj.lastIndexOf("\ )"); obj=obj.substring(index+1,obj.length); // console.log(obj); return obj; } zdmjTextName1=(人口+树节点)AUV getCaption(zdmjTextName1)//输出AUV
2020-09-21 17:05:37
193
空空如也
导出多个sheet,但是就能导出第二个
2022-11-28
修改数据库字段时会把其他null也修改了
2022-11-19
在后台从TCP获取的数据怎么传到前端
2022-06-14
set手动赋值,但是打印出来确实null值
2022-06-20
多线程实现 重写run(),怎么注入使用mapper文件操作数据库
2022-06-21
用Python 爬取网页数据 为什么取不到东西 有人知道吗
2022-02-25
多线程实现 重写run(),怎么注入使用mapper文件操作数据库
2022-06-20
Jupyter Notebook 爬取网页内容时出来的结果是乱码要怎么解决
2022-02-23
docker 打包运行镜像找不到ssh下的路径
2021-07-12
docker 运行镜像后自动关闭问题
2021-06-28
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅