0

where条件でENUMを直接チェックする必要があります。

 <if test="params.fileTypes != null and !params.fileTypes.isEmpty()">
        AND
        RTRIM(INTH.IF_FILETYPE) IN
        <foreach item="item" index="index"
            collection="params.fileTypes" open="(" separator="," close=")">
            #{item}
        </foreach>
   </if>
   <if test="params.fileTypes.isEmpty()">
        AND
        RTRIM(IF_FILETYPE) IN (#{@com.xyz.wealth.appconfiguration.domain.FileType})
   </if>        
4

1 に答える 1