全部
This commit is contained in:
26
src/main/resources/mapper/TsSourceMapper.xml
Normal file
26
src/main/resources/mapper/TsSourceMapper.xml
Normal file
@ -0,0 +1,26 @@
|
||||
<?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.yj.earth.business.mapper.TsSourceMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="BaseResultMap" type="com.yj.earth.business.domain.TsSource">
|
||||
<id column="id" property="id" />
|
||||
<result column="source_name" property="sourceName" />
|
||||
<result column="source_type" property="sourceType" />
|
||||
<result column="source_path" property="sourcePath" />
|
||||
<result column="parent_id" property="parentId" />
|
||||
<result column="tree_index" property="treeIndex" />
|
||||
<result column="is_show" property="isShow" />
|
||||
<result column="detail" property="detail" />
|
||||
<result column="params" property="params" />
|
||||
<result column="plan_id" property="planId" />
|
||||
<result column="created_at" property="createdAt" />
|
||||
<result column="updated_at" property="updatedAt" />
|
||||
</resultMap>
|
||||
|
||||
<!-- 通用查询结果列 -->
|
||||
<sql id="Base_Column_List">
|
||||
id, source_name, source_type, source_path, parent_id, tree_index, is_show, detail, params, plan_id, created_at, updated_at
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user