<select id="countFarmerInfoListByListId" resultType="int">
select
count(1) from AIMS_FRAMER_INFO
where id_aims_list_info = #{listInfoId,jdbcType=VARCHAR}
and create_by = #{userId,jdbcType=VARCHAR}
<if test="farmerName !='' and farmerName !=null">
and frame_name like concat(concat('%',#{farmerName,jdbcType=VARCHAR}),'%')
</if>
</select>
mybatis oracle fuzzy query like
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325731496&siteId=291194637
Recommended
Ranking