|
|
|
@ -43,7 +43,7 @@
|
|
|
|
|
blade_pdaversion_tenant bpt |
|
|
|
|
JOIN blade_pdaversion_manage bpm ON bpt.master_id = bpm.id |
|
|
|
|
WHERE |
|
|
|
|
bpm.release_time <= now() and bpt.betenant_code =#{betenantCode} and bpm.version_type = #{versionType} |
|
|
|
|
bpm.release_time <= now() and bpt.betenant_code =#{betenantCode} and bpm.version_type = #{versionType} and bpm.is_deleted =0 |
|
|
|
|
ORDER BY |
|
|
|
|
SUBSTRING_INDEX( SUBSTRING_INDEX( bpm.version_name, '.', 1 ), '.', -1 ) + 0 DESC, |
|
|
|
|
SUBSTRING_INDEX( SUBSTRING_INDEX( bpm.version_name, '.', 2 ), '.', -1 ) + 0 DESC, |
|
|
|
|