xucaiqin il y a 2 jours
Parent
commit
740c59a11b
16 fichiers modifiés avec 0 ajouts et 1666 suppressions
  1. 0 81
      sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletAccountMapper.java
  2. 0 81
      sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletBalanceMapper.java
  3. 0 81
      sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletBankCallbackMapper.java
  4. 0 72
      sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletBankRequestMapper.java
  5. 0 81
      sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletEntInfoMapper.java
  6. 0 85
      sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletEntUserMapper.java
  7. 0 72
      sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletRequestLogMapper.java
  8. 0 79
      sckw-modules/sckw-payment/src/main/java/com/sckw/payment/service/IWalletRequestLogService.java
  9. 0 78
      sckw-modules/sckw-payment/src/main/java/com/sckw/payment/service/impl/WalletRequestLogServiceImpl.java
  10. 0 144
      sckw-modules/sckw-payment/src/main/resources/mapper/WalletAccountMapper.xml
  11. 0 181
      sckw-modules/sckw-payment/src/main/resources/mapper/WalletBalanceMapper.xml
  12. 0 105
      sckw-modules/sckw-payment/src/main/resources/mapper/WalletBankCallbackMapper.xml
  13. 0 109
      sckw-modules/sckw-payment/src/main/resources/mapper/WalletBankRequestMapper.xml
  14. 0 175
      sckw-modules/sckw-payment/src/main/resources/mapper/WalletEntInfoMapper.xml
  15. 0 137
      sckw-modules/sckw-payment/src/main/resources/mapper/WalletEntUserMapper.xml
  16. 0 105
      sckw-modules/sckw-payment/src/main/resources/mapper/WalletRequestLogMapper.xml

+ 0 - 81
sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletAccountMapper.java

@@ -1,81 +0,0 @@
-package com.sckw.payment.mapper;
-
-import com.sckw.payment.entity.WalletAccount;
-import org.apache.ibatis.annotations.Mapper;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-/**
- * 钱包账户表Mapper接口
- *
- * @author tangys
- * @since  2026-01-06 10:30:54
- */
-@Mapper
-public interface WalletAccountMapper {
-    /**
-     * 分页查询钱包账户表列表
-     *
-     * @param walletAccount 钱包账户表
-     * @return 钱包账户表列表
-     */
-    List<WalletAccount> selectWalletAccountList(WalletAccount walletAccount);
-
-    /**
-     * 根据主键ID查询钱包账户表
-     *
-     * @param id 主键id
-     * @return 钱包账户表
-     */
-    WalletAccount selectWalletAccountById(@Param("id") Long id);
-
-    /**
-     * 根据主键ID列表查询钱包账户表列表
-     *
-     * @param idList 主键id列表
-     * @return 列表数据
-     */
-    List<WalletAccount> selectWalletAccountByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 新增钱包账户表
-     *
-     * @param walletAccount 钱包账户表
-     * @return 结果数据
-     */
-    int insertWalletAccount(WalletAccount walletAccount);
-
-    /**
-     * 修改钱包账户表
-     *
-     * @param walletAccount 钱包账户表
-     * @return 结果数据
-     */
-    int updateWalletAccount(WalletAccount walletAccount);
-
-    /**
-     * 删除钱包账户表
-     *
-     * @param id 主键id
-     * @return 结果数据
-     */
-    int deleteWalletAccountById(@Param("id") Long id);
-
-    /**
-     * 批量删除钱包账户表
-     *
-     * @param idList 主键id列表
-     * @return 结果数据
-     */
-    int deleteWalletAccountByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 批量逻辑删除钱包账户表
-     *
-     * @param idList 主键id列表
-     * @param updateBy 登录用户名
-     * @return 结果数据
-     */
-    int deleteWalletAccountLogicByIds(@Param("idList") List<Long> idList, @Param("updateBy") Long updateBy);
-}

+ 0 - 81
sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletBalanceMapper.java

@@ -1,81 +0,0 @@
-package com.sckw.payment.mapper;
-
-import com.sckw.payment.entity.WalletBalance;
-import org.apache.ibatis.annotations.Mapper;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-/**
- * 钱包余额明细表Mapper接口
- *
- * @author tangys
- * @since  2026-01-12 16:24:22
- */
-@Mapper
-public interface WalletBalanceMapper {
-    /**
-     * 分页查询钱包余额明细表列表
-     *
-     * @param walletBalance 钱包余额明细表
-     * @return 钱包余额明细表列表
-     */
-    List<WalletBalance> selectWalletBalanceList(WalletBalance walletBalance);
-
-    /**
-     * 根据主键ID查询钱包余额明细表
-     *
-     * @param id 明细主键
-     * @return 钱包余额明细表
-     */
-    WalletBalance selectWalletBalanceById(@Param("id") Long id);
-
-    /**
-     * 根据主键ID列表查询钱包余额明细表列表
-     *
-     * @param idList 明细主键列表
-     * @return 列表数据
-     */
-    List<WalletBalance> selectWalletBalanceByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 新增钱包余额明细表
-     *
-     * @param walletBalance 钱包余额明细表
-     * @return 结果数据
-     */
-    int insertWalletBalance(WalletBalance walletBalance);
-
-    /**
-     * 修改钱包余额明细表
-     *
-     * @param walletBalance 钱包余额明细表
-     * @return 结果数据
-     */
-    int updateWalletBalance(WalletBalance walletBalance);
-
-    /**
-     * 删除钱包余额明细表
-     *
-     * @param id 明细主键
-     * @return 结果数据
-     */
-    int deleteWalletBalanceById(@Param("id") Long id);
-
-    /**
-     * 批量删除钱包余额明细表
-     *
-     * @param idList 明细主键列表
-     * @return 结果数据
-     */
-    int deleteWalletBalanceByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 批量逻辑删除钱包余额明细表
-     *
-     * @param idList 明细主键列表
-     * @param loginName 登录用户名
-     * @return 结果数据
-     */
-    int deleteWalletBalanceLogicByIds(@Param("idList") List<Long> idList, @Param("loginName") String loginName);
-}

+ 0 - 81
sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletBankCallbackMapper.java

@@ -1,81 +0,0 @@
-package com.sckw.payment.mapper;
-
-import com.sckw.payment.entity.WalletBankCallback;
-import org.apache.ibatis.annotations.Mapper;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-/**
- * 银行回调日志表Mapper接口
- *
- * @author tangys
- * @since  2026-01-06 10:30:54
- */
-@Mapper
-public interface WalletBankCallbackMapper {
-    /**
-     * 分页查询银行回调日志表列表
-     *
-     * @param walletBankCallback 银行回调日志表
-     * @return 银行回调日志表列表
-     */
-    List<WalletBankCallback> selectWalletBankCallbackList(WalletBankCallback walletBankCallback);
-
-    /**
-     * 根据主键ID查询银行回调日志表
-     *
-     * @param id 主键ID
-     * @return 银行回调日志表
-     */
-    WalletBankCallback selectWalletBankCallbackById(@Param("id") Long id);
-
-    /**
-     * 根据主键ID列表查询银行回调日志表列表
-     *
-     * @param idList 主键ID列表
-     * @return 列表数据
-     */
-    List<WalletBankCallback> selectWalletBankCallbackByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 新增银行回调日志表
-     *
-     * @param walletBankCallback 银行回调日志表
-     * @return 结果数据
-     */
-    int insertWalletBankCallback(WalletBankCallback walletBankCallback);
-
-    /**
-     * 修改银行回调日志表
-     *
-     * @param walletBankCallback 银行回调日志表
-     * @return 结果数据
-     */
-    int updateWalletBankCallback(WalletBankCallback walletBankCallback);
-
-    /**
-     * 删除银行回调日志表
-     *
-     * @param id 主键ID
-     * @return 结果数据
-     */
-    int deleteWalletBankCallbackById(@Param("id") Long id);
-
-    /**
-     * 批量删除银行回调日志表
-     *
-     * @param idList 主键ID列表
-     * @return 结果数据
-     */
-    int deleteWalletBankCallbackByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 批量逻辑删除银行回调日志表
-     *
-     * @param idList 主键ID列表
-     * @param updateBy 登录用户名
-     * @return 结果数据
-     */
-    int deleteWalletBankCallbackLogicByIds(@Param("idList") List<Long> idList, @Param("updateBy") Long updateBy);
-}

+ 0 - 72
sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletBankRequestMapper.java

