Переглянути джерело

feat:重新生成实体类

zhaohaipeng 1 місяць тому
батько
коміт
855543cab2
14 змінених файлів з 832 додано та 1978 видалено
  1. 1 1
      risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/config/LoginUserContext.java
  2. 11 11
      risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/dao/mapper/UserBaseMapper.java
  3. 0 96
      risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/dao/mapper/UserCorpMapper.java
  4. 244 28
      risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/model/po/UserBase.java
  5. 430 20
      risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/model/po/UserBaseExample.java
  6. 0 384
      risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/model/po/UserCorp.java
  7. 0 982
      risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/model/po/UserCorpExample.java
  8. 1 1
      risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/service/WorkWechatService.java
  9. 6 54
      risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/service/impl/QywxUserDataService.java
  10. 19 5
      risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/service/impl/WorkWechatServiceImpl.java
  11. 115 20
      risk-control-core/src/main/resources/mapper/UserBaseMapper.xml
  12. 0 369
      risk-control-core/src/main/resources/mapper/UserCorpMapper.xml
  13. 2 3
      risk-control-core/src/main/resources/mybatis-generator-config.xml
  14. 3 4
      risk-control-server/src/main/java/com/tzld/piaoquan/risk/control/controller/WorkWechatController.java

+ 1 - 1
risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/config/LoginUserContext.java

@@ -20,7 +20,7 @@ public class LoginUserContext {
         return USER_THREAD_LOCAL.get().orElseThrow(() -> new CommonException(ExceptionEnum.LOGIN_ERROR));
     }
 
-    private static Long getUserId() {
+    public static Long getUserId() {
         return USER_THREAD_LOCAL.get().map(User::getId).orElseThrow(() -> new CommonException(ExceptionEnum.LOGIN_ERROR));
     }
 

+ 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     int updateByPrimaryKey(UserBase record);
 }

+ 0 - 96
risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/dao/mapper/UserCorpMapper.java

