模糊查询

main 79
hshansha 1 month ago
parent 48a46ecabc
commit c1ddfc9eb9

@ -61,7 +61,7 @@
<where>
<if test="khitemTypeid != null ">and khitem_typeId = #{khitemTypeid}</if>
<if test="voteId != null ">and vote_id = #{voteId}</if>
<if test="voteTitle != null and voteTitle != ''">and ve.vote_title = #{voteTitle}</if>
<if test="voteTitle != null and voteTitle != ''">and ve.vote_title like concat('%', #{voteTitle}, '%')</if>
<if test="pcName != null and pcName != '' "> and ve.pingce_name like concat('%', #{pcName}, '%')</if>
<if test="bkhdxId != null ">and bkhdx_id = #{bkhdxId}</if>
<if test="bkhdxName != null and bkhdxName != ''">and bkhdx_name like concat('%', #{bkhdxName}, '%')</if>

Loading…
Cancel
Save