@@ -1,72 +0,0 @@
-package com.sckw.payment.mapper;
-
-import com.sckw.payment.entity.WalletBankRequest;
-import org.apache.ibatis.annotations.Mapper;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-/**
- * 银行请求响应表Mapper接口
- *
- * @author tangys
- * @since  2026-01-06 10:30:54
- */
-@Mapper
-public interface WalletBankRequestMapper {
-    /**
-     * 分页查询银行请求响应表列表
-     *
-     * @param walletBankRequest 银行请求响应表
-     * @return 银行请求响应表列表
-     */
-    List<WalletBankRequest> selectWalletBankRequestList(WalletBankRequest walletBankRequest);
-
-    /**
-     * 根据主键ID查询银行请求响应表
-     *
-     * @param id 主键ID
-     * @return 银行请求响应表
-     */
-    WalletBankRequest selectWalletBankRequestById(@Param("id") Long id);
-
-    /**
-     * 根据主键ID列表查询银行请求响应表列表
-     *
-     * @param idList 主键ID列表
-     * @return 列表数据
-     */
-    List<WalletBankRequest> selectWalletBankRequestByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 新增银行请求响应表
-     *
-     * @param walletBankRequest 银行请求响应表
-     * @return 结果数据
-     */
-    int insertWalletBankRequest(WalletBankRequest walletBankRequest);
-
-    /**
-     * 修改银行请求响应表
-     *
-     * @param walletBankRequest 银行请求响应表
-     * @return 结果数据
-     */
-    int updateWalletBankRequest(WalletBankRequest walletBankRequest);
-
-    /**
-     * 删除银行请求响应表
-     *
-     * @param id 主键ID
-     * @return 结果数据
-     */
-    int deleteWalletBankRequestById(@Param("id") Long id);
-
-    /**
-     * 批量删除银行请求响应表
-     *
-     * @param idList 主键ID列表
-     * @return 结果数据
-     */
-    int deleteWalletBankRequestByIds(@Param("idList") List<Long> idList);
-}

+ 0 - 81
sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletEntInfoMapper.java

@@ -1,81 +0,0 @@
-package com.sckw.payment.mapper;
-
-import com.sckw.payment.entity.WalletEntInfo;
-import org.apache.ibatis.annotations.Mapper;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-/**
- * 开户企业信息表Mapper接口
- *
- * @author tangys
- * @since  2026-01-07 16:59:01
- */
-@Mapper
-public interface WalletEntInfoMapper {
-    /**
-     * 分页查询开户企业信息表列表
-     *
-     * @param walletEntInfo 开户企业信息表
-     * @return 开户企业信息表列表
-     */
-    List<WalletEntInfo> selectWalletEntInfoList(WalletEntInfo walletEntInfo);
-
-    /**
-     * 根据主键ID查询开户企业信息表
-     *
-     * @param id id
-     * @return 开户企业信息表
-     */
-    WalletEntInfo selectWalletEntInfoById(@Param("id") Long id);
-
-    /**
-     * 根据主键ID列表查询开户企业信息表列表
-     *
-     * @param idList id列表
-     * @return 列表数据
-     */
-    List<WalletEntInfo> selectWalletEntInfoByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 新增开户企业信息表
-     *
-     * @param walletEntInfo 开户企业信息表
-     * @return 结果数据
-     */
-    int insertWalletEntInfo(WalletEntInfo walletEntInfo);
-
-    /**
-     * 修改开户企业信息表
-     *
-     * @param walletEntInfo 开户企业信息表
-     * @return 结果数据
-     */
-    int updateWalletEntInfo(WalletEntInfo walletEntInfo);
-
-    /**
-     * 删除开户企业信息表
-     *
-     * @param id id
-     * @return 结果数据
-     */
-    int deleteWalletEntInfoById(@Param("id") Long id);
-
-    /**
-     * 批量删除开户企业信息表
-     *
-     * @param idList id列表
-     * @return 结果数据
-     */
-    int deleteWalletEntInfoByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 批量逻辑删除开户企业信息表
-     *
-     * @param idList id列表
-     * @param loginName 登录用户名
-     * @return 结果数据
-     */
-    int deleteWalletEntInfoLogicByIds(@Param("idList") List<Long> idList, @Param("loginName") String loginName);
-}

+ 0 - 85
sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletEntUserMapper.java

@@ -1,85 +0,0 @@
-package com.sckw.payment.mapper;
-
-import com.sckw.payment.entity.WalletEntUser;
-import org.apache.ibatis.annotations.Mapper;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-/**
- * 企业股东或最终收益人Mapper接口
- *
- * @author tangys
- * @since  2026-01-07 16:59:01
- */
-@Mapper
-public interface WalletEntUserMapper {
-    /**
-     * 分页查询企业股东或最终收益人列表
-     *
-     * @param walletEntUser 企业股东或最终收益人
-     * @return 企业股东或最终收益人列表
-     */
-    List<WalletEntUser> selectWalletEntUserList(WalletEntUser walletEntUser);
-
-    /**
-     * 根据主键ID查询企业股东或最终收益人
-     *
-     * @param id id
-     * @return 企业股东或最终收益人
-     */
-    WalletEntUser selectWalletEntUserById(@Param("id") Long id);
-
-    /**
-     * 根据主键ID列表查询企业股东或最终收益人列表
-     *
-     * @param idList id列表
-     * @return 列表数据
-     */
-    List<WalletEntUser> selectWalletEntUserByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 新增企业股东或最终收益人
-     *
-     * @param walletEntUser 企业股东或最终收益人
-     * @return 结果数据
-     */
-    int insertWalletEntUser(WalletEntUser walletEntUser);
-
-    int insertBatch(@Param("walletEntUsers") List<WalletEntUser> walletEntUsers);
-
-
-
-    /**
-     * 修改企业股东或最终收益人
-     *
-     * @param walletEntUser 企业股东或最终收益人
-     * @return 结果数据
-     */
-    int updateWalletEntUser(WalletEntUser walletEntUser);
-
-    /**
-     * 删除企业股东或最终收益人
-     *
-     * @param id id
-     * @return 结果数据
-     */
-    int deleteWalletEntUserById(@Param("id") Long id);
-
-    /**
-     * 批量删除企业股东或最终收益人
-     *
-     * @param idList id列表
-     * @return 结果数据
-     */
-    int deleteWalletEntUserByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 批量逻辑删除企业股东或最终收益人
-     *
-     * @param idList id列表
-     * @param loginName 登录用户名
-     * @return 结果数据
-     */
-    int deleteWalletEntUserLogicByIds(@Param("idList") List<Long> idList, @Param("loginName") String loginName);
-}

+ 0 - 72
sckw-modules/sckw-payment/src/main/java/com/sckw/payment/mapper/WalletRequestLogMapper.java

@@ -1,72 +0,0 @@
-package com.sckw.payment.mapper;
-
-import com.sckw.payment.entity.WalletRequestLog;
-import org.apache.ibatis.annotations.Mapper;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-/**
- * 钱包接口幂等控制表Mapper接口
- *
- * @author tangys
- * @since  2026-01-06 10:30:54
- */
-@Mapper
-public interface WalletRequestLogMapper {
-    /**
-     * 分页查询钱包接口幂等控制表列表
-     *
-     * @param walletRequestLog 钱包接口幂等控制表
-     * @return 钱包接口幂等控制表列表
-     */
-    List<WalletRequestLog> selectWalletRequestLogList(WalletRequestLog walletRequestLog);
-
-    /**
-     * 根据主键ID查询钱包接口幂等控制表
-     *
-     * @param id 主键ID
-     * @return 钱包接口幂等控制表
-     */
-    WalletRequestLog selectWalletRequestLogById(@Param("id") Long id);
-
-    /**
-     * 根据主键ID列表查询钱包接口幂等控制表列表
-     *
-     * @param idList 主键ID列表
-     * @return 列表数据
-     */
-    List<WalletRequestLog> selectWalletRequestLogByIds(@Param("idList") List<Long> idList);
-
-    /**
-     * 新增钱包接口幂等控制表
-     *
-     * @param walletRequestLog 钱包接口幂等控制表
-     * @return 结果数据
-     */
-    int insertWalletRequestLog(WalletRequestLog walletRequestLog);
-
-    /**
-     * 修改钱包接口幂等控制表
-     *
-     * @param walletRequestLog 钱包接口幂等控制表
-     * @return 结果数据
-     */
-    int updateWalletRequestLog(WalletRequestLog walletRequestLog);
-
-    /**
-     * 删除钱包接口幂等控制表
-     *
-     * @param id 主键ID
-     * @return 结果数据
-     */
-    int deleteWalletRequestLogById(@Param("id") Long id);
-
-    /**
-     * 批量删除钱包接口幂等控制表
-     *
-     * @param idList 主键ID列表
-     * @return 结果数据
-     */
-    int deleteWalletRequestLogByIds(@Param("idList") List<Long> idList);
-}

