Selaa lähdekoodia

feat:重新生成实体类

zhaohaipeng 1 kuukausi sitten
vanhempi
commit
ea4e5531c1

+ 11 - 11
risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/dao/mapper/UserBaseMapper.java

@@ -10,7 +10,7 @@ public interface UserBaseMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     long countByExample(UserBaseExample example);
 
@@ -18,7 +18,7 @@ public interface UserBaseMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     int deleteByExample(UserBaseExample example);
 
@@ -26,7 +26,7 @@ public interface UserBaseMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     int deleteByPrimaryKey(Long id);
 
@@ -34,7 +34,7 @@ public interface UserBaseMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     int insert(UserBase record);
 
@@ -42,7 +42,7 @@ public interface UserBaseMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     int insertSelective(UserBase record);
 
@@ -50,7 +50,7 @@ public interface UserBaseMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     List<UserBase> selectByExample(UserBaseExample example);
 
@@ -58,7 +58,7 @@ public interface UserBaseMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     UserBase selectByPrimaryKey(Long id);
 
@@ -66,7 +66,7 @@ public interface UserBaseMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     int updateByExampleSelective(@Param("record") UserBase record, @Param("example") UserBaseExample example);
 
@@ -74,7 +74,7 @@ public interface UserBaseMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     int updateByExample(@Param("record") UserBase record, @Param("example") UserBaseExample example);
 
@@ -82,7 +82,7 @@ public interface UserBaseMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     int updateByPrimaryKeySelective(UserBase record);
 
@@ -90,7 +90,7 @@ public interface UserBaseMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     int updateByPrimaryKey(UserBase record);
 }

+ 118 - 46
risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/model/po/UserBase.java

@@ -13,7 +13,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.id
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private Long id;
 
@@ -24,7 +24,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.uuid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private String uuid;
 
@@ -35,7 +35,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.vid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private String vid;
 
@@ -46,7 +46,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.mobile
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private String mobile;
 
@@ -57,7 +57,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.realname
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private String realname;
 
@@ -68,7 +68,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.english_name
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private String englishName;
 
@@ -79,7 +79,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.avatar
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private String avatar;
 
@@ -90,7 +90,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.login_status
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private Integer loginStatus;
 
@@ -101,7 +101,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.corp_id
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private Long corpId;
 
@@ -112,7 +112,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.corp_name
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private String corpName;
 
@@ -123,7 +123,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.unionid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private String unionid;
 
@@ -134,7 +134,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.acctid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private String acctid;
 
@@ -145,10 +145,32 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.position
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private String position;
 
