|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
|
<mapper namespace="com.yoho.ufo.dal.brand.BrandMapper">
|
|
|
<mapper namespace="com.yoho.ufo.dal.BrandMapper">
|
|
|
|
|
|
<resultMap id="brandMap" type="com.yoho.ufo.model.brand.Brand">
|
|
|
</resultMap>
|
...
|
...
|
@@ -60,7 +60,7 @@ |
|
|
from brand
|
|
|
<where>
|
|
|
<if test="brand.brandName != null and brand.brandName != ''">
|
|
|
brand_name like concat('%', #{brand.brandName}, '%') or brand_name_en like concat('%', #{brand.brandName}, '%')
|
|
|
brand_name like concat('%', #{brand.brandName}, '%')
|
|
|
</if>
|
|
|
<if test="brand.status != null">
|
|
|
status = #{brand.status}
|
...
|
...
|
|