+ 0 - 79
sckw-modules/sckw-payment/src/main/java/com/sckw/payment/service/IWalletRequestLogService.java

@@ -1,79 +0,0 @@
-package com.sckw.payment.service;
-
-import com.sckw.payment.entity.WalletRequestLog;
-
-import java.util.List;
-import java.util.Map;
-
-
-/**
- * 钱包接口幂等控制表Service接口
- *
- * @author tangys
- * @since  2026-01-06 11:03:35
- */
-public interface IWalletRequestLogService {
-    /**
-     * 分页查询钱包接口幂等控制表列表
-     *
-     * @param walletRequestLog 钱包接口幂等控制表
-     * @return 钱包接口幂等控制表列表
-     */
-    List<WalletRequestLog> selectWalletRequestLogList(WalletRequestLog walletRequestLog);
-
-    /**
-     * 查询钱包接口幂等控制表
-     *
-     * @param id 主键ID
-     * @return 钱包接口幂等控制表
-     */
-    WalletRequestLog selectWalletRequestLogById(Long id);
-
-    /**
-     * 根据主键ID列表查询钱包接口幂等控制表列表
-     *
-     * @param idList 主键ID列表
-     * @return 列表数据
-     */
-    List<WalletRequestLog> selectWalletRequestLogByIds(List<Long> idList);
-
-    /**
-     * 根据主键ID列表查询钱包接口幂等控制表集合
-     *
-     * @param idList 主键ID列表
-     * @return Map<主键ID, 钱包接口幂等控制表>
-     */
-    Map<Long, WalletRequestLog> mapWalletRequestLogByIds(List<Long> idList);
-
-    /**
-     * 新增钱包接口幂等控制表
-     *
-     * @param walletRequestLog 钱包接口幂等控制表
-     * @return 结果数据
-     */
-    int insertWalletRequestLog(WalletRequestLog walletRequestLog);
-
-    /**
-     * 修改钱包接口幂等控制表
-     *
-     * @param walletRequestLog 钱包接口幂等控制表
-     * @return 结果数据
-     */
-    int updateWalletRequestLog(WalletRequestLog walletRequestLog);
-
-    /**
-     * 删除钱包接口幂等控制表
-     *
-     * @param id 主键ID
-     * @return 结果数据
-     */
-    int deleteWalletRequestLogById(Long id);
-
-    /**
-     * 批量删除钱包接口幂等控制表
-     *
-     * @param idList 主键ID列表
-     * @return 结果数据
-     */
-    int deleteWalletRequestLogByIds(List<Long> idList);
-}

+ 0 - 78
sckw-modules/sckw-payment/src/main/java/com/sckw/payment/service/impl/WalletRequestLogServiceImpl.java

@@ -1,78 +0,0 @@
-package com.sckw.payment.service.impl;
-
-import com.sckw.payment.entity.WalletRequestLog;
-import com.sckw.payment.mapper.WalletRequestLogMapper;
-import com.sckw.payment.service.IWalletRequestLogService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-import org.springframework.util.CollectionUtils;
-
-import java.util.*;
-import java.util.stream.Collectors;
-
-
-/**
- * 钱包接口幂等控制表Service接口实现
- *
- * @author tangys
- * @since  2026-01-06 11:03:35
- */
-@Service
-public class WalletRequestLogServiceImpl implements IWalletRequestLogService {
-
-    @Autowired
-    private WalletRequestLogMapper walletRequestLogMapper;
-
-    @Override
-    public List<WalletRequestLog> selectWalletRequestLogList(WalletRequestLog walletRequestLog) {
-        return walletRequestLogMapper.selectWalletRequestLogList(walletRequestLog);
-    }
-
-    @Override
-    public WalletRequestLog selectWalletRequestLogById(Long id) {
-        return walletRequestLogMapper.selectWalletRequestLogById(id);
-    }
-
-    @Override
-    public List<WalletRequestLog> selectWalletRequestLogByIds(List<Long> idList) {
-        idList = Optional.ofNullable(idList).orElse(Collections.emptyList()).stream().filter(Objects::nonNull).distinct().collect(Collectors.toList());
-        if (CollectionUtils.isEmpty(idList)) {
-            return Collections.emptyList();
-        }
-        return walletRequestLogMapper.selectWalletRequestLogByIds(idList);
-    }
-
-    @Override
-    public Map<Long, WalletRequestLog> mapWalletRequestLogByIds(List<Long> idList) {
-        List<WalletRequestLog> list = selectWalletRequestLogByIds(idList);
-        return Optional.ofNullable(list).orElse(Collections.emptyList()).stream().collect(Collectors.toMap(WalletRequestLog::getId, WalletRequestLog -> WalletRequestLog));
-    }
-
-    @Transactional(rollbackFor = Exception.class)
-    @Override
-    public int insertWalletRequestLog(WalletRequestLog walletRequestLog) {
-        return walletRequestLogMapper.insertWalletRequestLog(walletRequestLog);
-    }
-
-    @Transactional(rollbackFor = Exception.class)
-    @Override
-    public int updateWalletRequestLog(WalletRequestLog walletRequestLog) {
-        return walletRequestLogMapper.updateWalletRequestLog(walletRequestLog);
-    }
-
-    @Transactional(rollbackFor = Exception.class)
-    @Override
-    public int deleteWalletRequestLogById(Long id) {
-        return walletRequestLogMapper.deleteWalletRequestLogById(id);
-    }
-
-    @Transactional(rollbackFor = Exception.class)
-    @Override
-    public int deleteWalletRequestLogByIds(List<Long> idList) {
-        if (CollectionUtils.isEmpty(idList)) {
-            return 0;
-        }
-        return walletRequestLogMapper.deleteWalletRequestLogByIds(idList);
-    }
-}

+ 0 - 144
sckw-modules/sckw-payment/src/main/resources/mapper/WalletAccountMapper.xml

