Pārlūkot izejas kodu

feat : 新增推广模块相关表

bilingfeng 2 gadi atpakaļ
vecāks
revīzija
e937ee53c7
19 mainītis faili ar 405 papildinājumiem un 168 dzēšanām
  1. 100 0
      game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/entity/PromoAccount.java
  2. 90 0
      game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/entity/PromoChannel.java
  3. 75 0
      game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/entity/PromoMedia.java
  4. 75 0
      game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/entity/PromoSite.java
  5. 0 9
      game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/mapper/OrderMapper.java
  6. 12 0
      game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/mapper/PromoAccountMapper.java
  7. 12 0
      game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/mapper/PromoChannelMapper.java
  8. 12 0
      game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/mapper/PromoMediaMapper.java
  9. 12 0
      game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/mapper/PromoSiteMapper.java
  10. 0 22
      game-module/game-mybatis/src/main/resources/mapper/GameStrategyMapper.xml
  11. 0 16
      game-module/game-mybatis/src/main/resources/mapper/LogPayCpMapper.xml
  12. 0 52
      game-module/game-mybatis/src/main/resources/mapper/OrderCompleteMapper.xml
  13. 0 48
      game-module/game-mybatis/src/main/resources/mapper/OrderMapper.xml
  14. 0 20
      game-module/game-mybatis/src/main/resources/mapper/PayApplicationMapper.xml
  15. 1 1
      game-module/game-mybatis/src/main/resources/mapper/PayBoxMapper.xml
  16. 4 0
      game-module/game-mybatis/src/main/resources/mapper/PromoAccountMapper.xml
  17. 4 0
      game-module/game-mybatis/src/main/resources/mapper/PromoChannelMapper.xml
  18. 4 0
      game-module/game-mybatis/src/main/resources/mapper/PromoMediaMapper.xml
  19. 4 0
      game-module/game-mybatis/src/main/resources/mapper/PromoSiteMapper.xml

+ 100 - 0
game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/entity/PromoAccount.java

@@ -0,0 +1,100 @@
+package com.zanxiang.mybatis.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.*;
+
+import java.time.LocalDateTime;
+
+/**
+ * @author : lingfeng
+ * @time : 2022-10-26
+ * @description : 推广账号
+ */
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+@ToString
+@Builder
+@TableName("t_promo_account")
+public class PromoAccount {
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 推广账号
+     */
+    private String account;
+
+    /**
+     * 推广账号名称
+     */
+    private String name;
+
+    /**
+     * 投手项目组
+     */
+    private String pitcherGroupId;
+
+    /**
+     * 投手项目组名称
+     */
+    private String pitcherGroupName;
+
+    /**
+     * 投手id
+     */
+    private String pitcherId;
+
+    /**
+     * 投手名称
+     */
+    private String pitcherName;
+
+    /**
+     * 推广媒体id
+     */
+    private Long mediaId;
+
+    /**
+     * 推广媒体名称
+     */
+    private String mediaName;
+
+    /**
+     * 推广账号类型
+     */
+    private String accountType;
+
+    /**
+     * 备注
+     */
+    private String remark;
+
+    /**
+     * 状态, 0 : 可用, 1: 禁用
+     */
+    private Integer status;
+
+    /**
+     * 1:删除,0: 正常
+     */
+    @TableLogic
+    private Integer isDelete;
+
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createTime;
+
+    /**
+     * 更新时间
+     */
+    private LocalDateTime updateTime;
+}

+ 90 - 0
game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/entity/PromoChannel.java

