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
| <?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.ruoyi.basic.mapper.SupplierManageMapper">
|
| <select id="supplierListPage" resultType="com.ruoyi.basic.dto.SupplierManageDto">
| SELECT
| T1.id,
| T1.supplier_name,
| T1.taxpayer_identification_num,
| T1.company_address,
| T1.company_phone,
| T1.bank_account_name,
| T1.bank_account_num,
| T1.contact_user_name,
| T1.contact_user_phone,
| T1.maintain_user_id,
| T1.maintain_time,
| T1.create_time,
| T1.create_user,
| T1.update_time,
| T1.update_user,
| T1.tenant_id
| FROM supplier_manage T1
| LEFT JOIN sys_user T2 ON T1.maintain_user_id = T2.user_id
| <where>
| <if test="supplierManageDto.supplierName != null and supplierManageDto.supplierName != '' ">
| AND supplier_name = #{supplierManageDto.supplierName}
| </if>
| </where>
| </select>
|
| </mapper>
|
|