小程序首页模块自定义
This commit is contained in:
@@ -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">
|
||||
<!--mybatis-3-mapper.dtd:约束文件的名称,限制和检查在当前文件中出现的标签和属性符合mybatis的要求-->
|
||||
<!--namespace:命名空间,要有唯一的值,要求使用dao接口的权限定名称(一个dao接口对应一个mapper,namespace指明对应哪个dao接口)-->
|
||||
<mapper namespace="com.cool.store.mapper.HomeTemplateMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.entity.HomeTemplateDO">
|
||||
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="template_name" jdbcType="VARCHAR" property="templateName" />
|
||||
<result column="template_description" jdbcType="VARCHAR" property="templateDescription" />
|
||||
<result column="is_default" jdbcType="BIT" property="isDefault" />
|
||||
<result column="deleted" jdbcType="BIT" property="deleted" />
|
||||
<result column="mini_open_components_json" jdbcType="VARCHAR" property="miniOpenComponentsJson" />
|
||||
<result column="create_id" jdbcType="VARCHAR" property="createId" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_id" jdbcType="VARCHAR" property="updateId" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
|
||||
</resultMap>
|
||||
</mapper>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?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">
|
||||
<!--mybatis-3-mapper.dtd:约束文件的名称,限制和检查在当前文件中出现的标签和属性符合mybatis的要求-->
|
||||
<!--namespace:命名空间,要有唯一的值,要求使用dao接口的权限定名称(一个dao接口对应一个mapper,namespace指明对应哪个dao接口)-->
|
||||
<mapper namespace="com.cool.store.mapper.HomeTemplateUserMappingMapper">
|
||||
<resultMap id="BaseResultMapper" type="com.cool.store.entity.HomeTemplateUserMappingDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="template_id" jdbcType="BIGINT" property="templateId" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="create_id" jdbcType="VARCHAR" property="createId" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_id" jdbcType="VARCHAR" property="updateId" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
|
||||
</resultMap>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user