liujie
2023-08-31 d6811336d546e4963a9af3bd7cd8654d14193bce
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>