mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
update 加字段
This commit is contained in:
@@ -6,6 +6,8 @@ import lombok.Data;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 充电桩运营商信息对象 pile_merchant_info
|
||||
*
|
||||
@@ -100,6 +102,16 @@ public class PileMerchantInfo extends BaseEntity {
|
||||
*/
|
||||
private String deptId;
|
||||
|
||||
/**
|
||||
* 提现类型(1-手动提现, 2-自动提现)
|
||||
*/
|
||||
private String withdrawalType;
|
||||
|
||||
/**
|
||||
* 预留金额
|
||||
*/
|
||||
private BigDecimal reservedAmount;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
|
||||
@@ -1,145 +1,165 @@
|
||||
package com.jsowell.pile.mapper;
|
||||
|
||||
import com.jsowell.pile.domain.PileMerchantInfo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.jsowell.pile.dto.QueryMerchantInfoDTO;
|
||||
import com.jsowell.pile.vo.web.MerchantSettleInfoVO;
|
||||
import com.jsowell.pile.vo.web.PileMerchantInfoVO;
|
||||
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 {
|
||||
/**
|
||||
* 查询充电桩运营商信息
|
||||
*
|
||||
* @param id 充电桩运营商信息主键
|
||||
* @return 充电桩运营商信息
|
||||
*/
|
||||
public PileMerchantInfo selectPileMerchantInfoById(Long id);
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* 查询运营商列表
|
||||
* @param merchantIdList
|
||||
* @return
|
||||
*/
|
||||
List<PileMerchantInfo> selectPileMerchantInfoListByIdList(@Param("merchantIdList") List<String> merchantIdList);
|
||||
int insertSelective(PileMerchantInfo record);
|
||||
|
||||
/**
|
||||
* 通过appid查询充电桩运营商信息
|
||||
* @param appId
|
||||
* @return
|
||||
*/
|
||||
List<PileMerchantInfo> selectPileMerchantInfoByWxAppId(String appId);
|
||||
PileMerchantInfo selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* 查询充电桩运营商信息列表
|
||||
*
|
||||
* @param pileMerchantInfo 充电桩运营商信息
|
||||
* @return 充电桩运营商信息集合
|
||||
*/
|
||||
public List<PileMerchantInfo> selectPileMerchantInfoList(PileMerchantInfo pileMerchantInfo);
|
||||
int updateByPrimaryKeySelective(PileMerchantInfo record);
|
||||
|
||||
/**
|
||||
* 新增充电桩运营商信息
|
||||
*
|
||||
* @param pileMerchantInfo 充电桩运营商信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPileMerchantInfo(PileMerchantInfo pileMerchantInfo);
|
||||
int updateBatch(List<PileMerchantInfo> list);
|
||||
|
||||
/**
|
||||
* 修改充电桩运营商信息
|
||||
*
|
||||
* @param pileMerchantInfo 充电桩运营商信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePileMerchantInfo(PileMerchantInfo pileMerchantInfo);
|
||||
int updateBatchSelective(List<PileMerchantInfo> list);
|
||||
|
||||
/**
|
||||
* 删除充电桩运营商信息
|
||||
*
|
||||
* @param id 充电桩运营商信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePileMerchantInfoById(Long id);
|
||||
int batchInsert(@Param("list") List<PileMerchantInfo> list);
|
||||
|
||||
/**
|
||||
* 批量删除充电桩运营商信息
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePileMerchantInfoByIds(Long[] ids);
|
||||
int insertOrUpdate(PileMerchantInfo record);
|
||||
|
||||
List<String> queryByMerchantDeptIds(@Param("merchantDeptIds") List<String> merchantDeptIds);
|
||||
int insertOrUpdateSelective(PileMerchantInfo record);
|
||||
|
||||
/**
|
||||
* 根据部门id查询基本信息
|
||||
* @param deptId
|
||||
* @return
|
||||
*/
|
||||
PileMerchantInfo queryInfoByDeptId(@Param("deptId") String deptId);
|
||||
/**
|
||||
* 查询充电桩运营商信息
|
||||
*
|
||||
* @param id 充电桩运营商信息主键
|
||||
* @return 充电桩运营商信息
|
||||
*/
|
||||
PileMerchantInfo selectPileMerchantInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 通过ids查询信息列表
|
||||
* @param deptIds
|
||||
* @return
|
||||
*/
|
||||
List<PileMerchantInfo> queryInfoListByIds(@Param("deptIds") List<String> deptIds);
|
||||
/**
|
||||
* 查询运营商列表
|
||||
*
|
||||
* @param merchantIdList
|
||||
* @return
|
||||
*/
|
||||
List<PileMerchantInfo> selectPileMerchantInfoListByIdList(@Param("merchantIdList") List<String> merchantIdList);
|
||||
|
||||
/**
|
||||
* 查询一级运营商
|
||||
*/
|
||||
List<PileMerchantInfo> queryFirstLevelMerchantList();
|
||||
/**
|
||||
* 通过appid查询充电桩运营商信息
|
||||
*
|
||||
* @param appId
|
||||
* @return
|
||||
*/
|
||||
List<PileMerchantInfo> selectPileMerchantInfoByWxAppId(String appId);
|
||||
|
||||
/**
|
||||
* 根据appid查询对应一级运营商id
|
||||
* @param wxAppId
|
||||
* @return
|
||||
*/
|
||||
PileMerchantInfo getFirstLevelMerchantByWxAppId(String wxAppId);
|
||||
/**
|
||||
* 查询充电桩运营商信息列表
|
||||
*
|
||||
* @param pileMerchantInfo 充电桩运营商信息
|
||||
* @return 充电桩运营商信息集合
|
||||
*/
|
||||
List<PileMerchantInfo> selectPileMerchantInfoList(PileMerchantInfo pileMerchantInfo);
|
||||
|
||||
/**
|
||||
* 根据支付宝appid查询对应一级运营商id
|
||||
* @param alipayAppId
|
||||
* @return
|
||||
*/
|
||||
PileMerchantInfo getFirstLevelMerchantByAlipayAppId(String alipayAppId);
|
||||
/**
|
||||
* 新增充电桩运营商信息
|
||||
*
|
||||
* @param pileMerchantInfo 充电桩运营商信息
|
||||
* @return 结果
|
||||
*/
|
||||
int insertPileMerchantInfo(PileMerchantInfo pileMerchantInfo);
|
||||
|
||||
/**
|
||||
* 通过appid查询运营商部门id
|
||||
* @param appId
|
||||
* @return
|
||||
*/
|
||||
/**
|
||||
* 修改充电桩运营商信息
|
||||
*
|
||||
* @param pileMerchantInfo 充电桩运营商信息
|
||||
* @return 结果
|
||||
*/
|
||||
int updatePileMerchantInfo(PileMerchantInfo pileMerchantInfo);
|
||||
|
||||
/**
|
||||
* 删除充电桩运营商信息
|
||||
*
|
||||
* @param id 充电桩运营商信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
int deletePileMerchantInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除充电桩运营商信息
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
int deletePileMerchantInfoByIds(Long[] ids);
|
||||
|
||||
List<String> queryByMerchantDeptIds(@Param("merchantDeptIds") List<String> merchantDeptIds);
|
||||
|
||||
/**
|
||||
* 根据部门id查询基本信息
|
||||
*
|
||||
* @param deptId
|
||||
* @return
|
||||
*/
|
||||
PileMerchantInfo queryInfoByDeptId(@Param("deptId") String deptId);
|
||||
|
||||
/**
|
||||
* 通过ids查询信息列表
|
||||
*
|
||||
* @param deptIds
|
||||
* @return
|
||||
*/
|
||||
List<PileMerchantInfo> queryInfoListByIds(@Param("deptIds") List<String> deptIds);
|
||||
|
||||
/**
|
||||
* 查询一级运营商
|
||||
*/
|
||||
List<PileMerchantInfo> queryFirstLevelMerchantList();
|
||||
|
||||
/**
|
||||
* 根据appid查询对应一级运营商id
|
||||
*
|
||||
* @param wxAppId
|
||||
* @return
|
||||
*/
|
||||
PileMerchantInfo getFirstLevelMerchantByWxAppId(String wxAppId);
|
||||
|
||||
/**
|
||||
* 根据支付宝appid查询对应一级运营商id
|
||||
*
|
||||
* @param alipayAppId
|
||||
* @return
|
||||
*/
|
||||
PileMerchantInfo getFirstLevelMerchantByAlipayAppId(String alipayAppId);
|
||||
|
||||
/**
|
||||
* 通过appid查询运营商部门id
|
||||
*
|
||||
* @param appId
|
||||
* @return
|
||||
*/
|
||||
List<String> getDeptIdsByWxAppId(@Param("appId") String appId);
|
||||
|
||||
/**
|
||||
* 后管财务中心页面运营商列表
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
List<MerchantSettleInfoVO> queryMerchantSettleInfoList(@Param("dto") QueryMerchantInfoDTO dto);
|
||||
/**
|
||||
* 后管财务中心页面运营商列表
|
||||
*
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
List<MerchantSettleInfoVO> queryMerchantSettleInfoList(@Param("dto") QueryMerchantInfoDTO dto);
|
||||
|
||||
/**
|
||||
* 根据一级运营商id查询自身信息以及下属二级运营商信息
|
||||
* @param firstMerchantId 一级运营商id
|
||||
* @return
|
||||
*/
|
||||
List<PileMerchantInfo> selectListByFirstMerchant(@Param("firstMerchantId") String firstMerchantId);
|
||||
/**
|
||||
* 根据一级运营商id查询自身信息以及下属二级运营商信息
|
||||
*
|
||||
* @param firstMerchantId 一级运营商id
|
||||
* @return
|
||||
*/
|
||||
List<PileMerchantInfo> selectListByFirstMerchant(@Param("firstMerchantId") String firstMerchantId);
|
||||
|
||||
/**
|
||||
* 根据站点id查询运营商基本信息
|
||||
* @param stationId
|
||||
* @return
|
||||
*/
|
||||
PileMerchantInfoVO queryMerchantInfoByStationId(String stationId);
|
||||
|
||||
}
|
||||
/**
|
||||
* 根据站点id查询运营商基本信息
|
||||
*
|
||||
* @param stationId
|
||||
* @return
|
||||
*/
|
||||
PileMerchantInfoVO queryMerchantInfoByStationId(String stationId);
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user