修改
Build and publish packages and Docker images / Test, build and publish (push) Successful in 43m50s
Build and publish packages and Docker images / Test, build and publish (push) Successful in 43m50s
This commit is contained in:
1 parent
7aa6133005
commit
98d429f7de
4 files changed
+14
-5
No files matched your search
@@ -105,7 +105,7 @@ jobs:
|
||||
with:
|
||||
images: |
|
||||
docker.io/${{ vars.DOCKERHUB_IMAGE }}
|
||||
git.biss.click/biss/exam-information-system
|
||||
git.biss.click/biss/eis-dotnet
|
||||
flavor: latest=auto
|
||||
tags: |
|
||||
type=sha,format=short,prefix=sha-
|
||||
@@ -158,5 +158,5 @@ jobs:
|
||||
|
||||
```text
|
||||
docker pull docker.io/${{ vars.DOCKERHUB_IMAGE }}:${{ steps.metadata.outputs.version }}
|
||||
docker pull git.biss.click/biss/exam-information-system:${{ steps.metadata.outputs.version }}
|
||||
docker pull git.biss.click/biss/eis-dotnet:${{ steps.metadata.outputs.version }}
|
||||
```
|
||||
@@ -109,7 +109,7 @@ internal sealed class AuthenticationRepository(IRelationalConnectionFactory conn
|
||||
}
|
||||
|
||||
const string ruleSql = """
|
||||
SELECT id, separator FROM number_rules
|
||||
SELECT id, `separator` FROM number_rules
|
||||
WHERE active = 1 ORDER BY updated_at DESC, id LIMIT 1
|
||||
""";
|
||||
string? ruleId = null;
|
||||
|
||||
@@ -102,7 +102,7 @@ internal sealed class DatabaseInitializer(
|
||||
if (await ScalarLongAsync(connection, "SELECT COUNT(*) FROM number_rules", transaction, cancellationToken) > 0) return;
|
||||
await ExecuteAsync(connection,
|
||||
"""
|
||||
INSERT INTO number_rules (id, name, separator, active, created_by, updated_at)
|
||||
INSERT INTO number_rules (id, name, `separator`, active, created_by, updated_at)
|
||||
VALUES ('rule_default', @name, '-', 1, 'usr_admin', @updatedAt)
|
||||
""",
|
||||
[("@name", "年度学校性别流水号"), ("@updatedAt", now)], transaction, cancellationToken);
|
||||
@@ -158,7 +158,7 @@ internal sealed class DatabaseInitializer(
|
||||
await ExecuteAsync(connection,
|
||||
"""
|
||||
INSERT INTO admission_number_rules (
|
||||
id, code, name, description, separator, segments_json, example, active, created_at
|
||||
id, code, name, description, `separator`, segments_json, example, active, created_at
|
||||
) VALUES (
|
||||
@id, @code, @name, @description, '', @segments, @example, 1, @createdAt
|
||||
)
|
||||
|
||||
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user