@@ -0,0 +1,90 @@
+package com.zanxiang.mybatis.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.*;
+
+import java.util.Date;
+
+/**
+ * @author : lingfeng
+ * @time : 2022-10-26
+ * @description : 推广渠道
+ */
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+@ToString
+@Builder
+@TableName("t_promo_channel")
+public class PromoChannel {
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 推广账号主键id
+     */
+    private String accountId;
+
+    /**
+     * 推广媒体id
+     */
+    private Long mediaId;
+
+    /**
+     * 推广媒体名称
+     */
+    private String mediaName;
+
+    /**
+     * 服务商
+     */
+    private String provider;
+
+    /**
+     * 游戏id
+     */
+    private Long gameId;
+
+    /**
+     * 二维码
+     */
+    private String code;
+
+    /**
+     * 推广路径
+     */
+    private String path;
+
+    /**
+     * 渠道
+     */
+    private String channel;
+
+    /**
+     * 状态, 0 : 可用, 1: 禁用
+     */
+    private Integer status;
+
+    /**
+     * 1:删除,0: 正常
+     */
+    @TableLogic
+    private Integer isDelete;
+
+    /**
+     * 创建时间
+     */
+    private Date createTime;
+
+    /**
+     * 更新时间
+     */
+    private Date updateTime;
+}

+ 75 - 0
game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/entity/PromoMedia.java

@@ -0,0 +1,75 @@
+package com.zanxiang.mybatis.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.*;
+
+import java.util.Date;
+
+/**
+ * @author : lingfeng
+ * @time : 2022-10-26
+ * @description : 推广媒体
+ */
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+@ToString
+@Builder
+@TableName("t_promo_media")
+public class PromoMedia {
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 推广媒体
+     */
+    private String name;
+
+    /**
+     * 推广媒体类型
+     */
+    private String type;
+
+    /**
+     * 地址
+     */
+    private String address;
+
+    /**
+     * 公司
+     */
+    private String company;
+
+    /**
+     * 状态, 0 : 可用, 1: 禁用
+     */
+    private Integer status;
+
+    /**
+     * 备注
+     */
+    private String remark;
+
+    /**
+     * 1:删除,0: 正常
+     */
+    @TableLogic
+    private Integer isDelete;
+
+    /**
+     * 创建时间
+     */
+    private Date createTime;
+
+    /**
+     * 更新时间
+     */
+    private Date updateTime;
+}

+ 75 - 0
game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/entity/PromoSite.java

@@ -0,0 +1,75 @@
+package com.zanxiang.mybatis.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.*;
+
+import java.util.Date;
+
+/**
+ * @author : lingfeng
+ * @time : 2022-10-26
+ * @description : 推广版位
+ */
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+@ToString
+@Builder
+@TableName("t_promo_site")
+public class PromoSite {
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 推广媒体id
+     */
+    private Long mediaId;
+
+    /**
+     * 推广媒体名称
+     */
+    private String mediaName;
+
+    /**
+     * 媒体版位
+     */
+    private String plateSite;
+
+    /**
+     * 媒体位置
+     */
+    private String mediaSite;
+
+    /**
+     * 备注
+     */
+    private String remark;
+
+    /**
+     * 状态, 0 : 可用, 1: 禁用
+     */
+    private Integer status;
+
+    /**
+     * 1:删除,0: 正常
+     */
+    @TableLogic
+    private Integer isDelete;
+
+    /**
+     * 创建时间
+     */
+    private Date createTime;
+
+    /**
+     * 更新时间
+     */
+    private Date updateTime;
+}

+ 0 - 9
game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/mapper/OrderMapper.java

@@ -2,20 +2,11 @@ package com.zanxiang.mybatis.mapper;
 
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.zanxiang.mybatis.entity.Order;
-import org.springframework.transaction.annotation.Transactional;
 
 /**
  * @author : lingfeng
  * @time : 2022-06-06
  * @description : ${description}
  */
-@Transactional
 public interface OrderMapper extends BaseMapper<Order> {
-    /**
-     * 根据主键id查询
-     *
-     * @param id
-     * @return 记录信息
-     */
-    Order selectByPrimaryKey(Long id);
 }

+ 12 - 0
game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/mapper/PromoAccountMapper.java

