mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
提现记录表 相关实体类
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* 提现记录表
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class ClearingWithdrawInfo {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 提现编号
|
||||
*/
|
||||
private String withdrawCode;
|
||||
|
||||
/**
|
||||
* 提现状态(0-处理中;1-已提现)
|
||||
*/
|
||||
private String withdrawStatus;
|
||||
|
||||
/**
|
||||
* 申请时间
|
||||
*/
|
||||
private Date applicationTime;
|
||||
|
||||
/**
|
||||
* 到账时间
|
||||
*/
|
||||
private Date arrivalTime;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package com.jsowell.pile.mapper;
|
||||
|
||||
import com.jsowell.pile.domain.ClearingWithdrawInfo;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface ClearingWithdrawInfoMapper {
|
||||
/**
|
||||
* delete by primary key
|
||||
* @param id primaryKey
|
||||
* @return deleteCount
|
||||
*/
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* insert record to table
|
||||
* @param record the record
|
||||
* @return insert count
|
||||
*/
|
||||
int insert(ClearingWithdrawInfo record);
|
||||
|
||||
int insertOrUpdate(ClearingWithdrawInfo record);
|
||||
|
||||
int insertOrUpdateSelective(ClearingWithdrawInfo record);
|
||||
|
||||
/**
|
||||
* insert record to table selective
|
||||
* @param record the record
|
||||
* @return insert count
|
||||
*/
|
||||
int insertSelective(ClearingWithdrawInfo record);
|
||||
|
||||
/**
|
||||
* select by primary key
|
||||
* @param id primary key
|
||||
* @return object by primary key
|
||||
*/
|
||||
ClearingWithdrawInfo selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* update record selective
|
||||
* @param record the updated record
|
||||
* @return update count
|
||||
*/
|
||||
int updateByPrimaryKeySelective(ClearingWithdrawInfo record);
|
||||
|
||||
/**
|
||||
* update record
|
||||
* @param record the updated record
|
||||
* @return update count
|
||||
*/
|
||||
int updateByPrimaryKey(ClearingWithdrawInfo record);
|
||||
|
||||
int updateBatch(List<ClearingWithdrawInfo> list);
|
||||
|
||||
int batchInsert(@Param("list") List<ClearingWithdrawInfo> list);
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.jsowell.pile.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.jsowell.pile.domain.ClearingWithdrawInfo;
|
||||
public interface ClearingWithdrawInfoService{
|
||||
|
||||
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(ClearingWithdrawInfo record);
|
||||
|
||||
int insertOrUpdate(ClearingWithdrawInfo record);
|
||||
|
||||
int insertOrUpdateSelective(ClearingWithdrawInfo record);
|
||||
|
||||
int insertSelective(ClearingWithdrawInfo record);
|
||||
|
||||
ClearingWithdrawInfo selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(ClearingWithdrawInfo record);
|
||||
|
||||
int updateByPrimaryKey(ClearingWithdrawInfo record);
|
||||
|
||||
int updateBatch(List<ClearingWithdrawInfo> list);
|
||||
|
||||
int batchInsert(List<ClearingWithdrawInfo> list);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
package com.jsowell.pile.service.impl;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import com.jsowell.pile.mapper.ClearingWithdrawInfoMapper;
|
||||
import java.util.List;
|
||||
import com.jsowell.pile.domain.ClearingWithdrawInfo;
|
||||
import com.jsowell.pile.service.ClearingWithdrawInfoService;
|
||||
@Service
|
||||
public class ClearingWithdrawInfoServiceImpl implements ClearingWithdrawInfoService{
|
||||
|
||||
@Resource
|
||||
private ClearingWithdrawInfoMapper clearingWithdrawInfoMapper;
|
||||
|
||||
@Override
|
||||
public int deleteByPrimaryKey(Integer id) {
|
||||
return clearingWithdrawInfoMapper.deleteByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insert(ClearingWithdrawInfo record) {
|
||||
return clearingWithdrawInfoMapper.insert(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertOrUpdate(ClearingWithdrawInfo record) {
|
||||
return clearingWithdrawInfoMapper.insertOrUpdate(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertOrUpdateSelective(ClearingWithdrawInfo record) {
|
||||
return clearingWithdrawInfoMapper.insertOrUpdateSelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertSelective(ClearingWithdrawInfo record) {
|
||||
return clearingWithdrawInfoMapper.insertSelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ClearingWithdrawInfo selectByPrimaryKey(Integer id) {
|
||||
return clearingWithdrawInfoMapper.selectByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateByPrimaryKeySelective(ClearingWithdrawInfo record) {
|
||||
return clearingWithdrawInfoMapper.updateByPrimaryKeySelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateByPrimaryKey(ClearingWithdrawInfo record) {
|
||||
return clearingWithdrawInfoMapper.updateByPrimaryKey(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateBatch(List<ClearingWithdrawInfo> list) {
|
||||
return clearingWithdrawInfoMapper.updateBatch(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int batchInsert(List<ClearingWithdrawInfo> list) {
|
||||
return clearingWithdrawInfoMapper.batchInsert(list);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user