@@ -1,96 +0,0 @@
-package com.tzld.piaoquan.risk.control.dao.mapper;
-
-import com.tzld.piaoquan.risk.control.model.po.UserCorp;
-import com.tzld.piaoquan.risk.control.model.po.UserCorpExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface UserCorpMapper {
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    long countByExample(UserCorpExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    int deleteByExample(UserCorpExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    int deleteByPrimaryKey(Long id);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    int insert(UserCorp record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    int insertSelective(UserCorp record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    List<UserCorp> selectByExample(UserCorpExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    UserCorp selectByPrimaryKey(Long id);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    int updateByExampleSelective(@Param("record") UserCorp record, @Param("example") UserCorpExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    int updateByExample(@Param("record") UserCorp record, @Param("example") UserCorpExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    int updateByPrimaryKeySelective(UserCorp record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    int updateByPrimaryKey(UserCorp record);
-}

+ 244 - 28
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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     private String mobile;
 
@@ -57,10 +57,21 @@ 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     private String realname;
 
+    /**
+     * Database Column Remarks:
+     *   英文名
+     *
+     * 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
+     */
+    private String englishName;
+
     /**
      * Database Column Remarks:
      *   头像URL
@@ -68,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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     private String avatar;
 
@@ -79,10 +90,65 @@ 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     private Integer loginStatus;
 
+    /**
+     * Database Column Remarks:
+     *   企业ID
+     *
+     * 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
+     */
+    private Long corpId;
+
+    /**
+     * Database Column Remarks:
+     *   企业名称
+     *
+     * 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
+     */
+    private String corpName;
+
+    /**
+     * Database Column Remarks:
+     *   在该企业的unionid
+     *
+     * 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
+     */
+    private String unionid;
+
+    /**
+     * Database Column Remarks:
+     *   在该企业的账号ID
+     *
+     * 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
+     */
+    private String acctid;
+
+    /**
+     * Database Column Remarks:
+     *   职位
+     *
+     * 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
+     */
+    private String position;
+
     /**
      * Database Column Remarks:
      *   创建时间
@@ -90,7 +156,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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     private Date createTime;
 
@@ -101,7 +167,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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     private Date updateTime;
 
@@ -111,7 +177,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.id
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public Long getId() {
         return id;
@@ -123,7 +189,7 @@ public class UserBase {
      *
      * @param id the value for qywx_user_base.id
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public void setId(Long id) {
         this.id = id;
@@ -135,7 +201,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.uuid
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public String getUuid() {
         return uuid;
@@ -147,7 +213,7 @@ public class UserBase {
      *
      * @param uuid the value for qywx_user_base.uuid
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public void setUuid(String uuid) {
         this.uuid = uuid;
@@ -159,7 +225,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.vid
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public String getVid() {
         return vid;
@@ -171,7 +237,7 @@ public class UserBase {
      *
      * @param vid the value for qywx_user_base.vid
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public void setVid(String vid) {
         this.vid = vid;
@@ -183,7 +249,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.mobile
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public String getMobile() {
         return mobile;
@@ -195,7 +261,7 @@ public class UserBase {
      *
      * @param mobile the value for qywx_user_base.mobile
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public void setMobile(String mobile) {
         this.mobile = mobile;
@@ -207,7 +273,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.realname
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public String getRealname() {
         return realname;
@@ -219,19 +285,43 @@ public class UserBase {
      *
      * @param realname the value for qywx_user_base.realname
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public void setRealname(String realname) {
         this.realname = realname;
     }
 
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column qywx_user_base.english_name
+     *
+     * @return the value of qywx_user_base.english_name
+     *
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     */
+    public String getEnglishName() {
+        return englishName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column qywx_user_base.english_name
+     *
+     * @param englishName the value for qywx_user_base.english_name
+     *
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     */
+    public void setEnglishName(String englishName) {
+        this.englishName = englishName;
+    }
+
     /**
      * This method was generated by MyBatis Generator.
      * This method returns the value of the database column qywx_user_base.avatar
      *
      * @return the value of qywx_user_base.avatar
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public String getAvatar() {
         return avatar;
@@ -243,7 +333,7 @@ public class UserBase {
      *
      * @param avatar the value for qywx_user_base.avatar
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public void setAvatar(String avatar) {
         this.avatar = avatar;
@@ -255,7 +345,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.login_status
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public Integer getLoginStatus() {
         return loginStatus;
@@ -267,19 +357,139 @@ public class UserBase {
      *
      * @param loginStatus the value for qywx_user_base.login_status
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public void setLoginStatus(Integer loginStatus) {
         this.loginStatus = loginStatus;
     }
 
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column qywx_user_base.corp_id
+     *
+     * @return the value of qywx_user_base.corp_id
+     *
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     */
+    public Long getCorpId() {
+        return corpId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column qywx_user_base.corp_id
+     *
+     * @param corpId the value for qywx_user_base.corp_id
+     *
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     */
+    public void setCorpId(Long corpId) {
+        this.corpId = corpId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column qywx_user_base.corp_name
+     *
+     * @return the value of qywx_user_base.corp_name
+     *
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     */
+    public String getCorpName() {
+        return corpName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column qywx_user_base.corp_name
+     *
+     * @param corpName the value for qywx_user_base.corp_name
+     *
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     */
+    public void setCorpName(String corpName) {
+        this.corpName = corpName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column qywx_user_base.unionid
+     *
+     * @return the value of qywx_user_base.unionid
+     *
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     */
+    public String getUnionid() {
+        return unionid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column qywx_user_base.unionid
+     *
+     * @param unionid the value for qywx_user_base.unionid
+     *
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     */
+    public void setUnionid(String unionid) {
+        this.unionid = unionid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column qywx_user_base.acctid
+     *
+     * @return the value of qywx_user_base.acctid
+     *
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     */
+    public String getAcctid() {
+        return acctid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column qywx_user_base.acctid
+     *
+     * @param acctid the value for qywx_user_base.acctid
+     *
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     */
+    public void setAcctid(String acctid) {
+        this.acctid = acctid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column qywx_user_base.position
+     *
+     * @return the value of qywx_user_base.position
+     *
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
+     */
+    public String getPosition() {
+        return position;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column qywx_user_base.position
+     *
+     * @param position the value for qywx_user_base.position
+     *
+     * @mbg.generated Thu May 22 19:58:32 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_time
      *
      * @return the value of qywx_user_base.create_time
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public Date getCreateTime() {
         return createTime;
@@ -291,7 +501,7 @@ public class UserBase {
      *
      * @param createTime the value for qywx_user_base.create_time
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public void setCreateTime(Date createTime) {
         this.createTime = createTime;
@@ -303,7 +513,7 @@ public class UserBase {
      *
      * @return the value of qywx_user_base.update_time
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public Date getUpdateTime() {
         return updateTime;
@@ -315,7 +525,7 @@ public class UserBase {
      *
      * @param updateTime the value for qywx_user_base.update_time
      *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public void setUpdateTime(Date updateTime) {
         this.updateTime = updateTime;
@@ -325,7 +535,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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     @Override
     public String toString() {
@@ -338,8 +548,14 @@ public class UserBase {
         sb.append(", vid=").append(vid);
         sb.append(", mobile=").append(mobile);
         sb.append(", realname=").append(realname);
+        sb.append(", englishName=").append(englishName);
         sb.append(", avatar=").append(avatar);
         sb.append(", loginStatus=").append(loginStatus);
+        sb.append(", corpId=").append(corpId);
+        sb.append(", corpName=").append(corpName);
+        sb.append(", unionid=").append(unionid);
+        sb.append(", acctid=").append(acctid);
+        sb.append(", position=").append(position);
         sb.append(", createTime=").append(createTime);
         sb.append(", updateTime=").append(updateTime);
         sb.append("]");

+ 430 - 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     protected abstract static class GeneratedCriteria {
         protected List<Criterion> criteria;
@@ -564,6 +564,76 @@ public class UserBaseExample {
             return (Criteria) this;
         }
 
+        public Criteria andEnglishNameIsNull() {
+            addCriterion("english_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameIsNotNull() {
+            addCriterion("english_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameEqualTo(String value) {
+            addCriterion("english_name =", value, "englishName");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameNotEqualTo(String value) {
+            addCriterion("english_name <>", value, "englishName");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameGreaterThan(String value) {
+            addCriterion("english_name >", value, "englishName");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameGreaterThanOrEqualTo(String value) {
+            addCriterion("english_name >=", value, "englishName");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameLessThan(String value) {
+            addCriterion("english_name <", value, "englishName");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameLessThanOrEqualTo(String value) {
+            addCriterion("english_name <=", value, "englishName");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameLike(String value) {
+            addCriterion("english_name like", value, "englishName");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameNotLike(String value) {
+            addCriterion("english_name not like", value, "englishName");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameIn(List<String> values) {
+            addCriterion("english_name in", values, "englishName");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameNotIn(List<String> values) {
+            addCriterion("english_name not in", values, "englishName");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameBetween(String value1, String value2) {
+            addCriterion("english_name between", value1, value2, "englishName");
+            return (Criteria) this;
+        }
+
+        public Criteria andEnglishNameNotBetween(String value1, String value2) {
+            addCriterion("english_name not between", value1, value2, "englishName");
+            return (Criteria) this;
+        }
+
         public Criteria andAvatarIsNull() {
             addCriterion("avatar is null");
             return (Criteria) this;
@@ -694,6 +764,346 @@ public class UserBaseExample {
             return (Criteria) this;
         }
 
+        public Criteria andCorpIdIsNull() {
+            addCriterion("corp_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpIdIsNotNull() {
+            addCriterion("corp_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpIdEqualTo(Long value) {
+            addCriterion("corp_id =", value, "corpId");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpIdNotEqualTo(Long value) {
+            addCriterion("corp_id <>", value, "corpId");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpIdGreaterThan(Long value) {
+            addCriterion("corp_id >", value, "corpId");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpIdGreaterThanOrEqualTo(Long value) {
+            addCriterion("corp_id >=", value, "corpId");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpIdLessThan(Long value) {
+            addCriterion("corp_id <", value, "corpId");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpIdLessThanOrEqualTo(Long value) {
+            addCriterion("corp_id <=", value, "corpId");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpIdIn(List<Long> values) {
+            addCriterion("corp_id in", values, "corpId");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpIdNotIn(List<Long> values) {
+            addCriterion("corp_id not in", values, "corpId");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpIdBetween(Long value1, Long value2) {
+            addCriterion("corp_id between", value1, value2, "corpId");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpIdNotBetween(Long value1, Long value2) {
+            addCriterion("corp_id not between", value1, value2, "corpId");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameIsNull() {
+            addCriterion("corp_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameIsNotNull() {
+            addCriterion("corp_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameEqualTo(String value) {
+            addCriterion("corp_name =", value, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameNotEqualTo(String value) {
+            addCriterion("corp_name <>", value, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameGreaterThan(String value) {
+            addCriterion("corp_name >", value, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameGreaterThanOrEqualTo(String value) {
+            addCriterion("corp_name >=", value, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameLessThan(String value) {
+            addCriterion("corp_name <", value, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameLessThanOrEqualTo(String value) {
+            addCriterion("corp_name <=", value, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameLike(String value) {
+            addCriterion("corp_name like", value, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameNotLike(String value) {
+            addCriterion("corp_name not like", value, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameIn(List<String> values) {
+            addCriterion("corp_name in", values, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameNotIn(List<String> values) {
+            addCriterion("corp_name not in", values, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameBetween(String value1, String value2) {
+            addCriterion("corp_name between", value1, value2, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpNameNotBetween(String value1, String value2) {
+            addCriterion("corp_name not between", value1, value2, "corpName");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidIsNull() {
+            addCriterion("unionid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidIsNotNull() {
+            addCriterion("unionid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidEqualTo(String value) {
+            addCriterion("unionid =", value, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidNotEqualTo(String value) {
+            addCriterion("unionid <>", value, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidGreaterThan(String value) {
+            addCriterion("unionid >", value, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidGreaterThanOrEqualTo(String value) {
+            addCriterion("unionid >=", value, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidLessThan(String value) {
+            addCriterion("unionid <", value, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidLessThanOrEqualTo(String value) {
+            addCriterion("unionid <=", value, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidLike(String value) {
+            addCriterion("unionid like", value, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidNotLike(String value) {
+            addCriterion("unionid not like", value, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidIn(List<String> values) {
+            addCriterion("unionid in", values, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidNotIn(List<String> values) {
+            addCriterion("unionid not in", values, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidBetween(String value1, String value2) {
+            addCriterion("unionid between", value1, value2, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUnionidNotBetween(String value1, String value2) {
+            addCriterion("unionid not between", value1, value2, "unionid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidIsNull() {
+            addCriterion("acctid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidIsNotNull() {
+            addCriterion("acctid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidEqualTo(String value) {
+            addCriterion("acctid =", value, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidNotEqualTo(String value) {
+            addCriterion("acctid <>", value, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidGreaterThan(String value) {
+            addCriterion("acctid >", value, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidGreaterThanOrEqualTo(String value) {
+            addCriterion("acctid >=", value, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidLessThan(String value) {
+            addCriterion("acctid <", value, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidLessThanOrEqualTo(String value) {
+            addCriterion("acctid <=", value, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidLike(String value) {
+            addCriterion("acctid like", value, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidNotLike(String value) {
+            addCriterion("acctid not like", value, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidIn(List<String> values) {
+            addCriterion("acctid in", values, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidNotIn(List<String> values) {
+            addCriterion("acctid not in", values, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidBetween(String value1, String value2) {
+            addCriterion("acctid between", value1, value2, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andAcctidNotBetween(String value1, String value2) {
+            addCriterion("acctid not between", value1, value2, "acctid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionIsNull() {
+            addCriterion("`position` is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionIsNotNull() {
+            addCriterion("`position` is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionEqualTo(String value) {
+            addCriterion("`position` =", value, "position");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionNotEqualTo(String value) {
+            addCriterion("`position` <>", value, "position");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionGreaterThan(String value) {
+            addCriterion("`position` >", value, "position");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionGreaterThanOrEqualTo(String value) {
+            addCriterion("`position` >=", value, "position");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionLessThan(String value) {
+            addCriterion("`position` <", value, "position");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionLessThanOrEqualTo(String value) {
+            addCriterion("`position` <=", value, "position");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionLike(String value) {
+            addCriterion("`position` like", value, "position");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionNotLike(String value) {
+            addCriterion("`position` not like", value, "position");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionIn(List<String> values) {
+            addCriterion("`position` in", values, "position");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionNotIn(List<String> values) {
+            addCriterion("`position` not in", values, "position");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionBetween(String value1, String value2) {
+            addCriterion("`position` between", value1, value2, "position");
+            return (Criteria) this;
+        }
+
+        public Criteria andPositionNotBetween(String value1, String value2) {
+            addCriterion("`position` not between", value1, value2, "position");
+            return (Criteria) this;
+        }
+
         public Criteria andCreateTimeIsNull() {
             addCriterion("create_time is null");
             return (Criteria) this;
@@ -819,7 +1229,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:38:00 CST 2025
+     * @mbg.generated do_not_delete_during_merge Thu May 22 19:58:32 CST 2025
      */
     public static class Criteria extends GeneratedCriteria {
 
@@ -832,7 +1242,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:38:00 CST 2025
+     * @mbg.generated Thu May 22 19:58:32 CST 2025
      */
     public static class Criterion {
         private String condition;

+ 0 - 384
risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/model/po/UserCorp.java

@@ -1,384 +0,0 @@
-package com.tzld.piaoquan.risk.control.model.po;
-
-import java.util.Date;
-
-/**
- *
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table qywx_user_corp
- */
-public class UserCorp {
-    /**
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column qywx_user_corp.id
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    private Long id;
-
-    /**
-     * Database Column Remarks:
-     *   关联用户ID
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column qywx_user_corp.user_id
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    private Long userId;
-
-    /**
-     * Database Column Remarks:
-     *   企业ID
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column qywx_user_corp.corp_id
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    private Long corpId;
-
-    /**
-     * Database Column Remarks:
-     *   在该企业的unionid
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column qywx_user_corp.unionid
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    private String unionid;
-
-    /**
-     * Database Column Remarks:
-     *   在该企业的账号ID
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column qywx_user_corp.acctid
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    private String acctid;
-
-    /**
-     * Database Column Remarks:
-     *   职位
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column qywx_user_corp.position
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    private String position;
-
-    /**
-     * Database Column Remarks:
-     *   英文名
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column qywx_user_corp.english_name
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    private String englishName;
-
-    /**
-     * Database Column Remarks:
-     *   企业名称
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column qywx_user_corp.corp_name
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    private String corpName;
-
-    /**
-     * Database Column Remarks:
-     *   登录状态(0-未登录 1-已登录)
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column qywx_user_corp.login_status
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    private Boolean loginStatus;
-
-    /**
-     * Database Column Remarks:
-     *   更新时间
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column qywx_user_corp.update_time
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    private Date updateTime;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column qywx_user_corp.id
-     *
-     * @return the value of qywx_user_corp.id
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public Long getId() {
-        return id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column qywx_user_corp.id
-     *
-     * @param id the value for qywx_user_corp.id
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setId(Long id) {
-        this.id = id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column qywx_user_corp.user_id
-     *
-     * @return the value of qywx_user_corp.user_id
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public Long getUserId() {
-        return userId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column qywx_user_corp.user_id
-     *
-     * @param userId the value for qywx_user_corp.user_id
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setUserId(Long userId) {
-        this.userId = userId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column qywx_user_corp.corp_id
-     *
-     * @return the value of qywx_user_corp.corp_id
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public Long getCorpId() {
-        return corpId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column qywx_user_corp.corp_id
-     *
-     * @param corpId the value for qywx_user_corp.corp_id
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setCorpId(Long corpId) {
-        this.corpId = corpId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column qywx_user_corp.unionid
-     *
-     * @return the value of qywx_user_corp.unionid
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public String getUnionid() {
-        return unionid;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column qywx_user_corp.unionid
-     *
-     * @param unionid the value for qywx_user_corp.unionid
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setUnionid(String unionid) {
-        this.unionid = unionid;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column qywx_user_corp.acctid
-     *
-     * @return the value of qywx_user_corp.acctid
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public String getAcctid() {
-        return acctid;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column qywx_user_corp.acctid
-     *
-     * @param acctid the value for qywx_user_corp.acctid
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setAcctid(String acctid) {
-        this.acctid = acctid;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column qywx_user_corp.position
-     *
-     * @return the value of qywx_user_corp.position
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public String getPosition() {
-        return position;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column qywx_user_corp.position
-     *
-     * @param position the value for qywx_user_corp.position
-     *
-     * @mbg.generated Thu May 22 19:38:00 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_corp.english_name
-     *
-     * @return the value of qywx_user_corp.english_name
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public String getEnglishName() {
-        return englishName;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column qywx_user_corp.english_name
-     *
-     * @param englishName the value for qywx_user_corp.english_name
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setEnglishName(String englishName) {
-        this.englishName = englishName;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column qywx_user_corp.corp_name
-     *
-     * @return the value of qywx_user_corp.corp_name
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public String getCorpName() {
-        return corpName;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column qywx_user_corp.corp_name
-     *
-     * @param corpName the value for qywx_user_corp.corp_name
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setCorpName(String corpName) {
-        this.corpName = corpName;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column qywx_user_corp.login_status
-     *
-     * @return the value of qywx_user_corp.login_status
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public Boolean getLoginStatus() {
-        return loginStatus;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column qywx_user_corp.login_status
-     *
-     * @param loginStatus the value for qywx_user_corp.login_status
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setLoginStatus(Boolean loginStatus) {
-        this.loginStatus = loginStatus;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column qywx_user_corp.update_time
-     *
-     * @return the value of qywx_user_corp.update_time
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public Date getUpdateTime() {
-        return updateTime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column qywx_user_corp.update_time
-     *
-     * @param updateTime the value for qywx_user_corp.update_time
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setUpdateTime(Date updateTime) {
-        this.updateTime = updateTime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    @Override
-    public String toString() {
-        StringBuilder sb = new StringBuilder();
-        sb.append(getClass().getSimpleName());
-        sb.append(" [");
-        sb.append("Hash = ").append(hashCode());
-        sb.append(", id=").append(id);
-        sb.append(", userId=").append(userId);
-        sb.append(", corpId=").append(corpId);
-        sb.append(", unionid=").append(unionid);
-        sb.append(", acctid=").append(acctid);
-        sb.append(", position=").append(position);
-        sb.append(", englishName=").append(englishName);
-        sb.append(", corpName=").append(corpName);
-        sb.append(", loginStatus=").append(loginStatus);
-        sb.append(", updateTime=").append(updateTime);
-        sb.append("]");
-        return sb.toString();
-    }
-}

+ 0 - 982
risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/model/po/UserCorpExample.java

@@ -1,982 +0,0 @@
-package com.tzld.piaoquan.risk.control.model.po;
-
-import com.tzld.piaoquan.risk.control.model.dto.Page;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-public class UserCorpExample {
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    protected String orderByClause;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    protected boolean distinct;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    protected List<Criteria> oredCriteria;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    protected Page page;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public UserCorpExample() {
-        oredCriteria = new ArrayList<Criteria>();
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setOrderByClause(String orderByClause) {
-        this.orderByClause = orderByClause;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public String getOrderByClause() {
-        return orderByClause;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setDistinct(boolean distinct) {
-        this.distinct = distinct;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public boolean isDistinct() {
-        return distinct;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public List<Criteria> getOredCriteria() {
-        return oredCriteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void or(Criteria criteria) {
-        oredCriteria.add(criteria);
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public Criteria or() {
-        Criteria criteria = createCriteriaInternal();
-        oredCriteria.add(criteria);
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public Criteria createCriteria() {
-        Criteria criteria = createCriteriaInternal();
-        if (oredCriteria.size() == 0) {
-            oredCriteria.add(criteria);
-        }
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    protected Criteria createCriteriaInternal() {
-        Criteria criteria = new Criteria();
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void clear() {
-        oredCriteria.clear();
-        orderByClause = null;
-        distinct = false;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public void setPage(Page page) {
-        this.page=page;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public Page getPage() {
-        return page;
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    protected abstract static class GeneratedCriteria {
-        protected List<Criterion> criteria;
-
-        protected GeneratedCriteria() {
-            super();
-            criteria = new ArrayList<Criterion>();
-        }
-
-        public boolean isValid() {
-            return criteria.size() > 0;
-        }
-
-        public List<Criterion> getAllCriteria() {
-            return criteria;
-        }
-
-        public List<Criterion> getCriteria() {
-            return criteria;
-        }
-
-        protected void addCriterion(String condition) {
-            if (condition == null) {
-                throw new RuntimeException("Value for condition cannot be null");
-            }
-            criteria.add(new Criterion(condition));
-        }
-
-        protected void addCriterion(String condition, Object value, String property) {
-            if (value == null) {
-                throw new RuntimeException("Value for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value));
-        }
-
-        protected void addCriterion(String condition, Object value1, Object value2, String property) {
-            if (value1 == null || value2 == null) {
-                throw new RuntimeException("Between values for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value1, value2));
-        }
-
-        public Criteria andIdIsNull() {
-            addCriterion("id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdIsNotNull() {
-            addCriterion("id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdEqualTo(Long value) {
-            addCriterion("id =", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotEqualTo(Long value) {
-            addCriterion("id <>", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdGreaterThan(Long value) {
-            addCriterion("id >", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdGreaterThanOrEqualTo(Long value) {
-            addCriterion("id >=", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdLessThan(Long value) {
-            addCriterion("id <", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdLessThanOrEqualTo(Long value) {
-            addCriterion("id <=", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdIn(List<Long> values) {
-            addCriterion("id in", values, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotIn(List<Long> values) {
-            addCriterion("id not in", values, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdBetween(Long value1, Long value2) {
-            addCriterion("id between", value1, value2, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotBetween(Long value1, Long value2) {
-            addCriterion("id not between", value1, value2, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdIsNull() {
-            addCriterion("user_id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdIsNotNull() {
-            addCriterion("user_id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdEqualTo(Long value) {
-            addCriterion("user_id =", value, "userId");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdNotEqualTo(Long value) {
-            addCriterion("user_id <>", value, "userId");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdGreaterThan(Long value) {
-            addCriterion("user_id >", value, "userId");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
-            addCriterion("user_id >=", value, "userId");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdLessThan(Long value) {
-            addCriterion("user_id <", value, "userId");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdLessThanOrEqualTo(Long value) {
-            addCriterion("user_id <=", value, "userId");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdIn(List<Long> values) {
-            addCriterion("user_id in", values, "userId");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdNotIn(List<Long> values) {
-            addCriterion("user_id not in", values, "userId");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdBetween(Long value1, Long value2) {
-            addCriterion("user_id between", value1, value2, "userId");
-            return (Criteria) this;
-        }
-
-        public Criteria andUserIdNotBetween(Long value1, Long value2) {
-            addCriterion("user_id not between", value1, value2, "userId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdIsNull() {
-            addCriterion("corp_id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdIsNotNull() {
-            addCriterion("corp_id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdEqualTo(Long value) {
-            addCriterion("corp_id =", value, "corpId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdNotEqualTo(Long value) {
-            addCriterion("corp_id <>", value, "corpId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdGreaterThan(Long value) {
-            addCriterion("corp_id >", value, "corpId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdGreaterThanOrEqualTo(Long value) {
-            addCriterion("corp_id >=", value, "corpId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdLessThan(Long value) {
-            addCriterion("corp_id <", value, "corpId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdLessThanOrEqualTo(Long value) {
-            addCriterion("corp_id <=", value, "corpId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdIn(List<Long> values) {
-            addCriterion("corp_id in", values, "corpId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdNotIn(List<Long> values) {
-            addCriterion("corp_id not in", values, "corpId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdBetween(Long value1, Long value2) {
-            addCriterion("corp_id between", value1, value2, "corpId");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpIdNotBetween(Long value1, Long value2) {
-            addCriterion("corp_id not between", value1, value2, "corpId");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidIsNull() {
-            addCriterion("unionid is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidIsNotNull() {
-            addCriterion("unionid is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidEqualTo(String value) {
-            addCriterion("unionid =", value, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidNotEqualTo(String value) {
-            addCriterion("unionid <>", value, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidGreaterThan(String value) {
-            addCriterion("unionid >", value, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidGreaterThanOrEqualTo(String value) {
-            addCriterion("unionid >=", value, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidLessThan(String value) {
-            addCriterion("unionid <", value, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidLessThanOrEqualTo(String value) {
-            addCriterion("unionid <=", value, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidLike(String value) {
-            addCriterion("unionid like", value, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidNotLike(String value) {
-            addCriterion("unionid not like", value, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidIn(List<String> values) {
-            addCriterion("unionid in", values, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidNotIn(List<String> values) {
-            addCriterion("unionid not in", values, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidBetween(String value1, String value2) {
-            addCriterion("unionid between", value1, value2, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andUnionidNotBetween(String value1, String value2) {
-            addCriterion("unionid not between", value1, value2, "unionid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidIsNull() {
-            addCriterion("acctid is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidIsNotNull() {
-            addCriterion("acctid is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidEqualTo(String value) {
-            addCriterion("acctid =", value, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidNotEqualTo(String value) {
-            addCriterion("acctid <>", value, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidGreaterThan(String value) {
-            addCriterion("acctid >", value, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidGreaterThanOrEqualTo(String value) {
-            addCriterion("acctid >=", value, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidLessThan(String value) {
-            addCriterion("acctid <", value, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidLessThanOrEqualTo(String value) {
-            addCriterion("acctid <=", value, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidLike(String value) {
-            addCriterion("acctid like", value, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidNotLike(String value) {
-            addCriterion("acctid not like", value, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidIn(List<String> values) {
-            addCriterion("acctid in", values, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidNotIn(List<String> values) {
-            addCriterion("acctid not in", values, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidBetween(String value1, String value2) {
-            addCriterion("acctid between", value1, value2, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andAcctidNotBetween(String value1, String value2) {
-            addCriterion("acctid not between", value1, value2, "acctid");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionIsNull() {
-            addCriterion("`position` is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionIsNotNull() {
-            addCriterion("`position` is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionEqualTo(String value) {
-            addCriterion("`position` =", value, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionNotEqualTo(String value) {
-            addCriterion("`position` <>", value, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionGreaterThan(String value) {
-            addCriterion("`position` >", value, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionGreaterThanOrEqualTo(String value) {
-            addCriterion("`position` >=", value, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionLessThan(String value) {
-            addCriterion("`position` <", value, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionLessThanOrEqualTo(String value) {
-            addCriterion("`position` <=", value, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionLike(String value) {
-            addCriterion("`position` like", value, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionNotLike(String value) {
-            addCriterion("`position` not like", value, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionIn(List<String> values) {
-            addCriterion("`position` in", values, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionNotIn(List<String> values) {
-            addCriterion("`position` not in", values, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionBetween(String value1, String value2) {
-            addCriterion("`position` between", value1, value2, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andPositionNotBetween(String value1, String value2) {
-            addCriterion("`position` not between", value1, value2, "position");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameIsNull() {
-            addCriterion("english_name is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameIsNotNull() {
-            addCriterion("english_name is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameEqualTo(String value) {
-            addCriterion("english_name =", value, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameNotEqualTo(String value) {
-            addCriterion("english_name <>", value, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameGreaterThan(String value) {
-            addCriterion("english_name >", value, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameGreaterThanOrEqualTo(String value) {
-            addCriterion("english_name >=", value, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameLessThan(String value) {
-            addCriterion("english_name <", value, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameLessThanOrEqualTo(String value) {
-            addCriterion("english_name <=", value, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameLike(String value) {
-            addCriterion("english_name like", value, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameNotLike(String value) {
-            addCriterion("english_name not like", value, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameIn(List<String> values) {
-            addCriterion("english_name in", values, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameNotIn(List<String> values) {
-            addCriterion("english_name not in", values, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameBetween(String value1, String value2) {
-            addCriterion("english_name between", value1, value2, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andEnglishNameNotBetween(String value1, String value2) {
-            addCriterion("english_name not between", value1, value2, "englishName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameIsNull() {
-            addCriterion("corp_name is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameIsNotNull() {
-            addCriterion("corp_name is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameEqualTo(String value) {
-            addCriterion("corp_name =", value, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameNotEqualTo(String value) {
-            addCriterion("corp_name <>", value, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameGreaterThan(String value) {
-            addCriterion("corp_name >", value, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameGreaterThanOrEqualTo(String value) {
-            addCriterion("corp_name >=", value, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameLessThan(String value) {
-            addCriterion("corp_name <", value, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameLessThanOrEqualTo(String value) {
-            addCriterion("corp_name <=", value, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameLike(String value) {
-            addCriterion("corp_name like", value, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameNotLike(String value) {
-            addCriterion("corp_name not like", value, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameIn(List<String> values) {
-            addCriterion("corp_name in", values, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameNotIn(List<String> values) {
-            addCriterion("corp_name not in", values, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameBetween(String value1, String value2) {
-            addCriterion("corp_name between", value1, value2, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andCorpNameNotBetween(String value1, String value2) {
-            addCriterion("corp_name not between", value1, value2, "corpName");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusIsNull() {
-            addCriterion("login_status is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusIsNotNull() {
-            addCriterion("login_status is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusEqualTo(Boolean value) {
-            addCriterion("login_status =", value, "loginStatus");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusNotEqualTo(Boolean value) {
-            addCriterion("login_status <>", value, "loginStatus");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusGreaterThan(Boolean value) {
-            addCriterion("login_status >", value, "loginStatus");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusGreaterThanOrEqualTo(Boolean value) {
-            addCriterion("login_status >=", value, "loginStatus");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusLessThan(Boolean value) {
-            addCriterion("login_status <", value, "loginStatus");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusLessThanOrEqualTo(Boolean value) {
-            addCriterion("login_status <=", value, "loginStatus");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusIn(List<Boolean> values) {
-            addCriterion("login_status in", values, "loginStatus");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusNotIn(List<Boolean> values) {
-            addCriterion("login_status not in", values, "loginStatus");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusBetween(Boolean value1, Boolean value2) {
-            addCriterion("login_status between", value1, value2, "loginStatus");
-            return (Criteria) this;
-        }
-
-        public Criteria andLoginStatusNotBetween(Boolean value1, Boolean value2) {
-            addCriterion("login_status not between", value1, value2, "loginStatus");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeIsNull() {
-            addCriterion("update_time is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeIsNotNull() {
-            addCriterion("update_time is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeEqualTo(Date value) {
-            addCriterion("update_time =", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeNotEqualTo(Date value) {
-            addCriterion("update_time <>", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeGreaterThan(Date value) {
-            addCriterion("update_time >", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
-            addCriterion("update_time >=", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeLessThan(Date value) {
-            addCriterion("update_time <", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
-            addCriterion("update_time <=", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeIn(List<Date> values) {
-            addCriterion("update_time in", values, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeNotIn(List<Date> values) {
-            addCriterion("update_time not in", values, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
-            addCriterion("update_time between", value1, value2, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
-            addCriterion("update_time not between", value1, value2, "updateTime");
-            return (Criteria) this;
-        }
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated do_not_delete_during_merge Thu May 22 19:38:00 CST 2025
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table qywx_user_corp
-     *
-     * @mbg.generated Thu May 22 19:38:00 CST 2025
-     */
-    public static class Criterion {
-        private String condition;
-
-        private Object value;
-
-        private Object secondValue;
-
-        private boolean noValue;
-
-        private boolean singleValue;
-
-        private boolean betweenValue;
-
-        private boolean listValue;
-
-        private String typeHandler;
-
-        public String getCondition() {
-            return condition;
-        }
-
-        public Object getValue() {
-            return value;
-        }
-
-        public Object getSecondValue() {
-            return secondValue;
-        }
-
-        public boolean isNoValue() {
-            return noValue;
-        }
-
-        public boolean isSingleValue() {
-            return singleValue;
-        }
-
-        public boolean isBetweenValue() {
-            return betweenValue;
-        }
-
-        public boolean isListValue() {
-            return listValue;
-        }
-
-        public String getTypeHandler() {
-            return typeHandler;
-        }
-
-        protected Criterion(String condition) {
-            super();
-            this.condition = condition;
-            this.typeHandler = null;
-            this.noValue = true;
-        }
-
-        protected Criterion(String condition, Object value, String typeHandler) {
-            super();
-            this.condition = condition;
-            this.value = value;
-            this.typeHandler = typeHandler;
-            if (value instanceof List<?>) {
-                this.listValue = true;
-            } else {
-                this.singleValue = true;
-            }
-        }
-
-        protected Criterion(String condition, Object value) {
-            this(condition, value, null);
-        }
-
-        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
-            super();
-            this.condition = condition;
-            this.value = value;
-            this.secondValue = secondValue;
-            this.typeHandler = typeHandler;
-            this.betweenValue = true;
-        }
-
-        protected Criterion(String condition, Object value, Object secondValue) {
-            this(condition, value, secondValue, null);
-        }
-    }
-}

+ 1 - 1
risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/service/WorkWechatService.java

@@ -4,5 +4,5 @@ import com.tzld.piaoquan.risk.control.model.dto.Page;
 import com.tzld.piaoquan.risk.control.model.dto.WorkWechatUserInfo;
 
 public interface WorkWechatService {
-    Page<WorkWechatUserInfo> findUserInfoList(int pageSize, int pageNum);
+    Page<WorkWechatUserInfo> findUserInfoList(int pageSize, int currentPage);
 }

+ 6 - 54
risk-control-core/src/main/java/com/tzld/piaoquan/risk/control/service/impl/QywxUserDataService.java

@@ -4,11 +4,8 @@ import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.annotation.JSONField;
 import com.github.pagehelper.PageHelper;
 import com.tzld.piaoquan.risk.control.dao.mapper.UserBaseMapper;
-import com.tzld.piaoquan.risk.control.dao.mapper.UserCorpMapper;
 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.po.UserCorp;
-import com.tzld.piaoquan.risk.control.model.po.UserCorpExample;
 import com.tzld.piaoquan.risk.control.model.qywx.QwCallBackWrapperData;
 import com.tzld.piaoquan.risk.control.service.qywx.Constant;
 import lombok.Data;
@@ -18,10 +15,8 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.util.StringUtils;
 
-import javax.annotation.Resource;
 import java.util.Date;
 import java.util.List;
-import java.util.Optional;
 
 @Slf4j
 @Service
@@ -30,9 +25,6 @@ public class QywxUserDataService {
     @Autowired
     private UserBaseMapper userBaseMapper;
 
-    @Autowired
-    private UserCorpMapper userCorpMapper;
-
     @Data
     @NoArgsConstructor
     private static class UserData {
@@ -121,25 +113,21 @@ public class QywxUserDataService {
 
         // 3. 处理用户基础信息
         UserBase userBase = processBaseInfo(wrapperData, userData);
-
-        // 4. 处理企业关联信息
-        try {
-            processCorpRelation(Long.parseLong(userBase.getVid()), userData);
-        } catch (Exception e) {
-            log.error("Error processing user data: {}", e.getMessage(), e);
-        }
     }
 
     private UserBase processBaseInfo(QwCallBackWrapperData envelop, UserData data) {
         UserBase userBase = new UserBase();
         userBase.setUuid(envelop.getUuid());
+        userBase.setVid(data.vid.toString());
         userBase.setMobile(data.mobile);
         userBase.setRealname(data.realName);
+        userBase.setEnglishName(data.englishName);
         userBase.setAvatar(data.avatarUrl);
         userBase.setLoginStatus(envelop.getType() == Constant.LOGIN_SUCCESS ? 1 : 0);
-        userBase.setVid(data.vid.toString());
-        userBase.setUpdateTime(new Date());
-
+        userBase.setCorpId(data.corpId);
+        userBase.setCorpName(data.corpName);
+        userBase.setUnionid(data.unionId);
+        userBase.setPosition(data.jobPosition);
 
         // 时间处理(优先使用Create_time)
         Long createTime = data.createTime2 != null && data.createTime2 > 0 ? data.createTime2 : data.createTime1;
@@ -163,42 +151,6 @@ public class QywxUserDataService {
         return userBase;
     }
 
-    private void processCorpRelation(Long userId, UserData data) {
-        UserCorp userCorp = new UserCorp();
-        userCorp.setUserId(userId);
-        userCorp.setCorpId(data.corpId != null ? data.corpId : data.corpId2);
-//        userCorp.setAdminVid(data.adminVid);
-        userCorp.setUnionid(data.unionId);
-//        userCorp.setAccountId(data.accountId);
-        userCorp.setPosition(data.jobPosition);
-//        userCorp.setStatus((byte) 0);
-        userCorp.setUpdateTime(new Date());
-        userCorp.setCorpName(data.corpName);
-//        userCorp.setCorpFullName(data.corpFullName);
-//        userCorp.setCorpLogo(data.corpLogo);
-//        userCorp.setCorpDesc(data.corpDesc);
-//        userCorp.setSCorpId(data.sCorpId);
-//        userCorp.setOwnerName(data.ownerName);
-        userCorp.setEnglishName(data.englishName);
-        userCorp.setUpdateTime(new Date());
-//        userCorp.setVid(data.vid);
-
-        UserCorpExample example = new UserCorpExample();
-        example.createCriteria()
-                .andUserIdEqualTo(userId)
-                .andCorpIdEqualTo(userCorp.getCorpId());
-
-        List<UserCorp> existRelations = userCorpMapper.selectByExample(example);
-
-        if (!existRelations.isEmpty()) {
-            UserCorp existRelation = existRelations.get(0);
-            userCorp.setId(existRelation.getId());
-            userCorpMapper.updateByPrimaryKeySelective(userCorp);
-        } else {
-            userCorpMapper.insertSelective(userCorp);
-        }
-    }
-
     // 根据手机号查询用户
     public UserBase getUserByMobile(String mobile) {
         UserBaseExample example = new UserBaseExample();

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

@@ -1,27 +1,41 @@
 package com.tzld.piaoquan.risk.control.service.impl;
 
+import com.tzld.piaoquan.risk.control.config.LoginUserContext;
 import com.tzld.piaoquan.risk.control.dao.mapper.UserBaseMapper;
-import com.tzld.piaoquan.risk.control.dao.mapper.UserCorpMapper;
 import com.tzld.piaoquan.risk.control.model.dto.Page;
 import com.tzld.piaoquan.risk.control.model.dto.WorkWechatUserInfo;
+import com.tzld.piaoquan.risk.control.model.po.UserBase;
+import com.tzld.piaoquan.risk.control.model.po.UserBaseExample;
 import com.tzld.piaoquan.risk.control.service.WorkWechatService;
 import lombok.extern.slf4j.Slf4j;
+import org.apache.commons.collections4.CollectionUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
+import java.util.List;
+import java.util.stream.Collectors;
+
 @Slf4j
 @Service
 public class WorkWechatServiceImpl implements WorkWechatService {
 
     @Autowired
     private UserBaseMapper userBaseMapper;
-    @Autowired
-    private UserCorpMapper userCorpMapper;
 
     @Override
-    public Page<WorkWechatUserInfo> findUserInfoList(int pageSize, int pageNum) {
+    public Page<WorkWechatUserInfo> findUserInfoList(int pageSize, int currentPage) {
+
+        Page<WorkWechatUserInfo> page = new Page<>();
+        Long userId = LoginUserContext.getUserId();
 
+        UserBaseExample userBaseExample = new UserBaseExample();
+        userBaseExample.setPage(new Page<UserBase>(currentPage, pageSize));
+        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 null;
+        return page;
     }
 }

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

@@ -5,15 +5,21 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     <id column="id" jdbcType="BIGINT" property="id" />
     <result column="uuid" jdbcType="VARCHAR" property="uuid" />
     <result column="vid" jdbcType="VARCHAR" property="vid" />
     <result column="mobile" jdbcType="VARCHAR" property="mobile" />
     <result column="realname" jdbcType="VARCHAR" property="realname" />
+    <result column="english_name" jdbcType="VARCHAR" property="englishName" />
     <result column="avatar" jdbcType="VARCHAR" property="avatar" />
     <result column="login_status" jdbcType="INTEGER" property="loginStatus" />
+    <result column="corp_id" jdbcType="BIGINT" property="corpId" />
+    <result column="corp_name" jdbcType="VARCHAR" property="corpName" />
+    <result column="unionid" jdbcType="VARCHAR" property="unionid" />
+    <result column="acctid" jdbcType="VARCHAR" property="acctid" />
+    <result column="position" jdbcType="VARCHAR" property="position" />
     <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
     <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
   </resultMap>
@@ -21,7 +27,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     <where>
       <foreach collection="oredCriteria" item="criteria" separator="or">
@@ -55,7 +61,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     <where>
       <foreach collection="example.oredCriteria" item="criteria" separator="or">
@@ -89,15 +95,16 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
-    id, uuid, vid, mobile, realname, avatar, login_status, create_time, update_time
+    id, uuid, vid, mobile, realname, english_name, avatar, login_status, corp_id, corp_name, 
+    unionid, acctid, `position`, 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:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     select
     <if test="distinct">
@@ -119,7 +126,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     select 
     <include refid="Base_Column_List" />
@@ -130,7 +137,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     delete from qywx_user_base
     where id = #{id,jdbcType=BIGINT}
@@ -139,7 +146,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     delete from qywx_user_base
     <if test="_parameter != null">
@@ -150,22 +157,26 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     insert into qywx_user_base (id, uuid, vid, 
-      mobile, realname, avatar, 
-      login_status, create_time, update_time
+      mobile, realname, english_name, 
+      avatar, login_status, corp_id, 
+      corp_name, unionid, acctid, 
+      `position`, create_time, update_time
       )
     values (#{id,jdbcType=BIGINT}, #{uuid,jdbcType=VARCHAR}, #{vid,jdbcType=VARCHAR}, 
-      #{mobile,jdbcType=VARCHAR}, #{realname,jdbcType=VARCHAR}, #{avatar,jdbcType=VARCHAR}, 
-      #{loginStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
+      #{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}
       )
   </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:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     insert into qywx_user_base
     <trim prefix="(" suffix=")" suffixOverrides=",">
@@ -184,12 +195,30 @@
       <if test="realname != null">
         realname,
       </if>
+      <if test="englishName != null">
+        english_name,
+      </if>
       <if test="avatar != null">
         avatar,
       </if>
       <if test="loginStatus != null">
         login_status,
       </if>
+      <if test="corpId != null">
+        corp_id,
+      </if>
+      <if test="corpName != null">
+        corp_name,
+      </if>
+      <if test="unionid != null">
+        unionid,
+      </if>
+      <if test="acctid != null">
+        acctid,
+      </if>
+      <if test="position != null">
+        `position`,
+      </if>
       <if test="createTime != null">
         create_time,
       </if>
@@ -213,12 +242,30 @@
       <if test="realname != null">
         #{realname,jdbcType=VARCHAR},
       </if>
+      <if test="englishName != null">
+        #{englishName,jdbcType=VARCHAR},
+      </if>
       <if test="avatar != null">
         #{avatar,jdbcType=VARCHAR},
       </if>
       <if test="loginStatus != null">
         #{loginStatus,jdbcType=INTEGER},
       </if>
+      <if test="corpId != null">
+        #{corpId,jdbcType=BIGINT},
+      </if>
+      <if test="corpName != null">
+        #{corpName,jdbcType=VARCHAR},
+      </if>
+      <if test="unionid != null">
+        #{unionid,jdbcType=VARCHAR},
+      </if>
+      <if test="acctid != null">
+        #{acctid,jdbcType=VARCHAR},
+      </if>
+      <if test="position != null">
+        #{position,jdbcType=VARCHAR},
+      </if>
       <if test="createTime != null">
         #{createTime,jdbcType=TIMESTAMP},
       </if>
@@ -231,7 +278,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     select count(*) from qywx_user_base
     <if test="_parameter != null">
@@ -242,7 +289,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     update qywx_user_base
     <set>
@@ -261,12 +308,30 @@
       <if test="record.realname != null">
         realname = #{record.realname,jdbcType=VARCHAR},
       </if>
+      <if test="record.englishName != null">
+        english_name = #{record.englishName,jdbcType=VARCHAR},
+      </if>
       <if test="record.avatar != null">
         avatar = #{record.avatar,jdbcType=VARCHAR},
       </if>
       <if test="record.loginStatus != null">
         login_status = #{record.loginStatus,jdbcType=INTEGER},
       </if>
+      <if test="record.corpId != null">
+        corp_id = #{record.corpId,jdbcType=BIGINT},
+      </if>
+      <if test="record.corpName != null">
+        corp_name = #{record.corpName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.unionid != null">
+        unionid = #{record.unionid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.acctid != null">
+        acctid = #{record.acctid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.position != null">
+        `position` = #{record.position,jdbcType=VARCHAR},
+      </if>
       <if test="record.createTime != null">
         create_time = #{record.createTime,jdbcType=TIMESTAMP},
       </if>
@@ -282,7 +347,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     update qywx_user_base
     set id = #{record.id,jdbcType=BIGINT},
@@ -290,8 +355,14 @@
       vid = #{record.vid,jdbcType=VARCHAR},
       mobile = #{record.mobile,jdbcType=VARCHAR},
       realname = #{record.realname,jdbcType=VARCHAR},
+      english_name = #{record.englishName,jdbcType=VARCHAR},
       avatar = #{record.avatar,jdbcType=VARCHAR},
       login_status = #{record.loginStatus,jdbcType=INTEGER},
+      corp_id = #{record.corpId,jdbcType=BIGINT},
+      corp_name = #{record.corpName,jdbcType=VARCHAR},
+      unionid = #{record.unionid,jdbcType=VARCHAR},
+      acctid = #{record.acctid,jdbcType=VARCHAR},
+      `position` = #{record.position,jdbcType=VARCHAR},
       create_time = #{record.createTime,jdbcType=TIMESTAMP},
       update_time = #{record.updateTime,jdbcType=TIMESTAMP}
     <if test="_parameter != null">
@@ -302,7 +373,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     update qywx_user_base
     <set>
@@ -318,12 +389,30 @@
       <if test="realname != null">
         realname = #{realname,jdbcType=VARCHAR},
       </if>
+      <if test="englishName != null">
+        english_name = #{englishName,jdbcType=VARCHAR},
+      </if>
       <if test="avatar != null">
         avatar = #{avatar,jdbcType=VARCHAR},
       </if>
       <if test="loginStatus != null">
         login_status = #{loginStatus,jdbcType=INTEGER},
       </if>
+      <if test="corpId != null">
+        corp_id = #{corpId,jdbcType=BIGINT},
+      </if>
+      <if test="corpName != null">
+        corp_name = #{corpName,jdbcType=VARCHAR},
+      </if>
+      <if test="unionid != null">
+        unionid = #{unionid,jdbcType=VARCHAR},
+      </if>
+      <if test="acctid != null">
+        acctid = #{acctid,jdbcType=VARCHAR},
+      </if>
+      <if test="position != null">
+        `position` = #{position,jdbcType=VARCHAR},
+      </if>
       <if test="createTime != null">
         create_time = #{createTime,jdbcType=TIMESTAMP},
       </if>
@@ -337,15 +426,21 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
+      This element was generated on Thu May 22 19:58:32 CST 2025.
     -->
     update qywx_user_base
     set uuid = #{uuid,jdbcType=VARCHAR},
       vid = #{vid,jdbcType=VARCHAR},
       mobile = #{mobile,jdbcType=VARCHAR},
       realname = #{realname,jdbcType=VARCHAR},
+      english_name = #{englishName,jdbcType=VARCHAR},
       avatar = #{avatar,jdbcType=VARCHAR},
       login_status = #{loginStatus,jdbcType=INTEGER},
+      corp_id = #{corpId,jdbcType=BIGINT},
+      corp_name = #{corpName,jdbcType=VARCHAR},
+      unionid = #{unionid,jdbcType=VARCHAR},
+      acctid = #{acctid,jdbcType=VARCHAR},
+      `position` = #{position,jdbcType=VARCHAR},
       create_time = #{createTime,jdbcType=TIMESTAMP},
       update_time = #{updateTime,jdbcType=TIMESTAMP}
     where id = #{id,jdbcType=BIGINT}

+ 0 - 369
risk-control-core/src/main/resources/mapper/UserCorpMapper.xml

@@ -1,369 +0,0 @@
-<?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.tzld.piaoquan.risk.control.dao.mapper.UserCorpMapper">
-  <resultMap id="BaseResultMap" type="com.tzld.piaoquan.risk.control.model.po.UserCorp">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    <id column="id" jdbcType="BIGINT" property="id" />
-    <result column="user_id" jdbcType="BIGINT" property="userId" />
-    <result column="corp_id" jdbcType="BIGINT" property="corpId" />
-    <result column="unionid" jdbcType="VARCHAR" property="unionid" />
-    <result column="acctid" jdbcType="VARCHAR" property="acctid" />
-    <result column="position" jdbcType="VARCHAR" property="position" />
-    <result column="english_name" jdbcType="VARCHAR" property="englishName" />
-    <result column="corp_name" jdbcType="VARCHAR" property="corpName" />
-    <result column="login_status" jdbcType="BIT" property="loginStatus" />
-    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    id, user_id, corp_id, unionid, acctid, `position`, english_name, corp_name, login_status, 
-    update_time
-  </sql>
-  <select id="selectByExample" parameterType="com.tzld.piaoquan.risk.control.model.po.UserCorpExample" 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:38:00 CST 2025.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from qywx_user_corp
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-    <if test="page != null">
-      limit #{page.offset} , #{page.pageSize}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Long" 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:38:00 CST 2025.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from qywx_user_corp
-    where id = #{id,jdbcType=BIGINT}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    delete from qywx_user_corp
-    where id = #{id,jdbcType=BIGINT}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.tzld.piaoquan.risk.control.model.po.UserCorpExample">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    delete from qywx_user_corp
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.tzld.piaoquan.risk.control.model.po.UserCorp">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    insert into qywx_user_corp (id, user_id, corp_id, 
-      unionid, acctid, `position`, 
-      english_name, corp_name, login_status, 
-      update_time)
-    values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{corpId,jdbcType=BIGINT}, 
-      #{unionid,jdbcType=VARCHAR}, #{acctid,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR}, 
-      #{englishName,jdbcType=VARCHAR}, #{corpName,jdbcType=VARCHAR}, #{loginStatus,jdbcType=BIT}, 
-      #{updateTime,jdbcType=TIMESTAMP})
-  </insert>
-  <insert id="insertSelective" parameterType="com.tzld.piaoquan.risk.control.model.po.UserCorp">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    insert into qywx_user_corp
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        id,
-      </if>
-      <if test="userId != null">
-        user_id,
-      </if>
-      <if test="corpId != null">
-        corp_id,
-      </if>
-      <if test="unionid != null">
-        unionid,
-      </if>
-      <if test="acctid != null">
-        acctid,
-      </if>
-      <if test="position != null">
-        `position`,
-      </if>
-      <if test="englishName != null">
-        english_name,
-      </if>
-      <if test="corpName != null">
-        corp_name,
-      </if>
-      <if test="loginStatus != null">
-        login_status,
-      </if>
-      <if test="updateTime != null">
-        update_time,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        #{id,jdbcType=BIGINT},
-      </if>
-      <if test="userId != null">
-        #{userId,jdbcType=BIGINT},
-      </if>
-      <if test="corpId != null">
-        #{corpId,jdbcType=BIGINT},
-      </if>
-      <if test="unionid != null">
-        #{unionid,jdbcType=VARCHAR},
-      </if>
-      <if test="acctid != null">
-        #{acctid,jdbcType=VARCHAR},
-      </if>
-      <if test="position != null">
-        #{position,jdbcType=VARCHAR},
-      </if>
-      <if test="englishName != null">
-        #{englishName,jdbcType=VARCHAR},
-      </if>
-      <if test="corpName != null">
-        #{corpName,jdbcType=VARCHAR},
-      </if>
-      <if test="loginStatus != null">
-        #{loginStatus,jdbcType=BIT},
-      </if>
-      <if test="updateTime != null">
-        #{updateTime,jdbcType=TIMESTAMP},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.tzld.piaoquan.risk.control.model.po.UserCorpExample" resultType="java.lang.Long">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    select count(*) from qywx_user_corp
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    update qywx_user_corp
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=BIGINT},
-      </if>
-      <if test="record.userId != null">
-        user_id = #{record.userId,jdbcType=BIGINT},
-      </if>
-      <if test="record.corpId != null">
-        corp_id = #{record.corpId,jdbcType=BIGINT},
-      </if>
-      <if test="record.unionid != null">
-        unionid = #{record.unionid,jdbcType=VARCHAR},
-      </if>
-      <if test="record.acctid != null">
-        acctid = #{record.acctid,jdbcType=VARCHAR},
-      </if>
-      <if test="record.position != null">
-        `position` = #{record.position,jdbcType=VARCHAR},
-      </if>
-      <if test="record.englishName != null">
-        english_name = #{record.englishName,jdbcType=VARCHAR},
-      </if>
-      <if test="record.corpName != null">
-        corp_name = #{record.corpName,jdbcType=VARCHAR},
-      </if>
-      <if test="record.loginStatus != null">
-        login_status = #{record.loginStatus,jdbcType=BIT},
-      </if>
-      <if test="record.updateTime != null">
-        update_time = #{record.updateTime,jdbcType=TIMESTAMP},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    update qywx_user_corp
-    set id = #{record.id,jdbcType=BIGINT},
-      user_id = #{record.userId,jdbcType=BIGINT},
-      corp_id = #{record.corpId,jdbcType=BIGINT},
-      unionid = #{record.unionid,jdbcType=VARCHAR},
-      acctid = #{record.acctid,jdbcType=VARCHAR},
-      `position` = #{record.position,jdbcType=VARCHAR},
-      english_name = #{record.englishName,jdbcType=VARCHAR},
-      corp_name = #{record.corpName,jdbcType=VARCHAR},
-      login_status = #{record.loginStatus,jdbcType=BIT},
-      update_time = #{record.updateTime,jdbcType=TIMESTAMP}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.tzld.piaoquan.risk.control.model.po.UserCorp">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    update qywx_user_corp
-    <set>
-      <if test="userId != null">
-        user_id = #{userId,jdbcType=BIGINT},
-      </if>
-      <if test="corpId != null">
-        corp_id = #{corpId,jdbcType=BIGINT},
-      </if>
-      <if test="unionid != null">
-        unionid = #{unionid,jdbcType=VARCHAR},
-      </if>
-      <if test="acctid != null">
-        acctid = #{acctid,jdbcType=VARCHAR},
-      </if>
-      <if test="position != null">
-        `position` = #{position,jdbcType=VARCHAR},
-      </if>
-      <if test="englishName != null">
-        english_name = #{englishName,jdbcType=VARCHAR},
-      </if>
-      <if test="corpName != null">
-        corp_name = #{corpName,jdbcType=VARCHAR},
-      </if>
-      <if test="loginStatus != null">
-        login_status = #{loginStatus,jdbcType=BIT},
-      </if>
-      <if test="updateTime != null">
-        update_time = #{updateTime,jdbcType=TIMESTAMP},
-      </if>
-    </set>
-    where id = #{id,jdbcType=BIGINT}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.risk.control.model.po.UserCorp">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Thu May 22 19:38:00 CST 2025.
-    -->
-    update qywx_user_corp
-    set user_id = #{userId,jdbcType=BIGINT},
-      corp_id = #{corpId,jdbcType=BIGINT},
-      unionid = #{unionid,jdbcType=VARCHAR},
-      acctid = #{acctid,jdbcType=VARCHAR},
-      `position` = #{position,jdbcType=VARCHAR},
-      english_name = #{englishName,jdbcType=VARCHAR},
-      corp_name = #{corpName,jdbcType=VARCHAR},
-      login_status = #{loginStatus,jdbcType=BIT},
-      update_time = #{updateTime,jdbcType=TIMESTAMP}
-    where id = #{id,jdbcType=BIGINT}
-  </update>
-</mapper>

+ 2 - 3
risk-control-core/src/main/resources/mybatis-generator-config.xml

@@ -56,9 +56,8 @@
         </javaClientGenerator>
 
         <!-- 表配置 -->
-        <table tableName="user" domainObjectName="User"/>
-        <table tableName="qywx_user_corp" domainObjectName="UserCorp"/>
+        <!-- <table tableName="user" domainObjectName="User"/> -->
         <table tableName="qywx_user_base" domainObjectName="UserBase"/>
-        <table tableName="work_wechat_room_info" domainObjectName="WorkWechatRoomInfo"/>
+        <!-- <table tableName="work_wechat_room_info" domainObjectName="WorkWechatRoomInfo"/> -->
     </context>
 </generatorConfiguration>

+ 3 - 4
risk-control-server/src/main/java/com/tzld/piaoquan/risk/control/controller/WorkWechatController.java

@@ -20,10 +20,9 @@ public class WorkWechatController {
     private WorkWechatService workWechatService;
 
     @GetMapping("/user/info/page")
-    public CommonResponse<Page<WorkWechatUserInfo>> page(@RequestParam("pageSize") int pageSize, @RequestParam("pageNum") int pageNum) {
-        log.info("[work wechat findUserInfoList] pageSize:{},pageNum:{}", pageSize, pageNum);
-        workWechatService.findUserInfoList(pageSize, pageNum);
-        return null;
+    public CommonResponse<Page<WorkWechatUserInfo>> page(@RequestParam("pageSize") int pageSize, @RequestParam("currentPage") int currentPage) {
+        log.info("[work wechat findUserInfoList] pageSize:{}, currentPage:{}", pageSize, currentPage);
+        return CommonResponse.create(workWechatService.findUserInfoList(pageSize, currentPage));
     }
 
 }