@@ -0,0 +1,12 @@
+package com.zanxiang.mybatis.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.zanxiang.mybatis.entity.PromoAccount;
+
+/**
+ * @author : lingfeng
+ * @time : 2022-10-26
+ * @description : ${description}
+ */
+public interface PromoAccountMapper extends BaseMapper<PromoAccount> {
+}

+ 12 - 0
game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/mapper/PromoChannelMapper.java

@@ -0,0 +1,12 @@
+package com.zanxiang.mybatis.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.zanxiang.mybatis.entity.PromoChannel;
+
+/**
+ * @author : lingfeng
+ * @time : 2022-10-26
+ * @description : ${description}
+ */
+public interface PromoChannelMapper extends BaseMapper<PromoChannel> {
+}

+ 12 - 0
game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/mapper/PromoMediaMapper.java

@@ -0,0 +1,12 @@
+package com.zanxiang.mybatis.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.zanxiang.mybatis.entity.PromoMedia;
+
+/**
+ * @author : lingfeng
+ * @time : 2022-10-26
+ * @description : ${description}
+ */
+public interface PromoMediaMapper extends BaseMapper<PromoMedia> {
+}

+ 12 - 0
game-module/game-mybatis/src/main/java/com/zanxiang/mybatis/mapper/PromoSiteMapper.java

@@ -0,0 +1,12 @@
+package com.zanxiang.mybatis.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.zanxiang.mybatis.entity.PromoSite;
+
+/**
+ * @author : lingfeng
+ * @time : 2022-10-26
+ * @description : ${description}
+ */
+public interface PromoSiteMapper extends BaseMapper<PromoSite> {
+}

+ 0 - 22
game-module/game-mybatis/src/main/resources/mapper/GameStrategyMapper.xml

@@ -1,26 +1,4 @@
 <?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.zanxiang.mybatis.mapper.GameStrategyMapper">
-    <resultMap id="BaseResultMap" type="com.zanxiang.mybatis.entity.GameStrategy">
-        <id column="id" jdbcType="BIGINT" property="id"/>
-        <result column="name" jdbcType="VARCHAR" property="name"/>
-        <result column="type" jdbcType="TINYINT" property="type"/>
-        <result column="game_id" jdbcType="BIGINT" property="gameId"/>
-        <result column="is_delete" jdbcType="TINYINT" property="isDelete"/>
-        <result column="status" jdbcType="TINYINT" property="status"/>
-        <result column="channel" jdbcType="BIGINT" property="channel"/>
-        <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
-        <result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
-    </resultMap>
-    <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.zanxiang.mybatis.entity.GameStrategy">
-        <result column="config" jdbcType="LONGVARCHAR" property="config"/>
-    </resultMap>
-    <sql id="Base_Column_List">
-        id
-        , name, type, game_id, is_delete, status, channel,
-	create_time, update_time
-    </sql>
-    <sql id="Blob_Column_List">
-        config
-    </sql>
 </mapper>

+ 0 - 16
game-module/game-mybatis/src/main/resources/mapper/LogPayCpMapper.xml

@@ -1,20 +1,4 @@
 <?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.zanxiang.mybatis.mapper.LogPayCpMapper">
-    <resultMap id="BaseResultMap" type="com.zanxiang.mybatis.entity.LogPayCp">
-        <id column="id" jdbcType="BIGINT" property="id"/>
-        <result column="order_id" jdbcType="VARCHAR" property="orderId"/>
-        <result column="cp_order_id" jdbcType="VARCHAR" property="cpOrderId"/>
-        <result column="status" jdbcType="TINYINT" property="status"/>
-        <result column="cp_status" jdbcType="TINYINT" property="cpStatus"/>
-        <result column="cp_payback_url" jdbcType="VARCHAR" property="cpPaybackUrl"/>
-        <result column="params" jdbcType="VARCHAR" property="params"/>
-        <result column="ext" jdbcType="VARCHAR" property="ext"/>
-        <result column="notify_cnt" jdbcType="INTEGER" property="notifyCnt"/>
-    </resultMap>
-    <sql id="Base_Column_List">
-        id
-        , order_id, cp_order_id, status, cp_status, cp_payback_url,
-	params, ext, notify_cnt
-    </sql>
 </mapper>

