This commit is contained in:
2024-09-09 09:25:06 +08:00
parent 4f6007ca5f
commit 251ac36139
10 changed files with 352 additions and 303 deletions

View File

@@ -51,7 +51,7 @@ spring:
# 文件上传相关 支持阿里云、华为云、腾讯、minio
oss:
endpoint: http://127.0.0.1:9000
endpoint: dlp-minio:9000
accessKey: admin
secretKey: 87990016
bucket-name: dlpfiles

View File

@@ -266,7 +266,7 @@
WHERE entrustment_no LIKE concat(#{prefix}, '%')
</select>
<select id="getMaxEntrustAcceptNo" parameterType="String" resultType="java.lang.String">
SELECT MAX(accept_no) AS maxno
SELECT MAX(CAST(SUBSTRING(accept_no, 6) AS UNSIGNED)) AS maxno
FROM b_entrustment
WHERE accept_no LIKE concat(#{prefix}, '%')
</select>