update 加字段

This commit is contained in:
Guoqs
2025-03-04 15:54:11 +08:00
parent 6c4eabd1c7
commit e7d4f12550
3 changed files with 1017 additions and 177 deletions

View File

@@ -6,6 +6,8 @@ import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle; import org.apache.commons.lang3.builder.ToStringStyle;
import java.math.BigDecimal;
/** /**
* 充电桩运营商信息对象 pile_merchant_info * 充电桩运营商信息对象 pile_merchant_info
* *
@@ -100,6 +102,16 @@ public class PileMerchantInfo extends BaseEntity {
*/ */
private String deptId; private String deptId;
/**
* 提现类型(1-手动提现, 2-自动提现)
*/
private String withdrawalType;
/**
* 预留金额
*/
private BigDecimal reservedAmount;
/** /**
* 删除标识0-正常1-删除) * 删除标识0-正常1-删除)
*/ */

View File

@@ -1,32 +1,44 @@
package com.jsowell.pile.mapper; package com.jsowell.pile.mapper;
import com.jsowell.pile.domain.PileMerchantInfo; import com.jsowell.pile.domain.PileMerchantInfo;
import java.util.List;
import com.jsowell.pile.dto.QueryMerchantInfoDTO; import com.jsowell.pile.dto.QueryMerchantInfoDTO;
import com.jsowell.pile.vo.web.MerchantSettleInfoVO; import com.jsowell.pile.vo.web.MerchantSettleInfoVO;
import com.jsowell.pile.vo.web.PileMerchantInfoVO; import com.jsowell.pile.vo.web.PileMerchantInfoVO;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* 充电桩运营商信息Mapper接口
*
* @author jsowell
* @date 2022-08-27
*/
@Repository
public interface PileMerchantInfoMapper { public interface PileMerchantInfoMapper {
int deleteByPrimaryKey(Integer id);
int insertSelective(PileMerchantInfo record);
PileMerchantInfo selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(PileMerchantInfo record);
int updateBatch(List<PileMerchantInfo> list);
int updateBatchSelective(List<PileMerchantInfo> list);
int batchInsert(@Param("list") List<PileMerchantInfo> list);
int insertOrUpdate(PileMerchantInfo record);
int insertOrUpdateSelective(PileMerchantInfo record);
/** /**
* 查询充电桩运营商信息 * 查询充电桩运营商信息
* *
* @param id 充电桩运营商信息主键 * @param id 充电桩运营商信息主键
* @return 充电桩运营商信息 * @return 充电桩运营商信息
*/ */
public PileMerchantInfo selectPileMerchantInfoById(Long id); PileMerchantInfo selectPileMerchantInfoById(Long id);
/** /**
* 查询运营商列表 * 查询运营商列表
*
* @param merchantIdList * @param merchantIdList
* @return * @return
*/ */
@@ -34,6 +46,7 @@ public interface PileMerchantInfoMapper {
/** /**
* 通过appid查询充电桩运营商信息 * 通过appid查询充电桩运营商信息
*
* @param appId * @param appId
* @return * @return
*/ */
@@ -45,7 +58,7 @@ public interface PileMerchantInfoMapper {
* @param pileMerchantInfo 充电桩运营商信息 * @param pileMerchantInfo 充电桩运营商信息
* @return 充电桩运营商信息集合 * @return 充电桩运营商信息集合
*/ */
public List<PileMerchantInfo> selectPileMerchantInfoList(PileMerchantInfo pileMerchantInfo); List<PileMerchantInfo> selectPileMerchantInfoList(PileMerchantInfo pileMerchantInfo);
/** /**
* 新增充电桩运营商信息 * 新增充电桩运营商信息
@@ -53,7 +66,7 @@ public interface PileMerchantInfoMapper {
* @param pileMerchantInfo 充电桩运营商信息 * @param pileMerchantInfo 充电桩运营商信息
* @return 结果 * @return 结果
*/ */
public int insertPileMerchantInfo(PileMerchantInfo pileMerchantInfo); int insertPileMerchantInfo(PileMerchantInfo pileMerchantInfo);
/** /**
* 修改充电桩运营商信息 * 修改充电桩运营商信息
@@ -61,7 +74,7 @@ public interface PileMerchantInfoMapper {
* @param pileMerchantInfo 充电桩运营商信息 * @param pileMerchantInfo 充电桩运营商信息
* @return 结果 * @return 结果
*/ */
public int updatePileMerchantInfo(PileMerchantInfo pileMerchantInfo); int updatePileMerchantInfo(PileMerchantInfo pileMerchantInfo);
/** /**
* 删除充电桩运营商信息 * 删除充电桩运营商信息
@@ -69,7 +82,7 @@ public interface PileMerchantInfoMapper {
* @param id 充电桩运营商信息主键 * @param id 充电桩运营商信息主键
* @return 结果 * @return 结果
*/ */
public int deletePileMerchantInfoById(Long id); int deletePileMerchantInfoById(Long id);
/** /**
* 批量删除充电桩运营商信息 * 批量删除充电桩运营商信息
@@ -77,12 +90,13 @@ public interface PileMerchantInfoMapper {
* @param ids 需要删除的数据主键集合 * @param ids 需要删除的数据主键集合
* @return 结果 * @return 结果
*/ */
public int deletePileMerchantInfoByIds(Long[] ids); int deletePileMerchantInfoByIds(Long[] ids);
List<String> queryByMerchantDeptIds(@Param("merchantDeptIds") List<String> merchantDeptIds); List<String> queryByMerchantDeptIds(@Param("merchantDeptIds") List<String> merchantDeptIds);
/** /**
* 根据部门id查询基本信息 * 根据部门id查询基本信息
*
* @param deptId * @param deptId
* @return * @return
*/ */
@@ -90,6 +104,7 @@ public interface PileMerchantInfoMapper {
/** /**
* 通过ids查询信息列表 * 通过ids查询信息列表
*
* @param deptIds * @param deptIds
* @return * @return
*/ */
@@ -102,6 +117,7 @@ public interface PileMerchantInfoMapper {
/** /**
* 根据appid查询对应一级运营商id * 根据appid查询对应一级运营商id
*
* @param wxAppId * @param wxAppId
* @return * @return
*/ */
@@ -109,6 +125,7 @@ public interface PileMerchantInfoMapper {
/** /**
* 根据支付宝appid查询对应一级运营商id * 根据支付宝appid查询对应一级运营商id
*
* @param alipayAppId * @param alipayAppId
* @return * @return
*/ */
@@ -116,6 +133,7 @@ public interface PileMerchantInfoMapper {
/** /**
* 通过appid查询运营商部门id * 通过appid查询运营商部门id
*
* @param appId * @param appId
* @return * @return
*/ */
@@ -123,6 +141,7 @@ public interface PileMerchantInfoMapper {
/** /**
* 后管财务中心页面运营商列表 * 后管财务中心页面运营商列表
*
* @param dto * @param dto
* @return * @return
*/ */
@@ -130,6 +149,7 @@ public interface PileMerchantInfoMapper {
/** /**
* 根据一级运营商id查询自身信息以及下属二级运营商信息 * 根据一级运营商id查询自身信息以及下属二级运营商信息
*
* @param firstMerchantId 一级运营商id * @param firstMerchantId 一级运营商id
* @return * @return
*/ */
@@ -137,9 +157,9 @@ public interface PileMerchantInfoMapper {
/** /**
* 根据站点id查询运营商基本信息 * 根据站点id查询运营商基本信息
*
* @param stationId * @param stationId
* @return * @return
*/ */
PileMerchantInfoVO queryMerchantInfoByStationId(String stationId); PileMerchantInfoVO queryMerchantInfoByStationId(String stationId);
} }