<?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.nuvole.four.mapper.StoreIndustryManageMapper" >
|
<select id="selectList" parameterType="com.nuvole.four.domain.query.StoreIndustryManageQuery" resultType="com.nuvole.four.domain.StoreIndustryManage">
|
select <include refid="Base_Column_List"></include>
|
from store_industry_manage
|
<where>
|
deleted = 0
|
<if test="pId!=null">
|
and p_id =#{pId}
|
</if>
|
<if test="industryName!=null and industryName!=''">
|
and industry_name like concat('%',#{industryName},'%')
|
</if>
|
<if test="industryCode!=null and industryCode!=''">
|
and industry_code like concat('%',#{industryCode},'%')
|
</if>
|
<if test="sortNo!=null">
|
and sort_no =#{sortNo}
|
</if>
|
<if test="isSpecial!=null">
|
and is_special =#{isSpecial}
|
</if>
|
<if test="level!=null">
|
and level =#{level}
|
</if>
|
<if test="status!=null">
|
and status =#{status}
|
</if>
|
<if test="createBy!=null">
|
and create_by =#{createBy}
|
</if>
|
<if test="createTime!=null">
|
and create_time =#{createTime}
|
</if>
|
<if test="updateBy!=null">
|
and update_by =#{updateBy}
|
</if>
|
<if test="updateTime!=null">
|
and update_time =#{updateTime}
|
</if>
|
</where>
|
</select>
|
</mapper>
|