数字督察一体化平台
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.
 
 

37 lines
1.1 KiB

<?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.biutag.supervision.mapper.SupTaskTestingAlcoholPeopleMapper">
<select id="queryPage" resultType="com.biutag.supervision.pojo.vo.TaskTestingAlcoholPeopleVo">
SELECT
peo.task_id,
peo.name,
peo.emp_no,
peo.id_code,
peo.id,
peo.depart_id,
d.short_name depart_name,
p.position,
p.avatar_url,
p.mobile,
peo.testing_result,
peo.drink_result,
peo.alcohol_content,
peo.testing_time,
peo.un_testing_desc,
peo.is_illegal_banquet,
peo.status,
peo.testing_files
FROM
sup_task_testing_alcohol_people peo
left join sup_police p on peo.emp_no = p.emp_no and p.del = 0
left join sup_depart d on peo.depart_id = d.id
${ew.getCustomSqlSegment}
</select>
</mapper>