11 changed files with 126 additions and 70 deletions
@ -0,0 +1,20 @@ |
|||
<?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.kms.yg.znjg.mapper.SySceneDirRelationMapper"> |
|||
|
|||
<resultMap id="BaseResultMap" type="com.kms.yg.znjg.domain.SySceneDirRelation"> |
|||
<id property="id" column="id" jdbcType="VARCHAR"/> |
|||
<result property="sceneId" column="scene_id" jdbcType="VARCHAR"/> |
|||
<result property="dirId" column="dir_id" jdbcType="VARCHAR"/> |
|||
<result property="relateDate" column="relate_date" jdbcType="TIMESTAMP"/> |
|||
<result property="isValid" column="is_valid" jdbcType="INTEGER"/> |
|||
</resultMap> |
|||
|
|||
<sql id="Base_Column_List"> |
|||
id |
|||
,scene_id,dir_id, |
|||
layer_id,order_nm,is_valid |
|||
</sql> |
|||
</mapper> |
@ -1,20 +0,0 @@ |
|||
<?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.kms.yg.znjg.mapper.SySceneLayerRelationMapper"> |
|||
|
|||
<resultMap id="BaseResultMap" type="com.kms.yg.znjg.domain.SySceneLayerRelation"> |
|||
<id property="id" column="id" jdbcType="VARCHAR"/> |
|||
<result property="sceneId" column="scene_id" jdbcType="VARCHAR"/> |
|||
<result property="dirId" column="dir_id" jdbcType="VARCHAR"/> |
|||
<result property="layerId" column="layer_id" jdbcType="VARCHAR"/> |
|||
<result property="orderNm" column="order_nm" jdbcType="DECIMAL"/> |
|||
<result property="isValid" column="is_valid" jdbcType="INTEGER"/> |
|||
</resultMap> |
|||
|
|||
<sql id="Base_Column_List"> |
|||
id,scene_id,dir_id, |
|||
layer_id,order_nm,is_valid |
|||
</sql> |
|||
</mapper> |
Loading…
Reference in new issue