lqc 4 лет назад
Родитель
Сommit
6d52037049

+ 3 - 2
src/main/java/com/mokamrp/privates/mapper/pangu/FosterwxCashWorkBoxClientInfoMapper.xml

@@ -4,7 +4,8 @@
 
 
     <!-- 通用查询映射结果 -->
     <!-- 通用查询映射结果 -->
     <resultMap id="BaseResultMap" type="com.mokamrp.privates.mapper.pangu.pojo.FosterwxCashWorkBoxClientInfo">
     <resultMap id="BaseResultMap" type="com.mokamrp.privates.mapper.pangu.pojo.FosterwxCashWorkBoxClientInfo">
-        <id column="ghid" property="ghid" />
+        <id column="id" property="id" />
+        <result column="ghid" property="ghid" />
         <result column="wxid" property="wxid" />
         <result column="wxid" property="wxid" />
         <result column="name" property="name" />
         <result column="name" property="name" />
         <result column="title" property="title" />
         <result column="title" property="title" />
@@ -20,7 +21,7 @@
 
 
     <!-- 通用查询结果列 -->
     <!-- 通用查询结果列 -->
     <sql id="Base_Column_List">
     <sql id="Base_Column_List">
-        ghid, wxid, name, title, enterpoint, headimg, image_key1, image_key2, image_key3, image_size, app_type, desc
+        id, ghid, wxid, name, title, enterpoint, headimg, image_key1, image_key2, image_key3, image_size, app_type, desc
     </sql>
     </sql>
     <select id="getList" resultType="com.mokamrp.privates.mapper.pangu.pojo.FosterwxCashWorkBoxClientInfo">
     <select id="getList" resultType="com.mokamrp.privates.mapper.pangu.pojo.FosterwxCashWorkBoxClientInfo">
         SELECT * FROM pan_fosterwx_cash_work_box_client_info
         SELECT * FROM pan_fosterwx_cash_work_box_client_info

+ 21 - 16
src/main/java/com/mokamrp/privates/mapper/pangu/pojo/FosterwxCashWorkBoxClientInfo.java

@@ -1,9 +1,11 @@
 package com.mokamrp.privates.mapper.pangu.pojo;
 package com.mokamrp.privates.mapper.pangu.pojo;
 
 
-import com.baomidou.mybatisplus.annotation.TableName;
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.extension.activerecord.Model;
+import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+
 import java.io.Serializable;
 import java.io.Serializable;
 
 
 /**
 /**
@@ -19,10 +21,12 @@ public class FosterwxCashWorkBoxClientInfo extends Model<FosterwxCashWorkBoxClie
 
 
     private static final long serialVersionUID = 1L;
     private static final long serialVersionUID = 1L;
 
 
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+
     /**
     /**
      * 小程序ghid
      * 小程序ghid
      */
      */
-      @TableId(value = "ghid", type = IdType.AUTO)
     private String ghid;
     private String ghid;
 
 
     /**
     /**
@@ -78,6 +82,7 @@ public class FosterwxCashWorkBoxClientInfo extends Model<FosterwxCashWorkBoxClie
     /**
     /**
      * 小程序分享的标题
      * 小程序分享的标题
      */
      */
+    @TableField("`desc`")
     private String desc;
     private String desc;
 
 
 
 
@@ -185,18 +190,18 @@ public class FosterwxCashWorkBoxClientInfo extends Model<FosterwxCashWorkBoxClie
     @Override
     @Override
     public String toString() {
     public String toString() {
         return "FosterwxCashWorkBoxClientInfo{" +
         return "FosterwxCashWorkBoxClientInfo{" +
-        "ghid=" + ghid +
-        ", wxid=" + wxid +
-        ", name=" + name +
-        ", title=" + title +
-        ", enterpoint=" + enterpoint +
-        ", headimg=" + headimg +
-        ", imageKey1=" + imageKey1 +
-        ", imageKey2=" + imageKey2 +
-        ", imageKey3=" + imageKey3 +
-        ", imageSize=" + imageSize +
-        ", appType=" + appType +
-        ", desc=" + desc +
-        "}";
+                "ghid=" + ghid +
+                ", wxid=" + wxid +
+                ", name=" + name +
+                ", title=" + title +
+                ", enterpoint=" + enterpoint +
+                ", headimg=" + headimg +
+                ", imageKey1=" + imageKey1 +
+                ", imageKey2=" + imageKey2 +
+                ", imageKey3=" + imageKey3 +
+                ", imageSize=" + imageSize +
+                ", appType=" + appType +
+                ", desc=" + desc +
+                "}";
     }
     }
 }
 }