33 lines
1.3 KiB
XML
33 lines
1.3 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.xhpc.charging.station.mapper.XhpcBarrierGateMapper">
|
||
|
|
|
||
|
|
<resultMap id="BaseResultMap" type="com.xhpc.common.domain.XhpcBarrierGate">
|
||
|
|
<result property="barrierGateId" column="barrier_gate_id"/>
|
||
|
|
<result property="barrierGateCompany" column="barrier_gate_company"/>
|
||
|
|
<result property="startTime" column="start_time"/>
|
||
|
|
<result property="endTime" column="end_time"/>
|
||
|
|
<result property="status" column="status"/>
|
||
|
|
<result property="delFlag" column="del_flag"/>
|
||
|
|
<result property="createTime" column="create_time"/>
|
||
|
|
<result property="createBy" column="create_by"/>
|
||
|
|
<result property="updateTime" column="update_time"/>
|
||
|
|
<result property="updateBy" column="update_by"/>
|
||
|
|
<result property="remark" column="remark"/>
|
||
|
|
<result property="tenantId" column="tenant_id"/>
|
||
|
|
</resultMap>
|
||
|
|
|
||
|
|
|
||
|
|
<select id="getBarrierGateList" resultType="map">
|
||
|
|
select
|
||
|
|
barrier_gate_company as label,
|
||
|
|
barrier_gate_id as value
|
||
|
|
from xhpc_barrier_gate where status =0 and del_flag =0
|
||
|
|
</select>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</mapper>
|