You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?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.epmet.dao.CustomerStaffDao">
|
|
|
|
|
|
|
|
<!-- 根据手机号查询工作人员信息 -->
|
|
|
|
<select id="selectListCustomerStaffDTO" parameterType="java.lang.String" resultType="com.epmet.dto.CustomerStaffDTO">
|
|
|
|
select * from customer_staff cs
|
|
|
|
where cs.MOBILE=#{mobile}
|
|
|
|
and cs.DEL_FLAG='1'
|
|
|
|
order by cs.ACTIVE_TIME desc,cs.CREATED_TIME asc
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<!-- 根据手机号+客户id获取工作人员基本信息 -->
|
|
|
|
<select id="selectListCustomerStaffInfo" parameterType="com.epmet.dto.form.CustomerStaffFormDTO" resultType="com.epmet.dto.CustomerStaffDTO">
|
|
|
|
select * from customer_staff cs
|
|
|
|
where cs.MOBILE=#{mobile}
|
|
|
|
and cs.CUSTOMER_ID=#{customerId}
|
|
|
|
and cs.DEL_FLAG='1'
|
|
|
|
</select>
|
|
|
|
</mapper>
|