+ 0 - 52
game-module/game-mybatis/src/main/resources/mapper/OrderCompleteMapper.xml

@@ -1,56 +1,4 @@
 <?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.zanxiang.mybatis.mapper.OrderCompleteMapper">
-
-  <resultMap id="BaseResultMap" type="com.zanxiang.mybatis.entity.OrderComplete">
-    <id column="order_id" jdbcType="BIGINT" property="orderId"/>
-    <result column="game_id" jdbcType="BIGINT" property="gameId"/>
-    <result column="is_delete" jdbcType="TINYINT" property="isDelete"/>
-    <result column="order_date" jdbcType="DATE" property="orderDate"/>
-    <result column="cp_order_id" jdbcType="VARCHAR" property="cpOrderId"/>
-    <result column="merchant_order_no" jdbcType="VARCHAR" property="merchantOrderNo"/>
-    <result column="user_id" jdbcType="BIGINT" property="userId"/>
-    <result column="user_account" jdbcType="VARCHAR" property="userAccount"/>
-    <result column="user_register_time" jdbcType="TIMESTAMP" property="userRegisterTime"/>
-    <result column="user_register_game" jdbcType="VARCHAR" property="userRegisterGame"/>
-    <result column="user_register_game_ classify" jdbcType="BIGINT" property="userRegisterGame classify"/>
-    <result column="user_register_channel" jdbcType="VARCHAR" property="userRegisterChannel"/>
-    <result column="cp_id" jdbcType="BIGINT" property="cpId"/>
-    <result column="agent_id" jdbcType="VARCHAR" property="agentId"/>
-    <result column="agent_account" jdbcType="VARCHAR" property="agentAccount"/>
-    <result column="agent_media" jdbcType="VARCHAR" property="agentMedia"/>
-    <result column="agent_advert" jdbcType="VARCHAR" property="agentAdvert"/>
-    <result column="product_name" jdbcType="VARCHAR" property="productName"/>
-    <result column="order_amount" jdbcType="DECIMAL" property="orderAmount"/>
-    <result column="real_amount" jdbcType="DECIMAL" property="realAmount"/>
-    <result column="pay_way" jdbcType="VARCHAR" property="payWay"/>
-    <result column="pay_device" jdbcType="VARCHAR" property="payDevice"/>
-    <result column="merchant_no" jdbcType="VARCHAR" property="merchantNo"/>
-    <result column="merchant_name" jdbcType="VARCHAR" property="merchantName"/>
-    <result column="game_regional" jdbcType="VARCHAR" property="gameRegional"/>
-    <result column="game_role" jdbcType="VARCHAR" property="gameRole"/>
-    <result column="game_level" jdbcType="VARCHAR" property="gameLevel"/>
-    <result column="game_vip" jdbcType="VARCHAR" property="gameVip"/>
-    <result column="from_device" jdbcType="VARCHAR" property="fromDevice"/>
-    <result column="is_switch" jdbcType="TINYINT" property="isSwitch"/>
-    <result column="pay_time" jdbcType="TIMESTAMP" property="payTime"/>
-    <result column="end_time" jdbcType="VARCHAR" property="endTime"/>
-    <result column="last_cp_notify_time" jdbcType="TIMESTAMP" property="lastCpNotifyTime"/>
-    <result column="status" jdbcType="TINYINT" property="status"/>
-    <result column="cp_status" jdbcType="TINYINT" property="cpStatus"/>
-    <result column="is_first_recharge" jdbcType="TINYINT" property="isFirstRecharge"/>
-    <result column="advert_notify_status" jdbcType="TINYINT" property="advertNotifyStatus"/>
-    <result column="advert_notify_type" jdbcType="TINYINT" property="advertNotifyType"/>
-    <result column="channel" jdbcType="BIGINT" property="channel"/>
-    <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
-    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
-  </resultMap>
-  <sql id="Base_Column_List">
-    order_id, game_id, is_delete, order_date, cp_order_id, merchant_order_no, user_id, 
-	user_account, user_register_time, user_register_game, user_register_game_ classify, user_register_channel, cp_id, agent_id, 
-	agent_account, agent_media, agent_advert, product_name, order_amount, real_amount, pay_way, 
-	pay_device, merchant_no, merchant_name, game_regional, game_role, game_level, game_vip, 
-	from_device, is_switch, pay_time, end_time, last_cp_notify_time, status, cp_status, 
-	is_first_recharge, advert_notify_status, advert_notify_type, channel, create_time, update_time
-  </sql>
 </mapper>

