用户模块
This commit is contained in:
23
src/main/resources/mapper/ProjectDetailMapper.xml
Normal file
23
src/main/resources/mapper/ProjectDetailMapper.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?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.greenorange.promotion.mapper.ProjectDetailMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.greenorange.promotion.model.entity.ProjectDetail">
|
||||
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||
<result property="projectDetailName" column="projectDetailName" jdbcType="VARCHAR"/>
|
||||
<result property="projectSettlementPrice" column="projectSettlementPrice" jdbcType="DECIMAL"/>
|
||||
<result property="maxCommissionRate" column="maxCommissionRate" jdbcType="INTEGER"/>
|
||||
<result property="projectId" column="projectId" jdbcType="BIGINT"/>
|
||||
<result property="isDelete" column="isDelete" jdbcType="TINYINT"/>
|
||||
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,projectDetailName,projectSettlementPrice,
|
||||
maxCommissionRate,projectId,isDelete,
|
||||
createTime,updateTime
|
||||
</sql>
|
||||
</mapper>
|
22
src/main/resources/mapper/ProjectNotificationMapper.xml
Normal file
22
src/main/resources/mapper/ProjectNotificationMapper.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?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.greenorange.promotion.mapper.ProjectNotificationMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.greenorange.promotion.model.entity.ProjectNotification">
|
||||
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||
<result property="notificationTitle" column="notificationTitle" jdbcType="VARCHAR"/>
|
||||
<result property="notificationContent" column="notificationContent" jdbcType="VARCHAR"/>
|
||||
<result property="projectId" column="projectId" jdbcType="BIGINT"/>
|
||||
<result property="isDelete" column="isDelete" jdbcType="TINYINT"/>
|
||||
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,notificationTitle,notificationContent,
|
||||
projectId,isDelete,createTime,
|
||||
updateTime
|
||||
</sql>
|
||||
</mapper>
|
27
src/main/resources/mapper/UserMainInfoMapper.xml
Normal file
27
src/main/resources/mapper/UserMainInfoMapper.xml
Normal file
@ -0,0 +1,27 @@
|
||||
<?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.greenorange.promotion.mapper.UserMainInfoMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.greenorange.promotion.model.entity.UserMainInfo">
|
||||
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||
<result property="teamSize" column="teamSize" jdbcType="INTEGER"/>
|
||||
<result property="parentEarnings" column="parentEarnings" jdbcType="DECIMAL"/>
|
||||
<result property="currentBalance" column="currentBalance" jdbcType="DECIMAL"/>
|
||||
<result property="withdrawalAmount" column="withdrawalAmount" jdbcType="DECIMAL"/>
|
||||
<result property="withdrawnAmount" column="withdrawnAmount" jdbcType="DECIMAL"/>
|
||||
<result property="totalIncome" column="totalIncome" jdbcType="DECIMAL"/>
|
||||
<result property="userId" column="userId" jdbcType="BIGINT"/>
|
||||
<result property="isDelete" column="isDelete" jdbcType="TINYINT"/>
|
||||
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,teamSize,parentEarnings,
|
||||
currentBalance,withdrawalAmount,withdrawnAmount,
|
||||
totalIncome,userId,isDelete,
|
||||
createTime,updateTime
|
||||
</sql>
|
||||
</mapper>
|
Reference in New Issue
Block a user