CameraMapper.xml 1.15 KB
<?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.huaheng.pc.config.camera.mapper.CameraMapper">
    
    <resultMap type="com.huaheng.pc.config.camera.domain.Camera" id="cameraResult">
        <result property="id"    column="id"    />
        <result property="warehouseCode"    column="warehouseCode"    />
        <result property="companyCode"    column="companyCode"    />
        <result property="ip"    column="ip"    />
        <result property="port"    column="port"    />
        <result property="userName"    column="userName"    />
        <result property="password"    column="password"    />
        <result property="useKey"    column="useKey"    />
        <result property="isEnable"    column="isEnable"    />
        <result property="isLocked"    column="isLocked"    />
        <result property="bindName"    column="bindName"    />
    </resultMap>
	<sql id="selectCameraVo">
        select id, warehouseCode, companyCode, ip, port, userName, password, useKey, isEnable, isLocked,bindName from camera
    </sql>
    
</mapper>