+ 0 - 48
game-module/game-mybatis/src/main/resources/mapper/OrderMapper.xml

@@ -1,52 +1,4 @@
 <?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.zanxiang.mybatis.mapper.OrderMapper">
-    <resultMap id="BaseResultMap" type="com.zanxiang.mybatis.entity.Order">
-        <id column="id" jdbcType="BIGINT" property="id"/>
-        <result column="cp_id" jdbcType="BIGINT" property="cpId"/>
-        <result column="cp_order_id" jdbcType="VARCHAR" property="cpOrderId"/>
-        <result column="user_id" jdbcType="BIGINT" property="userId"/>
-        <result column="mg_user_id" jdbcType="BIGINT" property="mgUserId"/>
-        <result column="game_id" jdbcType="BIGINT" property="gameId"/>
-        <result column="amount" jdbcType="DECIMAL" property="amount"/>
-        <result column="real_amount" jdbcType="DECIMAL" property="realAmount"/>
-        <result column="product_id" jdbcType="VARCHAR" property="productId"/>
-        <result column="product_cnt" jdbcType="INTEGER" property="productCnt"/>
-        <result column="product_name" jdbcType="VARCHAR" property="productName"/>
-        <result column="coupon_amount" jdbcType="DECIMAL" property="couponAmount"/>
-        <result column="ptb_amount" jdbcType="DECIMAL" property="ptbAmount"/>
-        <result column="gm_amount" jdbcType="DECIMAL" property="gmAmount"/>
-        <result column="integral" jdbcType="INTEGER" property="integral"/>
-        <result column="integral_money" jdbcType="DECIMAL" property="integralMoney"/>
-        <result column="rebate_amount" jdbcType="DECIMAL" property="rebateAmount"/>
-        <result column="merchant_order_no" jdbcType="VARCHAR" property="merchantOrderNo"/>
-        <result column="status" jdbcType="TINYINT" property="status"/>
-        <result column="game_payway_id" jdbcType="VARCHAR" property="gamePaywayId"/>
-        <result column="pay_time" jdbcType="TIMESTAMP" property="payTime"/>
-        <result column="cp_notify_cnt" jdbcType="INTEGER" property="cpNotifyCnt"/>
-        <result column="last_cp_notify_time" jdbcType="TIMESTAMP" property="lastCpNotifyTime"/>
-        <result column="is_handle" jdbcType="TINYINT" property="isHandle"/>
-        <result column="is_distribute" jdbcType="TINYINT" property="isDistribute"/>
-        <result column="cp_status" jdbcType="TINYINT" property="cpStatus"/>
-        <result column="ext" jdbcType="VARCHAR" property="ext"/>
-        <result column="mem_note" jdbcType="VARCHAR" property="memNote"/>
-        <result column="admin_note" jdbcType="VARCHAR" property="adminNote"/>
-        <result column="remark" jdbcType="VARCHAR" property="remark"/>
-        <result column="channel" jdbcType="BIGINT" property="channel"/>
-    </resultMap>
-    <sql id="Base_Column_List">
-        id
-        , cp_id, cp_order_id, user_id, mg_user_id, game_id, amount,
-	real_amount, product_id, product_cnt, product_name, coupon_amount, ptb_amount, gm_amount,
-	integral, integral_money, rebate_amount, merchant_order_no, status, game_payway_id, pay_time,
-	cp_notify_cnt, last_cp_notify_time, is_handle, is_distribute, cp_status, ext, mem_note,
-	admin_note, remark, channel, create_time, update_time
-    </sql>
-
-    <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
-        select
-        <include refid="Base_Column_List"/>
-        from h_order
-        where id = #{id,jdbcType=BIGINT}
-    </select>
 </mapper>

