mirror of
https://gitee.com/elegant_wings/dbd-meeting.git
synced 2025-06-22 01:19:37 +08:00
31 lines
1.0 KiB
XML
31 lines
1.0 KiB
XML
![]() |
<?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.ics.admin.mapper.RepairCheckMapper">
|
||
|
|
||
|
<select id="checkDeviceType" resultType="com.ics.admin.vo.RepairCheckVo">
|
||
|
SELECT
|
||
|
a.id pid, a.name pname, b.id sid, b.name sname
|
||
|
FROM ics_repair_device_type a,
|
||
|
ics_repair_device b
|
||
|
where a.delete_flag = 0
|
||
|
and b.delete_flag = 0
|
||
|
and a.id = b.type_id
|
||
|
and a.name = #{typeName}
|
||
|
and b.name = #{deviceName}
|
||
|
</select>
|
||
|
|
||
|
<select id="checkAddress" resultType="com.ics.admin.vo.RepairCheckVo">
|
||
|
SELECT
|
||
|
a.id pid, a.name pname, b.id sid, b.name sname
|
||
|
FROM ics_repair_address a,
|
||
|
ics_repair_address_floor b
|
||
|
where a.delete_flag = 0
|
||
|
and b.delete_flag = 0
|
||
|
and a.id = b.address_id
|
||
|
and a.name = #{addressName}
|
||
|
and b.name = #{floorName}
|
||
|
</select>
|
||
|
|
||
|
</mapper>
|