Skip to content

Commit

Permalink
feat:希望支持分支进行上架测试 #4780
Browse files Browse the repository at this point in the history
  • Loading branch information
yjieliang committed Oct 19, 2023
1 parent aea5427 commit 634862c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class AtomDao : AtomBaseDao() {
fun getAtomTestVersion(dslContext: DSLContext, atomCode: String, versionPrefix: String): TAtomRecord? {
return with(TAtom.T_ATOM) {
dslContext.selectFrom(this)
.where(ATOM_CODE.eq(atomCode).and(VERSION.like("$versionPrefix-%")))
.where(ATOM_CODE.eq(atomCode).and(VERSION.startsWith(versionPrefix)))
.orderBy(CREATE_TIME.desc())
.limit(1)
.fetchOne()
Expand Down

0 comments on commit 634862c

Please sign in to comment.