Skip to content

Commit

Permalink
pref:插件国际化properties文件value值支持引入文件 #9366
Browse files Browse the repository at this point in the history
  • Loading branch information
yjieliang committed Nov 6, 2023
1 parent b012b2a commit 15ba8fe
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,18 +525,16 @@ class AtomDao : AtomBaseDao() {
delim = ".",
count = -1
)
val field = DSL.`when`((t.field(KEY_BRANCH_TEST_FLAG) as Field<Boolean>).eq(true), 1)
.otherwise(0) as Field<Int>
val queryStep = dslContext.select(
t.field(KEY_VERSION),
t.field(KEY_ATOM_STATUS),
firstVersion,
secondVersion,
thirdVersion,
field
tAtom.BRANCH_TEST_FLAG.`as`(KEY_BRANCH_TEST_FLAG)
).from(t)
.orderBy(
field.desc(),
tAtom.BRANCH_TEST_FLAG.`as`(KEY_BRANCH_TEST_FLAG).desc(),
firstVersion.plus(0).desc(),
secondVersion.plus(0).desc(),
thirdVersion.plus(0).desc()
Expand Down

0 comments on commit 15ba8fe

Please sign in to comment.