|
|
|
@ -273,7 +273,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
user_id AS userId,
|
|
|
|
|
user_name AS userName,
|
|
|
|
|
nick_name AS nickName,
|
|
|
|
|
CONCAT(nick_name,user_name) AS teamUserName
|
|
|
|
|
CONCAT(nick_name,user_name) AS teamUserName,
|
|
|
|
|
phonenumber AS phonenumber
|
|
|
|
|
from sys_user
|
|
|
|
|
<where>
|
|
|
|
|
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
|
|
|
|
@ -282,6 +283,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="getRepairPhoneNumber" parameterType="EquTeamUser" resultType="com.op.device.domain.EquTeamUser">
|
|
|
|
|
select
|
|
|
|
|
user_id AS userId,
|
|
|
|
|
user_name AS userName,
|
|
|
|
|
nick_name AS nickName,
|
|
|
|
|
CONCAT(nick_name,user_name) AS teamUserName,
|
|
|
|
|
phonenumber AS phoneNumber
|
|
|
|
|
from sys_user
|
|
|
|
|
where user_name = #{userName}
|
|
|
|
|
and del_flag = '0'
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectEquRepairOrderByRepairCode" parameterType="String" resultMap="EquRepairOrderResult">
|
|
|
|
|
<include refid="selectEquRepairOrderVo"/>
|
|
|
|
|
where order_code = #{repairCode} and del_flag = '0'
|
|
|
|
|