摘要:
开发时遇到这个bug 原因:Mybatis-plus自动填充时选到了update,导致首次insert时id为null,但是数据库表不允许为null因此报错。 解决:填充策略改为insert_update即可 阅读全文
posted @ 2024-07-28 15:08
Adom_ye
阅读(31)
评论(0)
推荐(0)
摘要:
todo 阅读全文
posted @ 2024-07-28 15:08
Adom_ye
阅读(7)
评论(0)
推荐(0)
摘要:
1、批量更新某个字段 /** * @throws CDbException * @throws CException * update xxxTable set column1 = case pk * when whenData1 then caseData1 * ... * END * where 阅读全文
posted @ 2024-07-28 15:08
Adom_ye
阅读(35)
评论(0)
推荐(0)
摘要:
build.sh #!/bin/bash # 构建镜像 imageName=mveldemo version=v1.0 level=i echo "imageName: $imageName" echo " 开始构建Dockerfile " docker build -f Dockerfile -t 阅读全文
posted @ 2024-07-28 15:07
Adom_ye
阅读(19)
评论(0)
推荐(0)
摘要:
https://blog.csdn.net/qq_36502272/article/details/121847640 阅读全文
posted @ 2024-07-28 15:06
Adom_ye
阅读(4)
评论(0)
推荐(0)

浙公网安备 33010602011771号