1234567891011121314151617181920212223242526272829303132333435 |
- <?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.sd.business.mapper.department.DepartmentMapper">
- <select id="getPage" resultType="com.sd.business.entity.department.vo.DepartmentVo">
- select d.id,
- d.admin_username,
- d.admin_password,
- d.name,
- d.telephone,
- d.address,
- d.contact_person,
- d.contact_number,
- d.price_system_id,
- d.order_mode,
- d.commission_rule,
- d.status,
- d.line_credit,
- d.used_credit,
- d.wln_warehouse_code,
- d.wln_brand,
- d.create_user,
- d.create_time,
- d.update_user,
- d.update_time,
- ps.name priceSystemName,
- d.price_billing_standard_id,
- pbs.name priceBillingStandardName
- from department d
- left join price_system ps on d.price_system_id = ps.id
- left join price_billing_standard pbs on d.price_billing_standard_id = pbs.id
- ${ew.customSqlSegment}
- </select>
- </mapper>
|