cqyt/shapelight-admin/src/main/resources/mapper/ten/TenUserScopeDao.xml

21 lines
974 B
XML
Raw Normal View History

2020-10-19 17:44:19 +08:00
<?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="net.shapelight.modules.ten.dao.TenUserScopeDao">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="net.shapelight.modules.ten.entity.TenUserScopeEntity" id="tenUserScopeMap">
<result property="userScopeId" column="user_scope_id"/>
<result property="userId" column="user_id"/>
<result property="areaId" column="area_id"/>
<result property="cellId" column="cell_id"/>
<result property="buildId" column="build_id"/>
<result property="stationOneId" column="station_one_id"/>
<result property="stationTwoId" column="station_two_id"/>
<result property="roleId" column="role_id"/>
<result property="scopeType" column="scope_type"/>
<result property="tenantId" column="tenant_id"/>
</resultMap>
</mapper>