Jooq 在多列上选择 when 语句

问题描述 投票:0回答:0

我有这部分查询:

case 
    when columnA = 'On' 
        and columnB <= current_date() 
        and columnC > current_date()
        then columnA
    else 'NoChange'
end) 

有没有可能用 Jooq、Java 来写?

java sql jooq
© www.soinside.com 2019 - 2024. All rights reserved.