xuekang
2024-05-13 15a0280ae9e7db96fdf0744c722d214d2cb5a0e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?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>