select thisTab.id, thisTab.fee_type, thisTab.fee_name, thisTab.type_id, thisTab.register_time, thisTab.register_amount, thisTab.currency, thisTab.head_id, thisTab.create_time, thisTab.update_time from tms_receivable_fee_item AS thisTab select count(0) from tms_receivable_fee_item as thisTab and thisTab.fee_type = #{feeType} and thisTab.fee_name like concat('%', #{feeName}, '%') and thisTab.type_id = #{typeId} and thisTab.register_time = #{registerTime} and thisTab.register_amount = #{registerAmount} and thisTab.currency = #{currency} and thisTab.head_id = #{headId} insert into tms_receivable_fee_item fee_type, fee_name, type_id, register_time, register_amount, currency, head_id, create_time, update_time, #{feeType}, #{feeName}, #{typeId}, #{registerTime}, #{registerAmount}, #{currency}, #{headId}, #{createTime}, #{updateTime}, insert into tms_receivable_fee_item id,fee_type,fee_name,type_id,register_time,register_amount,currency,head_id, #{item.id},#{item.feeType},#{item.feeName},#{item.typeId},#{item.registerTime},#{item.registerAmount},#{item.currency},#{item.headId}, update tms_receivable_fee_item fee_type = #{feeType}, fee_name = #{feeName}, type_id = #{typeId}, register_time = #{registerTime}, register_amount = #{registerAmount}, currency = #{currency}, head_id = #{headId}, create_time = #{createTime}, update_time = #{updateTime}, where id = #{id} update tms_receivable_fee_item fee_type = #{item.feeType}, fee_name = #{item.feeName}, type_id = #{item.typeId}, register_time = #{item.registerTime}, register_amount = #{item.registerAmount}, currency = #{item.currency}, head_id = #{item.headId}, create_time = #{item.createTime}, update_time = #{item.updateTime}, where id = #{item.id} delete from tms_receivable_fee_item where id = #{id} delete from tms_receivable_fee_item where id in #{id}