+ 0 - 20
game-module/game-mybatis/src/main/resources/mapper/PayApplicationMapper.xml

@@ -1,24 +1,4 @@
 <?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.zanxiang.mybatis.mapper.PayApplicationMapper">
-  <resultMap id="BaseResultMap" type="com.zanxiang.mybatis.entity.PayApplication">
-    <id column="id" jdbcType="BIGINT" property="id"/>
-    <result column="name" jdbcType="VARCHAR" property="name"/>
-    <result column="type" jdbcType="TINYINT" property="type"/>
-    <result column="app_id" jdbcType="VARCHAR" property="appId"/>
-    <result column="primeval_id" jdbcType="VARCHAR" property="primevalId"/>
-    <result column="company" jdbcType="VARCHAR" property="company"/>
-    <result column="login_name" jdbcType="VARCHAR" property="loginName"/>
-    <result column="login_password" jdbcType="VARCHAR" property="loginPassword"/>
-    <result column="manage_person" jdbcType="VARCHAR" property="managePerson"/>
-    <result column="remark" jdbcType="VARCHAR" property="remark"/>
-    <result column="status" jdbcType="TINYINT" property="status"/>
-    <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
-    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
-  </resultMap>
-  <sql id="Base_Column_List">
-    id
-    , name, type, app_id, primeval_id, company, login_name,
-	login_password, manage_person, remark, status, create_time, update_time
-  </sql>
 </mapper>

+ 1 - 1
game-module/game-mybatis/src/main/resources/mapper/PayBoxMapper.xml

@@ -8,7 +8,7 @@
         <result column="pay_application_id" jdbcType="INTEGER" property="payApplicationId"/>
         <result column="pay_merchant_id" jdbcType="VARCHAR" property="payMerchantId"/>
         <result column="type" jdbcType="TINYINT" property="type"/>
-        <result column="desc" jdbcType="VARCHAR" property="desc"/>
+        <result column="desc" jdbcType="VARCHAR" property="remark"/>
         <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
         <result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
     </resultMap>

+ 4 - 0
game-module/game-mybatis/src/main/resources/mapper/PromoAccountMapper.xml

@@ -0,0 +1,4 @@
+<?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.zanxiang.mybatis.mapper.PromoAccountMapper">
+</mapper>

+ 4 - 0
game-module/game-mybatis/src/main/resources/mapper/PromoChannelMapper.xml

@@ -0,0 +1,4 @@
+<?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.zanxiang.mybatis.mapper.PromoChannelMapper">
+</mapper>

+ 4 - 0
game-module/game-mybatis/src/main/resources/mapper/PromoMediaMapper.xml

@@ -0,0 +1,4 @@
+<?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.zanxiang.mybatis.mapper.PromoMediaMapper">
+</mapper>

+ 4 - 0
game-module/game-mybatis/src/main/resources/mapper/PromoSiteMapper.xml

@@ -0,0 +1,4 @@
+<?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.zanxiang.mybatis.mapper.PromoSiteMapper">
+</mapper>