针灸质控中心平台
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.

33 lines
902 B

<?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.acupuncture.system.persist.dao.AdminDmsUserDao">
<select id="query" resultType="com.acupuncture.system.domain.vo.AdminTenantUserVo$Result">
SELECT
id,
tenant_id as tenantId,
user_name as userName,
password,
nick_name as nickName,
email,
phonenumber,
sex,
status,
del_flag as delFlag,
create_by as createBy,
create_time as createTime,
update_by as updateBy,
update_time as updateTime,
remark
FROM
dms_user
<where>
del_flag = 0
<if test="tenantId != null">
AND tenant_id = #{dto.tenantId}
</if>
</where>
</select>
</mapper>