摘要:
多个execution用“||”进行拼接 代码如下: @Pointcut("@annotation(org.springframework.web.bind.annotation.PostMapping) || execution(public * com.ljxx.nmpa.*.controlle
阅读全文
posted @ 2022-05-25 15:58
周文豪
阅读(2092)
推荐(0)
摘要:
navicat访问MySQL报错如下: 1130 is not allowed to connect to this MySql server 解决办法:命令赋予用户权限 grant all privileges on *.* to root@"%" identified by "123456";
阅读全文
posted @ 2022-05-23 12:49
周文豪
阅读(792)
推荐(0)
摘要:
mysql启动后,登录mysql报错如下: 原因:这是由于系统默认会查找/usr/bin下的命令,如果这个命令不在这个目录下,当然会找不到命令,我们需要做的就是映射一个链接到/usr/bin目录下,相当于建立一个链接文件。首先得知道mysql命令或mysqladmin命令的完整路径,比如mysql的
阅读全文
posted @ 2022-05-23 09:47
周文豪
阅读(214)
推荐(0)
摘要:
原因分析: selectByExample()方法传递的参数错误,应该传example类型,而不是实体类。 错误代码如下: @Override public PlantGrow selectPlantGrow(PlantGrow plantGrow1) { List<PlantGrow> plant
阅读全文
posted @ 2022-05-16 20:37
周文豪
阅读(362)
推荐(0)
摘要:
报错如下:Cause: java.sql.SQLIntegrityConstraintViolationException: ORA-02290: 违反检查约束条件 (GYPTS.SYS_C0016857) 原因分析:以前将字段PLANT_USER不能为空该为可以为空,但是在检查中,仍然会对PLAN
阅读全文
posted @ 2022-05-16 19:39
周文豪
阅读(116)
推荐(0)
摘要:
解决办法: 在lifeCycle中,先执行clean,再执行install。即可
阅读全文
posted @ 2022-05-14 16:01
周文豪
阅读(185)
推荐(0)
摘要:
springboot2.2.0.RELEASE版本之前的配置和2.2.0之后的配置等发生了改变。这里讲解2.1.0版本的。 springboot.rabbitmq.publisher-confirms 新版本已被弃用,现在使用 spring.rabbitmq.publisher-confirm-ty
阅读全文
posted @ 2022-05-14 15:28
周文豪
阅读(264)
推荐(0)
摘要:
一、下载 网址:https://support.huaweicloud.com/browsertg-obs/obs_03_1003.html 下载之后的文件如下: 二、安装 解压下载的软件包,如下: 运行“obs-browser-plus Setup xxx.exe”完成OBS Browser+工具
阅读全文
posted @ 2022-05-13 15:51
周文豪
阅读(2979)
推荐(0)
摘要:
一、效果 官方代码: <template> <el-input-number v-model="num" controls-position="right" @change="handleChange" :min="1" :max="10"></el-input-number> </template
阅读全文
posted @ 2022-05-11 10:37
周文豪
阅读(215)
推荐(0)
摘要:
一、问题 发现在搜索框中无法输入内容。 二、原因分析 代码如下: <el-form :inline="true" label-width="100px"> <el-form-item label="原药材名称:"> <el-input v-model.trim="listQuery.mmName"
阅读全文
posted @ 2022-05-10 21:40
周文豪
阅读(2065)
推荐(0)