diff --git a/emis-biz/src/main/resources/mapper/EmisSiteAccountMapper.xml b/emis-biz/src/main/resources/mapper/EmisSiteAccountMapper.xml index 68dd07eef..94b399e9b 100644 --- a/emis-biz/src/main/resources/mapper/EmisSiteAccountMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSiteAccountMapper.xml @@ -39,23 +39,23 @@ del_flag='0' and id = #{id} - and acc_code like concat('%', #{accCode}, '%') - and site_code like concat('%', #{siteCode}, '%') - and center_code like concat('%', #{centerCode}, '%') + and acc_code=#{accCode} + and site_code= #{siteCode} + and center_code=#{centerCode} and cur_money = #{curMoney} and frozen_money = #{frozenMoney} and confirm_money = #{confirmMoney} and watch_money = #{watchMoney} and close_money = #{closeMoney} and earnest_money = #{earnestMoney} - and currency like concat('%', #{currency}, '%') + and currency=#{currency} and start_date = #{startDate} - and bl_open like concat('%', #{blOpen}, '%') - and bl_lock like concat('%', #{blLock}, '%') - and bl_clear like concat('%', #{blClear}, '%') - and clear_site_code like concat('%', #{clearSiteCode}, '%') + and bl_open=#{blOpen} + and bl_lock=#{blLock} + and bl_clear=#{blClear} + and clear_site_code= #{clearSiteCode} and clear_date = #{clearDate} - and clear_man_code like concat('%', #{clearManCode}, '%') + and clear_man_code=#{clearManCode} and remark like concat('%', #{remark}, '%') and del_flag like concat('%', #{delFlag}, '%') and create_by like concat('%', #{createBy}, '%')