liujie
2023-10-15 1707d15796d7dc78812f19b9c34868c8cb38a714
src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TYardMapper.xml
@@ -21,7 +21,7 @@
    </resultMap>
    <select id="getList" resultType="com.stylefeng.guns.modular.system.model.TYardVo">
        select id,yard_name,street_address,city,state,zip_code,country,contact_email,contact_name from t_yard
        where remove=0
        where remove=0 and company_id  =#{companyId}
        <if test="name!=null and name !=''">
            and (id like concat("%",#{name},"%") or yard_name like concat("%",#{name},"%"))
        </if>