@@ -1,144 +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">
-
-<!-- 钱包账户表(wallet_account) -->
-<mapper namespace="com.sckw.payment.mapper.WalletAccountMapper">
-    <!-- 字段映射 -->
-    <resultMap id="walletAccountMap" type="com.sckw.payment.entity.WalletAccount">
-        <id     column="id"                    property="id" />
-        <result column="ent_id"                property="entId" />
-        <result column="b_withdraw_wallet_no"  property="bWithdrawWalletNo" />
-        <result column="b_freeze_wallet_no"    property="bFreezeWalletNo" />
-        <result column="available_balance"     property="availableBalance" />
-        <result column="frozen_balance"        property="frozenBalance" />
-        <result column="version"               property="version" />
-        <result column="status"                property="status" />
-        <result column="remark"                property="remark" />
-        <result column="del_flag"              property="delFlag" />
-        <result column="create_by"             property="createBy" />
-        <result column="create_time"           property="createTime" />
-        <result column="update_by"             property="updateBy" />
-        <result column="update_time"           property="updateTime" />
-    </resultMap>
-
-    <!-- 表所有字段 -->
-    <sql id="allColumns">
-        wa.id, wa.ent_id, wa.b_withdraw_wallet_no, wa.b_freeze_wallet_no, wa.available_balance, wa.frozen_balance, wa.version, wa.status,
-        wa.remark, wa.del_flag, wa.create_by, wa.create_time, wa.update_by, wa.update_time
-    </sql>
-
-    <!-- 分页查询钱包账户表列表 -->
-    <select id="selectWalletAccountList" resultMap="walletAccountMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_account wa WHERE wa.DEL_FLAG = '0'
-        <if test="entId != null">
-            AND wa.ent_id = #{entId}
-        </if>
-        <if test="bWithdrawWalletNo != null and bWithdrawWalletNo != ''">
-            AND wa.b_withdraw_wallet_no LIKE CONCAT('%', #{bWithdrawWalletNo}, '%')
-        </if>
-    </select>
-
-    <!-- 根据主键ID查询钱包账户表 -->
-    <select id="selectWalletAccountById" resultMap="walletAccountMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_account wa WHERE wa.id = #{id}
-    </select>
-
-    <!-- 根据主键ID列表查询钱包账户表列表 -->
-    <select id="selectWalletAccountByIds" resultMap="walletAccountMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_account wa WHERE wa.id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </select>
-
-    <!-- 新增钱包账户表 -->
-    <insert id="insertWalletAccount" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-        INSERT INTO wallet_account
-        <trim prefix="(" suffix=")" suffixOverrides=",">
-            <if test="id != null">id,</if>
-            <if test="entId != null">ent_id,</if>
-            <if test="bWithdrawWalletNo != null">b_withdraw_wallet_no,</if>
-            <if test="bFreezeWalletNo != null">b_freeze_wallet_no,</if>
-            <if test="availableBalance != null">available_balance,</if>
-            <if test="frozenBalance != null">frozen_balance,</if>
-            <if test="version != null">version,</if>
-            <if test="status != null">status,</if>
-            <if test="remark != null">remark,</if>
-            <if test="delFlag != null">del_flag,</if>
-            <if test="createBy != null">create_by,</if>
-            <if test="createTime != null">create_time,</if>
-            <if test="updateBy != null">update_by,</if>
-            <if test="updateTime != null">update_time</if>
-        </trim>
-        <trim prefix="VALUES (" suffix=")" suffixOverrides=",">
-            <if test="id != null">#{id},</if>
-            <if test="entId != null">#{entId},</if>
-            <if test="bWithdrawWalletNo != null">#{bWithdrawWalletNo},</if>
-            <if test="bFreezeWalletNo != null">#{bFreezeWalletNo},</if>
-            <if test="availableBalance != null">#{availableBalance},</if>
-            <if test="frozenBalance != null">#{frozenBalance},</if>
-            <if test="version != null">#{version},</if>
-            <if test="status != null">#{status},</if>
-            <if test="remark != null">#{remark},</if>
-            <if test="delFlag != null">#{delFlag},</if>
-            <if test="createBy != null">#{createBy},</if>
-            <if test="createTime != null">#{createTime},</if>
-            <if test="updateBy != null">#{updateBy},</if>
-            <if test="updateTime != null">#{updateTime}</if>
-        </trim>
-    </insert>
-
-    <!-- 修改钱包账户表 -->
-    <update id="updateWalletAccount">
-        UPDATE wallet_account
-        <set>
-            <if test="entId != null">ent_id = #{entId},</if>
-            <if test="bWithdrawWalletNo != null">b_withdraw_wallet_no = #{bWithdrawWalletNo},</if>
-            <if test="bFreezeWalletNo != null">b_freeze_wallet_no = #{bFreezeWalletNo},</if>
-            <if test="availableBalance != null">available_balance = #{availableBalance},</if>
-            <if test="frozenBalance != null">frozen_balance = #{frozenBalance},</if>
-            <if test="version != null">version = #{version},</if>
-            <if test="status != null">status = #{status},</if>
-            <if test="remark != null">remark = #{remark},</if>
-            <if test="delFlag != null">del_flag = #{delFlag},</if>
-            <if test="createBy != null">create_by = #{createBy},</if>
-            <if test="createTime != null">create_time = #{createTime},</if>
-            <if test="updateBy != null">update_by = #{updateBy},</if>
-            <if test="updateTime != null">update_time = #{updateTime}</if>
-        </set>
-        WHERE id = #{id}
-    </update>
-
-    <!-- 删除钱包账户表 -->
-    <delete id="deleteWalletAccountById">
-        DELETE FROM wallet_account WHERE id = #{id}
-    </delete>
-
-    <!-- 批量删除钱包账户表 -->
-    <delete id="deleteWalletAccountByIds">
-        DELETE FROM wallet_account WHERE id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </delete>
-
-    <!-- 批量逻辑删除钱包账户表 -->
-    <update id="deleteWalletAccountLogicByIds">
-        UPDATE wallet_account
-        <set>
-            DEL_FLAG = '1',
-            UPDATE_TIME = NOW(),
-            <if test="updateBy != null and updateBy != ''">UPDATE_BY = #{updateBy}</if>
-        </set>
-        WHERE DEL_FLAG = '0' AND id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </update>
-</mapper>

+ 0 - 181
sckw-modules/sckw-payment/src/main/resources/mapper/WalletBalanceMapper.xml

@@ -1,181 +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">
-
-<!-- 钱包余额明细表(wallet_balance) -->
-<mapper namespace="com.sckw.payment.mapper.WalletBalanceMapper">
-    <!-- This code was generated by TableGo tools, mark 1 begin. -->
-    <!-- 字段映射 -->
-    <resultMap id="walletBalanceMap" type="com.sckw.payment.entity.WalletBalance">
-        <id     column="id"                    property="id" />
-        <result column="order_no"              property="orderNo" />
-        <result column="order_type"            property="orderType" />
-        <result column="ent_id"                property="entId" />
-        <result column="trade_ent_id"          property="tradeEntId" />
-        <result column="trade_type"            property="tradeType" />
-        <result column="trade_amount"          property="tradeAmount" />
-        <result column="bank_serial_no"        property="bankSerialNo" />
-        <result column="available_before"      property="availableBefore" />
-        <result column="available_after"       property="availableAfter" />
-        <result column="frozen_before"         property="frozenBefore" />
-        <result column="frozen_after"          property="frozenAfter" />
-        <result column="available_prepaid"     property="availablePrepaid" />
-        <result column="counterparty_prepaid"  property="counterpartyPrepaid" />
-        <result column="status"                property="status" />
-        <result column="remark"                property="remark" />
-        <result column="voucher_flag"          property="voucherFlag" />
-        <result column="del_flag"              property="delFlag" />
-        <result column="create_by"             property="createBy" />
-        <result column="create_time"           property="createTime" />
-        <result column="update_by"             property="updateBy" />
-        <result column="update_time"           property="updateTime" />
-    </resultMap>
-
-    <!-- 表所有字段 -->
-    <sql id="allColumns">
-        wb.id, wb.order_no, wb.order_type, wb.ent_id, wb.trade_ent_id, wb.trade_type, wb.trade_amount, wb.bank_serial_no,
-        wb.available_before, wb.available_after, wb.frozen_before, wb.frozen_after, wb.available_prepaid, wb.counterparty_prepaid, wb.status, wb.remark,
-        wb.voucher_flag, wb.del_flag, wb.create_by, wb.create_time, wb.update_by, wb.update_time
-    </sql>
-    <!-- This code was generated by TableGo tools, mark 1 end. -->
-
-    <!-- 分页查询钱包余额明细表列表 -->
-    <select id="selectWalletBalanceList" resultMap="walletBalanceMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_balance wb WHERE wb.DEL_FLAG = '0'
-        <if test="orderNo != null and orderNo != ''">
-            AND wb.order_no LIKE CONCAT('%', #{orderNo}, '%')
-        </if>
-        <if test="orderType != null">
-            AND wb.order_type = #{orderType}
-        </if>
-    </select>
-
-    <!-- 根据主键ID查询钱包余额明细表 -->
-    <select id="selectWalletBalanceById" resultMap="walletBalanceMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_balance wb WHERE wb.id = #{id}
-    </select>
-
-    <!-- 根据主键ID列表查询钱包余额明细表列表 -->
-    <select id="selectWalletBalanceByIds" resultMap="walletBalanceMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_balance wb WHERE wb.id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </select>
-
-    <!-- This code was generated by TableGo tools, mark 2 begin. -->
-    <!-- 新增钱包余额明细表 -->
-    <insert id="insertWalletBalance" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-        INSERT INTO wallet_balance
-        <trim prefix="(" suffix=")" suffixOverrides=",">
-            <if test="id != null">id,</if>
-            <if test="orderNo != null">order_no,</if>
-            <if test="orderType != null">order_type,</if>
-            <if test="entId != null">ent_id,</if>
-            <if test="tradeEntId != null">trade_ent_id,</if>
-            <if test="tradeType != null">trade_type,</if>
-            <if test="tradeAmount != null">trade_amount,</if>
-            <if test="bankSerialNo != null">bank_serial_no,</if>
-            <if test="availableBefore != null">available_before,</if>
-            <if test="availableAfter != null">available_after,</if>
-            <if test="frozenBefore != null">frozen_before,</if>
-            <if test="frozenAfter != null">frozen_after,</if>
-            <if test="availablePrepaid != null">available_prepaid,</if>
-            <if test="counterpartyPrepaid != null">counterparty_prepaid,</if>
-            <if test="status != null">status,</if>
-            <if test="remark != null">remark,</if>
-            <if test="voucherFlag != null">voucher_flag,</if>
-            <if test="delFlag != null">del_flag,</if>
-            <if test="createBy != null">create_by,</if>
-            <if test="createTime != null">create_time,</if>
-            <if test="updateBy != null">update_by,</if>
-            <if test="updateTime != null">update_time</if>
-        </trim>
-        <trim prefix="VALUES (" suffix=")" suffixOverrides=",">
-            <if test="id != null">#{id},</if>
-            <if test="orderNo != null">#{orderNo},</if>
-            <if test="orderType != null">#{orderType},</if>
-            <if test="entId != null">#{entId},</if>
-            <if test="tradeEntId != null">#{tradeEntId},</if>
-            <if test="tradeType != null">#{tradeType},</if>
-            <if test="tradeAmount != null">#{tradeAmount},</if>
-            <if test="bankSerialNo != null">#{bankSerialNo},</if>
-            <if test="availableBefore != null">#{availableBefore},</if>
-            <if test="availableAfter != null">#{availableAfter},</if>
-            <if test="frozenBefore != null">#{frozenBefore},</if>
-            <if test="frozenAfter != null">#{frozenAfter},</if>
-            <if test="availablePrepaid != null">#{availablePrepaid},</if>
-            <if test="counterpartyPrepaid != null">#{counterpartyPrepaid},</if>
-            <if test="status != null">#{status},</if>
-            <if test="remark != null">#{remark},</if>
-            <if test="voucherFlag != null">#{voucherFlag},</if>
-            <if test="delFlag != null">#{delFlag},</if>
-            <if test="createBy != null">#{createBy},</if>
-            <if test="createTime != null">#{createTime},</if>
-            <if test="updateBy != null">#{updateBy},</if>
-            <if test="updateTime != null">#{updateTime}</if>
-        </trim>
-    </insert>
-
-    <!-- 修改钱包余额明细表 -->
-    <update id="updateWalletBalance">
-        UPDATE wallet_balance
-        <set>
-            <if test="orderNo != null">order_no = #{orderNo},</if>
-            <if test="orderType != null">order_type = #{orderType},</if>
-            <if test="entId != null">ent_id = #{entId},</if>
-            <if test="tradeEntId != null">trade_ent_id = #{tradeEntId},</if>
-            <if test="tradeType != null">trade_type = #{tradeType},</if>
-            <if test="tradeAmount != null">trade_amount = #{tradeAmount},</if>
-            <if test="bankSerialNo != null">bank_serial_no = #{bankSerialNo},</if>
-            <if test="availableBefore != null">available_before = #{availableBefore},</if>
-            <if test="availableAfter != null">available_after = #{availableAfter},</if>
-            <if test="frozenBefore != null">frozen_before = #{frozenBefore},</if>
-            <if test="frozenAfter != null">frozen_after = #{frozenAfter},</if>
-            <if test="availablePrepaid != null">available_prepaid = #{availablePrepaid},</if>
-            <if test="counterpartyPrepaid != null">counterparty_prepaid = #{counterpartyPrepaid},</if>
-            <if test="status != null">status = #{status},</if>
-            <if test="remark != null">remark = #{remark},</if>
-            <if test="voucherFlag != null">voucher_flag = #{voucherFlag},</if>
-            <if test="delFlag != null">del_flag = #{delFlag},</if>
-            <if test="createBy != null">create_by = #{createBy},</if>
-            <if test="createTime != null">create_time = #{createTime},</if>
-            <if test="updateBy != null">update_by = #{updateBy},</if>
-            <if test="updateTime != null">update_time = #{updateTime}</if>
-        </set>
-        WHERE id = #{id}
-    </update>
-    <!-- This code was generated by TableGo tools, mark 2 end. -->
-
-    <!-- 删除钱包余额明细表 -->
-    <delete id="deleteWalletBalanceById">
-        DELETE FROM wallet_balance WHERE id = #{id}
-    </delete>
-
-    <!-- 批量删除钱包余额明细表 -->
-    <delete id="deleteWalletBalanceByIds">
-        DELETE FROM wallet_balance WHERE id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </delete>
-
-    <!-- 批量逻辑删除钱包余额明细表 -->
-    <update id="deleteWalletBalanceLogicByIds">
-        UPDATE wallet_balance
-        <set>
-            DEL_FLAG = '2',
-            UPDATE_TIME = NOW(),
-            <if test="loginName != null and loginName != ''">UPDATE_BY = #{loginName}</if>
-        </set>
-        WHERE DEL_FLAG = '0' AND id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </update>
-</mapper>

+ 0 - 105
sckw-modules/sckw-payment/src/main/resources/mapper/WalletBankCallbackMapper.xml

@@ -1,105 +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">
-
-<!-- 银行回调日志表(wallet_bank_callback) -->
-<mapper namespace="com.sckw.payment.mapper.WalletBankCallbackMapper">
-    <!-- This code was generated by TableGo tools, mark 1 begin. -->
-    <!-- 字段映射 -->
-    <resultMap id="walletBankCallbackMap" type="com.sckw.payment.entity.WalletBankCallback">
-        <id     column="id"                    property="id" />
-        <result column="biz_no"                property="bizNo" />
-        <result column="callback_type"         property="callbackType" />
-        <result column="raw_content"           property="rawContent" />
-        <result column="remark"                property="remark" />
-        <result column="status"                property="status" />
-        <result column="created_at"            property="createdAt" />
-    </resultMap>
-
-    <!-- 表所有字段 -->
-    <sql id="allColumns">
-        wbc.id, wbc.biz_no, wbc.callback_type, wbc.raw_content, wbc.remark, wbc.status, wbc.created_at
-    </sql>
-    <!-- This code was generated by TableGo tools, mark 1 end. -->
-
-    <!-- 分页查询银行回调日志表列表 -->
-    <select id="selectWalletBankCallbackList" resultMap="walletBankCallbackMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_bank_callback wbc WHERE 1 = 1
-        <if test="bizNo != null and bizNo != ''">
-            AND wbc.biz_no LIKE CONCAT('%', #{bizNo}, '%')
-        </if>
-        <if test="callbackType != null">
-            AND wbc.callback_type = #{callbackType}
-        </if>
-    </select>
-
-    <!-- 根据主键ID查询银行回调日志表 -->
-    <select id="selectWalletBankCallbackById" resultMap="walletBankCallbackMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_bank_callback wbc WHERE wbc.id = #{id}
-    </select>
-
-    <!-- 根据主键ID列表查询银行回调日志表列表 -->
-    <select id="selectWalletBankCallbackByIds" resultMap="walletBankCallbackMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_bank_callback wbc WHERE wbc.id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </select>
-
-    <!-- This code was generated by TableGo tools, mark 2 begin. -->
-    <!-- 新增银行回调日志表 -->
-    <insert id="insertWalletBankCallback" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-        INSERT INTO wallet_bank_callback
-        <trim prefix="(" suffix=")" suffixOverrides=",">
-            <if test="id != null">id,</if>
-            <if test="bizNo != null">biz_no,</if>
-            <if test="callbackType != null">callback_type,</if>
-            <if test="rawContent != null">raw_content,</if>
-            <if test="remark != null">remark,</if>
-            <if test="status != null">status,</if>
-            <if test="createdAt != null">created_at</if>
-        </trim>
-        <trim prefix="VALUES (" suffix=")" suffixOverrides=",">
-            <if test="id != null">#{id},</if>
-            <if test="bizNo != null">#{bizNo},</if>
-            <if test="callbackType != null">#{callbackType},</if>
-            <if test="rawContent != null">#{rawContent},</if>
-            <if test="remark != null">#{remark},</if>
-            <if test="status != null">#{status},</if>
-            <if test="createdAt != null">#{createdAt}</if>
-        </trim>
-    </insert>
-
-    <!-- 修改银行回调日志表 -->
-    <update id="updateWalletBankCallback">
-        UPDATE wallet_bank_callback
-        <set>
-            <if test="bizNo != null">biz_no = #{bizNo},</if>
-            <if test="callbackType != null">callback_type = #{callbackType},</if>
-            <if test="rawContent != null">raw_content = #{rawContent},</if>
-            <if test="remark != null">remark = #{remark},</if>
-            <if test="status != null">status = #{status},</if>
-            <if test="createdAt != null">created_at = #{createdAt}</if>
-        </set>
-        WHERE id = #{id}
-    </update>
-    <!-- This code was generated by TableGo tools, mark 2 end. -->
-
-    <!-- 删除银行回调日志表 -->
-    <delete id="deleteWalletBankCallbackById">
-        DELETE FROM wallet_bank_callback WHERE id = #{id}
-    </delete>
-
-    <!-- 批量删除银行回调日志表 -->
-    <delete id="deleteWalletBankCallbackByIds">
-        DELETE FROM wallet_bank_callback WHERE id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </delete>
-</mapper>

+ 0 - 109
sckw-modules/sckw-payment/src/main/resources/mapper/WalletBankRequestMapper.xml

@@ -1,109 +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">
-
-<!-- 银行回调日志表(wallet_bank_request) -->
-<mapper namespace="com.sckw.payment.mapper.WalletBankRequestMapper">
-    <!-- This code was generated by TableGo tools, mark 1 begin. -->
-    <!-- 字段映射 -->
-    <resultMap id="walletBankRequestMap" type="com.sckw.payment.entity.WalletBankRequest">
-        <id     column="id"                    property="id" />
-        <result column="biz_type"              property="bizType" />
-        <result column="biz_no"                property="bizNo" />
-        <result column="resquest_content"      property="resquestContent" />
-        <result column="response_content"      property="responseContent" />
-        <result column="remark"                property="remark" />
-        <result column="status"                property="status" />
-        <result column="created_at"            property="createdAt" />
-    </resultMap>
-
-    <!-- 表所有字段 -->
-    <sql id="allColumns">
-        wbr.id, wbr.biz_type, wbr.biz_no, wbr.resquest_content, wbr.response_content, wbr.remark, wbr.status, wbr.created_at
-    </sql>
-    <!-- This code was generated by TableGo tools, mark 1 end. -->
-
-    <!-- 分页查询银行回调日志表列表 -->
-    <select id="selectWalletBankRequestList" resultMap="walletBankRequestMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_bank_request wbr WHERE 1 = 1
-        <if test="bizType != null and bizType != ''">
-            AND wbr.biz_type = #{bizType}
-        </if>
-        <if test="bizNo != null and bizNo != ''">
-            AND wbr.biz_no LIKE CONCAT('%', #{bizNo}, '%')
-        </if>
-    </select>
-
-    <!-- 根据主键ID查询银行回调日志表 -->
-    <select id="selectWalletBankRequestById" resultMap="walletBankRequestMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_bank_request wbr WHERE wbr.id = #{id}
-    </select>
-
-    <!-- 根据主键ID列表查询银行回调日志表列表 -->
-    <select id="selectWalletBankRequestByIds" resultMap="walletBankRequestMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_bank_request wbr WHERE wbr.id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </select>
-
-    <!-- This code was generated by TableGo tools, mark 2 begin. -->
-    <!-- 新增银行回调日志表 -->
-    <insert id="insertWalletBankRequest" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-        INSERT INTO wallet_bank_request
-        <trim prefix="(" suffix=")" suffixOverrides=",">
-            <if test="id != null">id,</if>
-            <if test="bizType != null">biz_type,</if>
-            <if test="bizNo != null">biz_no,</if>
-            <if test="resquestContent != null">resquest_content,</if>
-            <if test="responseContent != null">response_content,</if>
-            <if test="remark != null">remark,</if>
-            <if test="status != null">status,</if>
-            <if test="createdAt != null">created_at</if>
-        </trim>
-        <trim prefix="VALUES (" suffix=")" suffixOverrides=",">
-            <if test="id != null">#{id},</if>
-            <if test="bizType != null">#{bizType},</if>
-            <if test="bizNo != null">#{bizNo},</if>
-            <if test="resquestContent != null">#{resquestContent},</if>
-            <if test="responseContent != null">#{responseContent},</if>
-            <if test="remark != null">#{remark},</if>
-            <if test="status != null">#{status},</if>
-            <if test="createdAt != null">#{createdAt}</if>
-        </trim>
-    </insert>
-
-    <!-- 修改银行回调日志表 -->
-    <update id="updateWalletBankRequest">
-        UPDATE wallet_bank_request
-        <set>
-            <if test="bizType != null">biz_type = #{bizType},</if>
-            <if test="bizNo != null">biz_no = #{bizNo},</if>
-            <if test="resquestContent != null">resquest_content = #{resquestContent},</if>
-            <if test="responseContent != null">response_content = #{responseContent},</if>
-            <if test="remark != null">remark = #{remark},</if>
-            <if test="status != null">status = #{status},</if>
-            <if test="createdAt != null">created_at = #{createdAt}</if>
-        </set>
-        WHERE id = #{id}
-    </update>
-    <!-- This code was generated by TableGo tools, mark 2 end. -->
-
-    <!-- 删除银行回调日志表 -->
-    <delete id="deleteWalletBankRequestById">
-        DELETE FROM wallet_bank_request WHERE id = #{id}
-    </delete>
-
-    <!-- 批量删除银行回调日志表 -->
-    <delete id="deleteWalletBankRequestByIds">
-        DELETE FROM wallet_bank_request WHERE id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </delete>
-</mapper>

+ 0 - 175
sckw-modules/sckw-payment/src/main/resources/mapper/WalletEntInfoMapper.xml

@@ -1,175 +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">
-
-<!-- 开户企业信息表(wallet_ent_info) -->
-<mapper namespace="com.sckw.payment.mapper.WalletEntInfoMapper">
-    <!-- This code was generated by TableGo tools, mark 1 begin. -->
-    <!-- 字段映射 -->
-    <resultMap id="walletEntInfoMap" type="com.sckw.payment.entity.WalletEntInfo">
-        <id     column="id"                    property="id" />
-        <result column="ent_id"                property="entId" />
-        <result column="full_name"             property="fullName" />
-        <result column="address"               property="address" />
-        <result column="license_code"          property="licenseCode" />
-        <result column="license_start_date"    property="licenseStartDate" />
-        <result column="license_end_date"      property="licenseEndDate" />
-        <result column="real_address"          property="realAddress" />
-        <result column="license_file_id"       property="licenseFileId" />
-        <result column="license_file_duplicate_id" property="licenseFileDuplicateId" />
-        <result column="legal_name"            property="legalName" />
-        <result column="legal_id_card_no"      property="legalIdCardNo" />
-        <result column="legal_phone"           property="legalPhone" />
-        <result column="legal_start_date"      property="legalStartDate" />
-        <result column="legal_end_date"        property="legalEndDate" />
-        <result column="id_card_front_id"      property="idCardFrontId" />
-        <result column="id_card_back_id"       property="idCardBackId" />
-        <result column="contact_name"          property="contactName" />
-        <result column="contact_phone"         property="contactPhone" />
-        <result column="contact_id_card_no"    property="contactIdCardNo" />
-        <result column="contact_id_card_front_id" property="contactIdCardFrontId" />
-        <result column="contact_id_card_back_id" property="contactIdCardBackId" />
-        <result column="create_time"           property="createTime" />
-        <result column="update_time"           property="updateTime" />
-    </resultMap>
-
-    <!-- 表所有字段 -->
-    <sql id="allColumns">
-        wei.id, wei.ent_id, wei.full_name, wei.address, wei.license_code, wei.license_start_date, wei.license_end_date, wei.real_address,
-        wei.license_file_id, wei.license_file_duplicate_id, wei.legal_name, wei.legal_id_card_no, wei.legal_phone, wei.legal_start_date, wei.legal_end_date, wei.id_card_front_id,
-        wei.id_card_back_id, wei.contact_name, wei.contact_phone, wei.contact_id_card_no, wei.contact_id_card_front_id, wei.contact_id_card_back_id, wei.create_time, wei.update_time
-    </sql>
-    <!-- This code was generated by TableGo tools, mark 1 end. -->
-
-    <!-- 分页查询开户企业信息表列表 -->
-    <select id="selectWalletEntInfoList" resultMap="walletEntInfoMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_ent_info wei WHERE 1 = 1
-        <if test="entId != null">
-            AND wei.ent_id = #{entId}
-        </if>
-        <if test="fullName != null and fullName != ''">
-            AND wei.full_name LIKE CONCAT('%', #{fullName}, '%')
-        </if>
-    </select>
-
-    <!-- 根据主键ID查询开户企业信息表 -->
-    <select id="selectWalletEntInfoById" resultMap="walletEntInfoMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_ent_info wei WHERE wei.id = #{id}
-    </select>
-
-    <!-- 根据主键ID列表查询开户企业信息表列表 -->
-    <select id="selectWalletEntInfoByIds" resultMap="walletEntInfoMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_ent_info wei WHERE wei.id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </select>
-
-    <!-- This code was generated by TableGo tools, mark 2 begin. -->
-    <!-- 新增开户企业信息表 -->
-    <insert id="insertWalletEntInfo" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-        INSERT INTO wallet_ent_info
-        <trim prefix="(" suffix=")" suffixOverrides=",">
-            <if test="id != null">id,</if>
-            <if test="entId != null">ent_id,</if>
-            <if test="fullName != null">full_name,</if>
-            <if test="address != null">address,</if>
-            <if test="licenseCode != null">license_code,</if>
-            <if test="licenseStartDate != null">license_start_date,</if>
-            <if test="licenseEndDate != null">license_end_date,</if>
-            <if test="realAddress != null">real_address,</if>
-            <if test="licenseFileId != null">license_file_id,</if>
-            <if test="licenseFileDuplicateId != null">license_file_duplicate_id,</if>
-            <if test="legalName != null">legal_name,</if>
-            <if test="legalIdCardNo != null">legal_id_card_no,</if>
-            <if test="legalPhone != null">legal_phone,</if>
-            <if test="legalStartDate != null">legal_start_date,</if>
-            <if test="legalEndDate != null">legal_end_date,</if>
-            <if test="idCardFrontId != null">id_card_front_id,</if>
-            <if test="idCardBackId != null">id_card_back_id,</if>
-            <if test="contactName != null">contact_name,</if>
-            <if test="contactPhone != null">contact_phone,</if>
-            <if test="contactIdCardNo != null">contact_id_card_no,</if>
-            <if test="contactIdCardFrontId != null">contact_id_card_front_id,</if>
-            <if test="contactIdCardBackId != null">contact_id_card_back_id,</if>
-            <if test="createTime != null">create_time,</if>
-            <if test="updateTime != null">update_time</if>
-        </trim>
-        <trim prefix="VALUES (" suffix=")" suffixOverrides=",">
-            <if test="id != null">#{id},</if>
-            <if test="entId != null">#{entId},</if>
-            <if test="fullName != null">#{fullName},</if>
-            <if test="address != null">#{address},</if>
-            <if test="licenseCode != null">#{licenseCode},</if>
-            <if test="licenseStartDate != null">#{licenseStartDate},</if>
-            <if test="licenseEndDate != null">#{licenseEndDate},</if>
-            <if test="realAddress != null">#{realAddress},</if>
-            <if test="licenseFileId != null">#{licenseFileId},</if>
-            <if test="licenseFileDuplicateId != null">#{licenseFileDuplicateId},</if>
-            <if test="legalName != null">#{legalName},</if>
-            <if test="legalIdCardNo != null">#{legalIdCardNo},</if>
-            <if test="legalPhone != null">#{legalPhone},</if>
-            <if test="legalStartDate != null">#{legalStartDate},</if>
-            <if test="legalEndDate != null">#{legalEndDate},</if>
-            <if test="idCardFrontId != null">#{idCardFrontId},</if>
-            <if test="idCardBackId != null">#{idCardBackId},</if>
-            <if test="contactName != null">#{contactName},</if>
-            <if test="contactPhone != null">#{contactPhone},</if>
-            <if test="contactIdCardNo != null">#{contactIdCardNo},</if>
-            <if test="contactIdCardFrontId != null">#{contactIdCardFrontId},</if>
-            <if test="contactIdCardBackId != null">#{contactIdCardBackId},</if>
-            <if test="createTime != null">#{createTime},</if>
-            <if test="updateTime != null">#{updateTime}</if>
-        </trim>
-    </insert>
-
-    <!-- 修改开户企业信息表 -->
-    <update id="updateWalletEntInfo">
-        UPDATE wallet_ent_info
-        <set>
-            <if test="entId != null">ent_id = #{entId},</if>
-            <if test="fullName != null">full_name = #{fullName},</if>
-            <if test="address != null">address = #{address},</if>
-            <if test="licenseCode != null">license_code = #{licenseCode},</if>
-            <if test="licenseStartDate != null">license_start_date = #{licenseStartDate},</if>
-            <if test="licenseEndDate != null">license_end_date = #{licenseEndDate},</if>
-            <if test="realAddress != null">real_address = #{realAddress},</if>
-            <if test="licenseFileId != null">license_file_id = #{licenseFileId},</if>
-            <if test="licenseFileDuplicateId != null">license_file_duplicate_id = #{licenseFileDuplicateId},</if>
-            <if test="legalName != null">legal_name = #{legalName},</if>
-            <if test="legalIdCardNo != null">legal_id_card_no = #{legalIdCardNo},</if>
-            <if test="legalPhone != null">legal_phone = #{legalPhone},</if>
-            <if test="legalStartDate != null">legal_start_date = #{legalStartDate},</if>
-            <if test="legalEndDate != null">legal_end_date = #{legalEndDate},</if>
-            <if test="idCardFrontId != null">id_card_front_id = #{idCardFrontId},</if>
-            <if test="idCardBackId != null">id_card_back_id = #{idCardBackId},</if>
-            <if test="contactName != null">contact_name = #{contactName},</if>
-            <if test="contactPhone != null">contact_phone = #{contactPhone},</if>
-            <if test="contactIdCardNo != null">contact_id_card_no = #{contactIdCardNo},</if>
-            <if test="contactIdCardFrontId != null">contact_id_card_front_id = #{contactIdCardFrontId},</if>
-            <if test="contactIdCardBackId != null">contact_id_card_back_id = #{contactIdCardBackId},</if>
-            <if test="createTime != null">create_time = #{createTime},</if>
-            <if test="updateTime != null">update_time = #{updateTime}</if>
-        </set>
-        WHERE id = #{id}
-    </update>
-    <!-- This code was generated by TableGo tools, mark 2 end. -->
-
-    <!-- 删除开户企业信息表 -->
-    <delete id="deleteWalletEntInfoById">
-        DELETE FROM wallet_ent_info WHERE id = #{id}
-    </delete>
-
-    <!-- 批量删除开户企业信息表 -->
-    <delete id="deleteWalletEntInfoByIds">
-        DELETE FROM wallet_ent_info WHERE id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </delete>
-</mapper>

+ 0 - 137
sckw-modules/sckw-payment/src/main/resources/mapper/WalletEntUserMapper.xml

@@ -1,137 +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">
-
-<!-- 企业股东或最终收益人(wallet_ent_user) -->
-<mapper namespace="com.sckw.payment.mapper.WalletEntUserMapper">
-    <!-- This code was generated by TableGo tools, mark 1 begin. -->
-    <!-- 字段映射 -->
-    <resultMap id="walletEntUserMap" type="com.sckw.payment.entity.WalletEntUser">
-        <id     column="id"                    property="id" />
-        <result column="ent_id"                property="entId" />
-        <result column="type"                  property="type" />
-        <result column="name"                  property="name" />
-        <result column="id_card_no"            property="idCardNo" />
-        <result column="id_card_start_date"    property="idCardStartDate" />
-        <result column="id_card_end_date"      property="idCardEndDate" />
-        <result column="phone"                 property="phone" />
-        <result column="address"               property="address" />
-        <result column="income_type"           property="incomeType" />
-        <result column="create_time"           property="createTime" />
-        <result column="update_time"           property="updateTime" />
-    </resultMap>
-
-    <!-- 表所有字段 -->
-    <sql id="allColumns">
-        weu.id, weu.ent_id, weu.type, weu.name, weu.id_card_no, weu.id_card_start_date, weu.id_card_end_date, weu.phone,
-        weu.address, weu.income_type, weu.create_time, weu.update_time
-    </sql>
-    <!-- This code was generated by TableGo tools, mark 1 end. -->
-
-    <!-- 分页查询企业股东或最终收益人列表 -->
-    <select id="selectWalletEntUserList" resultMap="walletEntUserMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_ent_user weu WHERE 1 = 1
-        <if test="entId != null">
-            AND weu.ent_id = #{entId}
-        </if>
-        <if test="type != null">
-            AND weu.type = #{type}
-        </if>
-    </select>
-
-    <!-- 根据主键ID查询企业股东或最终收益人 -->
-    <select id="selectWalletEntUserById" resultMap="walletEntUserMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_ent_user weu WHERE weu.id = #{id}
-    </select>
-
-    <!-- 根据主键ID列表查询企业股东或最终收益人列表 -->
-    <select id="selectWalletEntUserByIds" resultMap="walletEntUserMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_ent_user weu WHERE weu.id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </select>
-
-    <!-- This code was generated by TableGo tools, mark 2 begin. -->
-    <!-- 新增企业股东或最终收益人 -->
-    <insert id="insertWalletEntUser" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-        INSERT INTO wallet_ent_user
-        <trim prefix="(" suffix=")" suffixOverrides=",">
-            <if test="id != null">id,</if>
-            <if test="entId != null">ent_id,</if>
-            <if test="type != null">type,</if>
-            <if test="name != null">name,</if>
-            <if test="idCardNo != null">id_card_no,</if>
-            <if test="idCardStartDate != null">id_card_start_date,</if>
-            <if test="idCardEndDate != null">id_card_end_date,</if>
-            <if test="phone != null">phone,</if>
-            <if test="address != null">address,</if>
-            <if test="incomeType != null">income_type,</if>
-            <if test="createTime != null">create_time,</if>
-            <if test="updateTime != null">update_time</if>
-        </trim>
-        <trim prefix="VALUES (" suffix=")" suffixOverrides=",">
-            <if test="id != null">#{id},</if>
-            <if test="entId != null">#{entId},</if>
-            <if test="type != null">#{type},</if>
-            <if test="name != null">#{name},</if>
-            <if test="idCardNo != null">#{idCardNo},</if>
-            <if test="idCardStartDate != null">#{idCardStartDate},</if>
-            <if test="idCardEndDate != null">#{idCardEndDate},</if>
-            <if test="phone != null">#{phone},</if>
-            <if test="address != null">#{address},</if>
-            <if test="incomeType != null">#{incomeType},</if>
-            <if test="createTime != null">#{createTime},</if>
-            <if test="updateTime != null">#{updateTime}</if>
-        </trim>
-    </insert>
-
-
-    <insert id="insertBatch">
-        insert into wallet_ent_user (id,ent_id,type,name,id_card_no,id_card_start_date,id_card_end_date,phone,address,income_type,create_time,update_time)
-        values
-        <foreach collection="walletEntUsers" item="walletEntUser" separator=",">
-            (
-            #{walletEntUser.id},#{walletEntUser.entId},#{walletEntUser.type},#{walletEntUser.name},#{walletEntUser.idCardNo},#{walletEntUser.idCardStartDate},#{walletEntUser.idCardEndDate},#{walletEntUser.phone},#{walletEntUser.address},#{walletEntUser.incomeType},#{walletEntUser.createTime},#{walletEntUser.updateTime}
-            )
-        </foreach>
-    </insert>
-
-    <!-- 修改企业股东或最终收益人 -->
-    <update id="updateWalletEntUser">
-        UPDATE wallet_ent_user
-        <set>
-            <if test="entId != null">ent_id = #{entId},</if>
-            <if test="type != null">type = #{type},</if>
-            <if test="name != null">name = #{name},</if>
-            <if test="idCardNo != null">id_card_no = #{idCardNo},</if>
-            <if test="idCardStartDate != null">id_card_start_date = #{idCardStartDate},</if>
-            <if test="idCardEndDate != null">id_card_end_date = #{idCardEndDate},</if>
-            <if test="phone != null">phone = #{phone},</if>
-            <if test="address != null">address = #{address},</if>
-            <if test="incomeType != null">income_type = #{incomeType},</if>
-            <if test="createTime != null">create_time = #{createTime},</if>
-            <if test="updateTime != null">update_time = #{updateTime}</if>
-        </set>
-        WHERE id = #{id}
-    </update>
-    <!-- This code was generated by TableGo tools, mark 2 end. -->
-
-    <!-- 删除企业股东或最终收益人 -->
-    <delete id="deleteWalletEntUserById">
-        DELETE FROM wallet_ent_user WHERE id = #{id}
-    </delete>
-
-    <!-- 批量删除企业股东或最终收益人 -->
-    <delete id="deleteWalletEntUserByIds">
-        DELETE FROM wallet_ent_user WHERE id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </delete>
-</mapper>

+ 0 - 105
sckw-modules/sckw-payment/src/main/resources/mapper/WalletRequestLogMapper.xml

@@ -1,105 +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">
-
-<!-- 钱包接口幂等控制表(wallet_request_log) -->
-<mapper namespace="com.sckw.payment.mapper.WalletRequestLogMapper">
-    <!-- This code was generated by TableGo tools, mark 1 begin. -->
-    <!-- 字段映射 -->
-    <resultMap id="walletRequestLogMap" type="com.sckw.payment.entity.WalletRequestLog">
-        <id     column="id"                    property="id" />
-        <result column="request_id"            property="requestId" />
-        <result column="biz_type"              property="bizType" />
-        <result column="biz_no"                property="bizNo" />
-        <result column="status"                property="status" />
-        <result column="last_error"            property="lastError" />
-        <result column="created_at"            property="createdAt" />
-    </resultMap>
-
-    <!-- 表所有字段 -->
-    <sql id="allColumns">
-        wrl.id, wrl.request_id, wrl.biz_type, wrl.biz_no, wrl.status, wrl.last_error, wrl.created_at
-    </sql>
-    <!-- This code was generated by TableGo tools, mark 1 end. -->
-
-    <!-- 分页查询钱包接口幂等控制表列表 -->
-    <select id="selectWalletRequestLogList" resultMap="walletRequestLogMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_request_log wrl WHERE 1 = 1
-        <if test="requestId != null and requestId != ''">
-            AND wrl.request_id = #{requestId}
-        </if>
-        <if test="bizType != null and bizType != ''">
-            AND wrl.biz_type = #{bizType}
-        </if>
-    </select>
-
-    <!-- 根据主键ID查询钱包接口幂等控制表 -->
-    <select id="selectWalletRequestLogById" resultMap="walletRequestLogMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_request_log wrl WHERE wrl.id = #{id}
-    </select>
-
-    <!-- 根据主键ID列表查询钱包接口幂等控制表列表 -->
-    <select id="selectWalletRequestLogByIds" resultMap="walletRequestLogMap">
-        SELECT
-            <include refid="allColumns" />
-        FROM wallet_request_log wrl WHERE wrl.id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </select>
-
-    <!-- This code was generated by TableGo tools, mark 2 begin. -->
-    <!-- 新增钱包接口幂等控制表 -->
-    <insert id="insertWalletRequestLog" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-        INSERT INTO wallet_request_log
-        <trim prefix="(" suffix=")" suffixOverrides=",">
-            <if test="id != null">id,</if>
-            <if test="requestId != null">request_id,</if>
-            <if test="bizType != null">biz_type,</if>
-            <if test="bizNo != null">biz_no,</if>
-            <if test="status != null">status,</if>
-            <if test="lastError != null">last_error,</if>
-            <if test="createdAt != null">created_at</if>
-        </trim>
-        <trim prefix="VALUES (" suffix=")" suffixOverrides=",">
-            <if test="id != null">#{id},</if>
-            <if test="requestId != null">#{requestId},</if>
-            <if test="bizType != null">#{bizType},</if>
-            <if test="bizNo != null">#{bizNo},</if>
-            <if test="status != null">#{status},</if>
-            <if test="lastError != null">#{lastError},</if>
-            <if test="createdAt != null">#{createdAt}</if>
-        </trim>
-    </insert>
-
-    <!-- 修改钱包接口幂等控制表 -->
-    <update id="updateWalletRequestLog">
-        UPDATE wallet_request_log
-        <set>
-            <if test="requestId != null">request_id = #{requestId},</if>
-            <if test="bizType != null">biz_type = #{bizType},</if>
-            <if test="bizNo != null">biz_no = #{bizNo},</if>
-            <if test="status != null">status = #{status},</if>
-            <if test="lastError != null">last_error = #{lastError},</if>
-            <if test="createdAt != null">created_at = #{createdAt}</if>
-        </set>
-        WHERE id = #{id}
-    </update>
-    <!-- This code was generated by TableGo tools, mark 2 end. -->
-
-    <!-- 删除钱包接口幂等控制表 -->
-    <delete id="deleteWalletRequestLogById">
-        DELETE FROM wallet_request_log WHERE id = #{id}
-    </delete>
-
-    <!-- 批量删除钱包接口幂等控制表 -->
-    <delete id="deleteWalletRequestLogByIds">
-        DELETE FROM wallet_request_log WHERE id IN
-        <foreach collection="idList" index="index" item="id" open="(" separator="," close=")">
-            #{id}
-        </foreach>
-    </delete>
-</mapper>