+    /**
+     * Database Column Remarks:
+     *   创建人
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column qywx_user_base.create_user
+     *
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
+     */
+    private Long createUser;
+
+    /**
+     * Database Column Remarks:
+     *   更新人
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column qywx_user_base.update_user
+     *
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
+     */
+    private Long updateUser;
+
     /**
      * Database Column Remarks:
      *   创建时间
@@ -156,7 +178,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.create_time
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private Date createTime;
 
@@ -167,7 +189,7 @@ public class UserBase {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column qywx_user_base.update_time
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     private Date updateTime;
 
@@ -177,7 +199,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.id
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public Long getId() {
         return id;
@@ -189,7 +211,7 @@ public class UserBase {
      *
      * @param id the value for qywx_user_base.id
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setId(Long id) {
         this.id = id;
@@ -201,7 +223,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.uuid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public String getUuid() {
         return uuid;
@@ -213,7 +235,7 @@ public class UserBase {
      *
      * @param uuid the value for qywx_user_base.uuid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setUuid(String uuid) {
         this.uuid = uuid;
@@ -225,7 +247,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.vid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public String getVid() {
         return vid;
@@ -237,7 +259,7 @@ public class UserBase {
      *
      * @param vid the value for qywx_user_base.vid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setVid(String vid) {
         this.vid = vid;
@@ -249,7 +271,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.mobile
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public String getMobile() {
         return mobile;
@@ -261,7 +283,7 @@ public class UserBase {
      *
      * @param mobile the value for qywx_user_base.mobile
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setMobile(String mobile) {
         this.mobile = mobile;
@@ -273,7 +295,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.realname
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public String getRealname() {
         return realname;
@@ -285,7 +307,7 @@ public class UserBase {
      *
      * @param realname the value for qywx_user_base.realname
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setRealname(String realname) {
         this.realname = realname;
@@ -297,7 +319,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.english_name
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public String getEnglishName() {
         return englishName;
@@ -309,7 +331,7 @@ public class UserBase {
      *
      * @param englishName the value for qywx_user_base.english_name
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setEnglishName(String englishName) {
         this.englishName = englishName;
@@ -321,7 +343,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.avatar
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public String getAvatar() {
         return avatar;
@@ -333,7 +355,7 @@ public class UserBase {
      *
      * @param avatar the value for qywx_user_base.avatar
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setAvatar(String avatar) {
         this.avatar = avatar;
@@ -345,7 +367,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.login_status
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public Integer getLoginStatus() {
         return loginStatus;
@@ -357,7 +379,7 @@ public class UserBase {
      *
      * @param loginStatus the value for qywx_user_base.login_status
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setLoginStatus(Integer loginStatus) {
         this.loginStatus = loginStatus;
@@ -369,7 +391,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.corp_id
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public Long getCorpId() {
         return corpId;
@@ -381,7 +403,7 @@ public class UserBase {
      *
      * @param corpId the value for qywx_user_base.corp_id
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setCorpId(Long corpId) {
         this.corpId = corpId;
@@ -393,7 +415,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.corp_name
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public String getCorpName() {
         return corpName;
@@ -405,7 +427,7 @@ public class UserBase {
      *
      * @param corpName the value for qywx_user_base.corp_name
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setCorpName(String corpName) {
         this.corpName = corpName;
@@ -417,7 +439,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.unionid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public String getUnionid() {
         return unionid;
@@ -429,7 +451,7 @@ public class UserBase {
      *
      * @param unionid the value for qywx_user_base.unionid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setUnionid(String unionid) {
         this.unionid = unionid;
@@ -441,7 +463,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.acctid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public String getAcctid() {
         return acctid;
@@ -453,7 +475,7 @@ public class UserBase {
      *
      * @param acctid the value for qywx_user_base.acctid
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setAcctid(String acctid) {
         this.acctid = acctid;
@@ -465,7 +487,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.position
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public String getPosition() {
         return position;
@@ -477,19 +499,67 @@ public class UserBase {
      *
      * @param position the value for qywx_user_base.position
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setPosition(String position) {
         this.position = position;
     }
 
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column qywx_user_base.create_user
+     *
+     * @return the value of qywx_user_base.create_user
+     *
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
+     */
+    public Long getCreateUser() {
+        return createUser;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column qywx_user_base.create_user
+     *
+     * @param createUser the value for qywx_user_base.create_user
+     *
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
+     */
+    public void setCreateUser(Long createUser) {
+        this.createUser = createUser;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column qywx_user_base.update_user
+     *
+     * @return the value of qywx_user_base.update_user
+     *
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
+     */
+    public Long getUpdateUser() {
+        return updateUser;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column qywx_user_base.update_user
+     *
+     * @param updateUser the value for qywx_user_base.update_user
+     *
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
+     */
+    public void setUpdateUser(Long updateUser) {
+        this.updateUser = updateUser;
+    }
+
     /**
      * This method was generated by MyBatis Generator.
      * This method returns the value of the database column qywx_user_base.create_time
      *
      * @return the value of qywx_user_base.create_time
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public Date getCreateTime() {
         return createTime;
@@ -501,7 +571,7 @@ public class UserBase {
      *
      * @param createTime the value for qywx_user_base.create_time
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setCreateTime(Date createTime) {
         this.createTime = createTime;
@@ -513,7 +583,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.update_time
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public Date getUpdateTime() {
         return updateTime;
@@ -525,7 +595,7 @@ public class UserBase {
      *
      * @param updateTime the value for qywx_user_base.update_time
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setUpdateTime(Date updateTime) {
         this.updateTime = updateTime;
@@ -535,7 +605,7 @@ public class UserBase {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     @Override
     public String toString() {
@@ -556,6 +626,8 @@ public class UserBase {
         sb.append(", unionid=").append(unionid);
         sb.append(", acctid=").append(acctid);
         sb.append(", position=").append(position);
+        sb.append(", createUser=").append(createUser);
+        sb.append(", updateUser=").append(updateUser);
         sb.append(", createTime=").append(createTime);
         sb.append(", updateTime=").append(updateTime);
         sb.append("]");

+ 140 - 20
risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/model/po/UserBaseExample.java

@@ -10,7 +10,7 @@ public class UserBaseExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     protected String orderByClause;
 
@@ -18,7 +18,7 @@ public class UserBaseExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     protected boolean distinct;
 
@@ -26,7 +26,7 @@ public class UserBaseExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     protected List<Criteria> oredCriteria;
 
@@ -34,7 +34,7 @@ public class UserBaseExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     protected Page page;
 
@@ -42,7 +42,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public UserBaseExample() {
         oredCriteria = new ArrayList<Criteria>();
@@ -52,7 +52,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setOrderByClause(String orderByClause) {
         this.orderByClause = orderByClause;
@@ -62,7 +62,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public String getOrderByClause() {
         return orderByClause;
@@ -72,7 +72,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setDistinct(boolean distinct) {
         this.distinct = distinct;
@@ -82,7 +82,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public boolean isDistinct() {
         return distinct;
@@ -92,7 +92,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public List<Criteria> getOredCriteria() {
         return oredCriteria;
@@ -102,7 +102,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void or(Criteria criteria) {
         oredCriteria.add(criteria);
@@ -112,7 +112,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public Criteria or() {
         Criteria criteria = createCriteriaInternal();
@@ -124,7 +124,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public Criteria createCriteria() {
         Criteria criteria = createCriteriaInternal();
@@ -138,7 +138,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     protected Criteria createCriteriaInternal() {
         Criteria criteria = new Criteria();
@@ -149,7 +149,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void clear() {
         oredCriteria.clear();
@@ -161,7 +161,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public void setPage(Page page) {
         this.page=page;
@@ -171,7 +171,7 @@ public class UserBaseExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public Page getPage() {
         return page;
@@ -181,7 +181,7 @@ public class UserBaseExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     protected abstract static class GeneratedCriteria {
         protected List<Criterion> criteria;
@@ -1104,6 +1104,126 @@ public class UserBaseExample {
             return (Criteria) this;
         }
 
+        public Criteria andCreateUserIsNull() {
+            addCriterion("create_user is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateUserIsNotNull() {
+            addCriterion("create_user is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateUserEqualTo(Long value) {
+            addCriterion("create_user =", value, "createUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateUserNotEqualTo(Long value) {
+            addCriterion("create_user <>", value, "createUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateUserGreaterThan(Long value) {
+            addCriterion("create_user >", value, "createUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateUserGreaterThanOrEqualTo(Long value) {
+            addCriterion("create_user >=", value, "createUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateUserLessThan(Long value) {
+            addCriterion("create_user <", value, "createUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateUserLessThanOrEqualTo(Long value) {
+            addCriterion("create_user <=", value, "createUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateUserIn(List<Long> values) {
+            addCriterion("create_user in", values, "createUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateUserNotIn(List<Long> values) {
+            addCriterion("create_user not in", values, "createUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateUserBetween(Long value1, Long value2) {
+            addCriterion("create_user between", value1, value2, "createUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andCreateUserNotBetween(Long value1, Long value2) {
+            addCriterion("create_user not between", value1, value2, "createUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserIsNull() {
+            addCriterion("update_user is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserIsNotNull() {
+            addCriterion("update_user is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserEqualTo(Long value) {
+            addCriterion("update_user =", value, "updateUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserNotEqualTo(Long value) {
+            addCriterion("update_user <>", value, "updateUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserGreaterThan(Long value) {
+            addCriterion("update_user >", value, "updateUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserGreaterThanOrEqualTo(Long value) {
+            addCriterion("update_user >=", value, "updateUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserLessThan(Long value) {
+            addCriterion("update_user <", value, "updateUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserLessThanOrEqualTo(Long value) {
+            addCriterion("update_user <=", value, "updateUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserIn(List<Long> values) {
+            addCriterion("update_user in", values, "updateUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserNotIn(List<Long> values) {
+            addCriterion("update_user not in", values, "updateUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserBetween(Long value1, Long value2) {
+            addCriterion("update_user between", value1, value2, "updateUser");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateUserNotBetween(Long value1, Long value2) {
+            addCriterion("update_user not between", value1, value2, "updateUser");
+            return (Criteria) this;
+        }
+
         public Criteria andCreateTimeIsNull() {
             addCriterion("create_time is null");
             return (Criteria) this;
@@ -1229,7 +1349,7 @@ public class UserBaseExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table qywx_user_base
      *
-     * @mbg.generated do_not_delete_during_merge Thu May 22 19:58:32 CST 2025
+     * @mbg.generated do_not_delete_during_merge Thu May 22 20:07:47 CST 2025
      */
     public static class Criteria extends GeneratedCriteria {
 
@@ -1242,7 +1362,7 @@ public class UserBaseExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table qywx_user_base
      *
-     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     * @mbg.generated Thu May 22 20:07:47 CST 2025
      */
     public static class Criterion {
         private String condition;

+ 36 - 9
risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/service/impl/QwLoginServiceImpl.java

@@ -1,8 +1,11 @@
 package com.tzld.piaoquan.risk.control.service.impl;
 
 import com.alibaba.fastjson.JSON;
+import com.tzld.piaoquan.risk.control.config.LoginUserContext;
 import com.tzld.piaoquan.risk.control.config.QywxConfig;
+import com.tzld.piaoquan.risk.control.dao.mapper.UserBaseMapper;
 import com.tzld.piaoquan.risk.control.model.po.UserBase;
+import com.tzld.piaoquan.risk.control.model.po.UserBaseExample;
 import com.tzld.piaoquan.risk.control.model.qywx.QwCommonResModel;
 import com.tzld.piaoquan.risk.control.model.qywx.QwInitResponseModel;
 import com.tzld.piaoquan.risk.control.model.qywx.QwLoginCheckCode;
@@ -10,7 +13,7 @@ import com.tzld.piaoquan.risk.control.model.qywx.QwLoginQRCodeModel;
 import com.tzld.piaoquan.risk.control.service.QwLoginService;
 import com.tzld.piaoquan.risk.control.util.HttpClientUtil;
 import com.tzld.piaoquan.risk.control.util.HttpPoolClient;
-import org.apache.http.util.TextUtils;
+import org.apache.commons.collections4.CollectionUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -18,6 +21,7 @@ import org.springframework.beans.factory.annotation.Value;
 import org.springframework.stereotype.Service;
 
 import java.util.HashMap;
+import java.util.List;
 import java.util.Map;
 import java.util.Optional;
 
@@ -31,13 +35,14 @@ public class QwLoginServiceImpl implements QwLoginService {
     @Value("${qwcallback.url}")
     private String qwCallbackUrl;
     private static final Logger LOGGER = LoggerFactory.getLogger(QwLoginServiceImpl.class);
+    private UserBaseMapper userBaseMapper;
 
     @Override
-    public QwCommonResModel<QwLoginQRCodeModel> getLoginQRCode(String vid,String platformPhone) {
+    public QwCommonResModel<QwLoginQRCodeModel> getLoginQRCode(String vid, String platformPhone) {
 //        UserBase user = qwUserService.getUserByMobile(platformPhone);
         String uuid = "";
-        uuid  = initUUID(vid);
-        //TODO 写入平台库表:platformPhone关联的uuid
+        uuid = initUUID(vid);
+        // TODO 写入平台库表:platformPhone关联的uuid
         LOGGER.info("getLoginQRCode,uuid: {}", uuid);
         System.out.println("getLoginQRCode,uuid: " + uuid);
         setCallback(uuid);
@@ -58,7 +63,7 @@ public class QwLoginServiceImpl implements QwLoginService {
     @Override
     public int checkQRCode(QwLoginCheckCode checkQrcode) {
         String url = qywxConfig.getDomain() + qywxConfig.getPath("login-checkcode");
-        Optional<String> response =  httpPoolClientDefault.postJson(url, JSON.toJSONString(checkQrcode));
+        Optional<String> response = httpPoolClientDefault.postJson(url, JSON.toJSONString(checkQrcode));
         System.out.println("checkQRCode,response: " + response);
         LOGGER.info("checkQRCode,response: {}", response);
         if (response.isPresent()) {
@@ -71,7 +76,7 @@ public class QwLoginServiceImpl implements QwLoginService {
     @Override
     public String getRunClients() {
         String url = qywxConfig.getDomain() + qywxConfig.getPath("get-clients");
-        Optional<String> response =  httpPoolClientDefault.postJson(url, "");
+        Optional<String> response = httpPoolClientDefault.postJson(url, "");
         System.out.println("getRunClients,response: " + response);
         if (response.isPresent()) {
             return response.get();
@@ -86,7 +91,8 @@ public class QwLoginServiceImpl implements QwLoginService {
         return qwUserService.getUserByUuid(uuid);
     }
 
-    private String initUUID(String vid){
+    private String initUUID(String vid) {
+        Long userId = LoginUserContext.getUserId();
         Map<String, Object> requestBody = new HashMap<>();
         requestBody.put("vid", vid); // Add vid if available,二次登录使用上一次结果
         requestBody.put("ip", ""); // Add proxy IP if available
@@ -99,12 +105,14 @@ public class QwLoginServiceImpl implements QwLoginService {
         // Convert the request body to JSON string
         String params = JSON.toJSONString(requestBody);
         String url = qywxConfig.getDomain() + qywxConfig.getPath("init-uuid");
-        Optional<String> response =  httpPoolClientDefault.postJson(url, params);
+        Optional<String> response = httpPoolClientDefault.postJson(url, params);
         // 直接解析 JSON
         if (response.isPresent()) {
             System.out.println("init,response: " + response);
             QwCommonResModel<QwInitResponseModel> initModel = QwCommonResModel.parseResponse(response.get(), QwInitResponseModel.class);
-            return initModel.getData().getUuid();
+            String uuid = initModel.getData().getUuid();
+            this.saveUserBaseUUID(uuid, userId);
+            return uuid;
         } else {
             return "";
         }
@@ -133,4 +141,23 @@ public class QwLoginServiceImpl implements QwLoginService {
             System.out.println("Failed to set callback: No response");
         }
     }
+
+    private void saveUserBaseUUID(String uuid, Long userId) {
+        UserBaseExample example = new UserBaseExample();
+        example.createCriteria().andUuidEqualTo(uuid);
+        List<UserBase> userBases = userBaseMapper.selectByExample(example);
+        if (CollectionUtils.isNotEmpty(userBases)) {
+            UserBase update = userBases.get(0);
+            update.setUpdateUser(userId);
+            update.setUuid(uuid);
+            update.setCreateUser(userId);
+            userBaseMapper.updateByPrimaryKeySelective(update);
+        } else {
+            UserBase userBase = new UserBase();
+            userBase.setUuid(uuid);
+            userBase.setCreateUser(userId);
+            userBase.setUpdateUser(userId);
+            userBaseMapper.insertSelective(userBase);
+        }
+    }
 }

+ 0 - 1
risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/service/impl/WorkWechatServiceImpl.java

@@ -33,7 +33,6 @@ public class WorkWechatServiceImpl implements WorkWechatService {
         List<UserBase> userBases = userBaseMapper.selectByExample(userBaseExample);
         if (CollectionUtils.isNotEmpty(userBases)) {
             List<String> vids = userBases.stream().map(UserBase::getVid).distinct().collect(Collectors.toList());
-            UserCorpExample userCorpExample = new UserCorpExample();
         }
 
         return page;

+ 50 - 20
risk-control-core/src/main/resources/mapper/UserBaseMapper.xml

@@ -5,7 +5,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     <id column="id" jdbcType="BIGINT" property="id" />
     <result column="uuid" jdbcType="VARCHAR" property="uuid" />
@@ -20,6 +20,8 @@
     <result column="unionid" jdbcType="VARCHAR" property="unionid" />
     <result column="acctid" jdbcType="VARCHAR" property="acctid" />
     <result column="position" jdbcType="VARCHAR" property="position" />
+    <result column="create_user" jdbcType="BIGINT" property="createUser" />
+    <result column="update_user" jdbcType="BIGINT" property="updateUser" />
     <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
     <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
   </resultMap>
@@ -27,7 +29,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     <where>
       <foreach collection="oredCriteria" item="criteria" separator="or">
@@ -61,7 +63,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     <where>
       <foreach collection="example.oredCriteria" item="criteria" separator="or">
@@ -95,16 +97,16 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     id, uuid, vid, mobile, realname, english_name, avatar, login_status, corp_id, corp_name, 
-    unionid, acctid, `position`, create_time, update_time
+    unionid, acctid, `position`, create_user, update_user, create_time, update_time
   </sql>
   <select id="selectByExample" parameterType="com.tzld.piaoquan.risk.control.model.po.UserBaseExample" resultMap="BaseResultMap">
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     select
     <if test="distinct">
@@ -126,7 +128,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     select 
     <include refid="Base_Column_List" />
@@ -137,7 +139,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     delete from qywx_user_base
     where id = #{id,jdbcType=BIGINT}
@@ -146,7 +148,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     delete from qywx_user_base
     <if test="_parameter != null">
@@ -157,26 +159,26 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     insert into qywx_user_base (id, uuid, vid, 
       mobile, realname, english_name, 
       avatar, login_status, corp_id, 
       corp_name, unionid, acctid, 
-      `position`, create_time, update_time
-      )
+      `position`, create_user, update_user, 
+      create_time, update_time)
     values (#{id,jdbcType=BIGINT}, #{uuid,jdbcType=VARCHAR}, #{vid,jdbcType=VARCHAR}, 
       #{mobile,jdbcType=VARCHAR}, #{realname,jdbcType=VARCHAR}, #{englishName,jdbcType=VARCHAR}, 
       #{avatar,jdbcType=VARCHAR}, #{loginStatus,jdbcType=INTEGER}, #{corpId,jdbcType=BIGINT}, 
       #{corpName,jdbcType=VARCHAR}, #{unionid,jdbcType=VARCHAR}, #{acctid,jdbcType=VARCHAR}, 
-      #{position,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
-      )
+      #{position,jdbcType=VARCHAR}, #{createUser,jdbcType=BIGINT}, #{updateUser,jdbcType=BIGINT}, 
+      #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
   </insert>
   <insert id="insertSelective" parameterType="com.tzld.piaoquan.risk.control.model.po.UserBase">
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     insert into qywx_user_base
     <trim prefix="(" suffix=")" suffixOverrides=",">
@@ -219,6 +221,12 @@
       <if test="position != null">
         `position`,
       </if>
+      <if test="createUser != null">
+        create_user,
+      </if>
+      <if test="updateUser != null">
+        update_user,
+      </if>
       <if test="createTime != null">
         create_time,
       </if>
@@ -266,6 +274,12 @@
       <if test="position != null">
         #{position,jdbcType=VARCHAR},
       </if>
+      <if test="createUser != null">
+        #{createUser,jdbcType=BIGINT},
+      </if>
+      <if test="updateUser != null">
+        #{updateUser,jdbcType=BIGINT},
+      </if>
       <if test="createTime != null">
         #{createTime,jdbcType=TIMESTAMP},
       </if>
@@ -278,7 +292,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     select count(*) from qywx_user_base
     <if test="_parameter != null">
@@ -289,7 +303,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     update qywx_user_base
     <set>
@@ -332,6 +346,12 @@
       <if test="record.position != null">
         `position` = #{record.position,jdbcType=VARCHAR},
       </if>
+      <if test="record.createUser != null">
+        create_user = #{record.createUser,jdbcType=BIGINT},
+      </if>
+      <if test="record.updateUser != null">
+        update_user = #{record.updateUser,jdbcType=BIGINT},
+      </if>
       <if test="record.createTime != null">
         create_time = #{record.createTime,jdbcType=TIMESTAMP},
       </if>
@@ -347,7 +367,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     update qywx_user_base
     set id = #{record.id,jdbcType=BIGINT},
@@ -363,6 +383,8 @@
       unionid = #{record.unionid,jdbcType=VARCHAR},
       acctid = #{record.acctid,jdbcType=VARCHAR},
       `position` = #{record.position,jdbcType=VARCHAR},
+      create_user = #{record.createUser,jdbcType=BIGINT},
+      update_user = #{record.updateUser,jdbcType=BIGINT},
       create_time = #{record.createTime,jdbcType=TIMESTAMP},
       update_time = #{record.updateTime,jdbcType=TIMESTAMP}
     <if test="_parameter != null">
@@ -373,7 +395,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     update qywx_user_base
     <set>
@@ -413,6 +435,12 @@
       <if test="position != null">
         `position` = #{position,jdbcType=VARCHAR},
       </if>
+      <if test="createUser != null">
+        create_user = #{createUser,jdbcType=BIGINT},
+      </if>
+      <if test="updateUser != null">
+        update_user = #{updateUser,jdbcType=BIGINT},
+      </if>
       <if test="createTime != null">
         create_time = #{createTime,jdbcType=TIMESTAMP},
       </if>
@@ -426,7 +454,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:58:32 CST 2025.
+      This element was generated on Thu May 22 20:07:47 CST 2025.
     -->
     update qywx_user_base
     set uuid = #{uuid,jdbcType=VARCHAR},
@@ -441,6 +469,8 @@
       unionid = #{unionid,jdbcType=VARCHAR},
       acctid = #{acctid,jdbcType=VARCHAR},
       `position` = #{position,jdbcType=VARCHAR},
+      create_user = #{createUser,jdbcType=BIGINT},
+      update_user = #{updateUser,jdbcType=BIGINT},
       create_time = #{createTime,jdbcType=TIMESTAMP},
       update_time = #{updateTime,jdbcType=TIMESTAMP}
     where id = #{id,jdbcType=BIGINT}