Skip to content

Commit

Permalink
feat:希望支持分支进行上架测试 #4780
Browse files Browse the repository at this point in the history
  • Loading branch information
yjieliang committed Nov 6, 2023
1 parent 15ba8fe commit 1694ad5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,16 +525,17 @@ class AtomDao : AtomBaseDao() {
delim = ".",
count = -1
)
val field = t.field(KEY_BRANCH_TEST_FLAG) as Field<Boolean>
val queryStep = dslContext.select(
t.field(KEY_VERSION),
t.field(KEY_ATOM_STATUS),
firstVersion,
secondVersion,
thirdVersion,
tAtom.BRANCH_TEST_FLAG.`as`(KEY_BRANCH_TEST_FLAG)
field
).from(t)
.orderBy(
tAtom.BRANCH_TEST_FLAG.`as`(KEY_BRANCH_TEST_FLAG).desc(),
field.desc(),
firstVersion.plus(0).desc(),
secondVersion.plus(0).desc(),
thirdVersion.plus(0).desc()
Expand Down

0 comments on commit 1694ad5

Please sign in to comment.