阻止重复分配
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
<?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.fuyuanshen.modules.system.mapper.DeviceAssignmentsMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.fuyuanshen.modules.system.domain.DeviceAssignments">
|
||||
<id property="id" column="id" />
|
||||
<result property="deviceId" column="device_id" />
|
||||
<result property="fromCustomerId" column="from_customer_id" />
|
||||
<result property="toCustomerId" column="to_customer_id" />
|
||||
<result property="assignedAt" column="assigned_at" />
|
||||
<result property="deviceTypeGranted" column="device_type_granted" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,device_id,from_customer_id,to_customer_id,assigned_at,device_type_granted
|
||||
</sql>
|
||||
</mapper>
|
Reference in New Issue
Block a user