| | |
| | | package com.yeshi.fanli.service.inter.user;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.List;
|
| | | import java.util.Map;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.AlipayTransferResultInfo;
|
| | | import com.yeshi.fanli.entity.bus.user.Extract;
|
| | | import com.yeshi.fanli.entity.common.AdminUser;
|
| | | import com.yeshi.fanli.exception.AlipayAccountException;
|
| | | import com.yeshi.fanli.exception.AlipayTransferException;
|
| | | import com.yeshi.fanli.exception.ExtractException;
|
| | | import com.yeshi.fanli.exception.NotExistObjectException;
|
| | | import com.yeshi.fanli.exception.ObjectStateException;
|
| | |
|
| | | public interface ExtractService {
|
| | |
|
| | | public List<Extract> getExtractInfoByUid(long uid);
|
| | |
|
| | | /**
|
| | | * 提现申请
|
| | |
| | | */
|
| | | public Integer addExtract(Extract extract);
|
| | |
|
| | | public List<Extract> getExtractList(int i);
|
| | |
|
| | | public int getCount();
|
| | | // public int getCount();
|
| | |
|
| | | /**
|
| | | * 通过
|
| | |
| | | * @throws ObjectStateException
|
| | | * @throws NotExistObjectException
|
| | | */
|
| | | public void rejectExtract(long id, String reason, long extractTime, AdminUser adminUser)
|
| | | public void rejectExtract(long id, String reason, AdminUser adminUser)
|
| | | throws ObjectStateException, NotExistObjectException;
|
| | |
|
| | | /**
|
| | |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public List<Integer> checkExtract(String uid);
|
| | | public void checkExtract(Long uid) throws ExtractException;
|
| | |
|
| | | public Extract selectByPrimaryKey(Long id);
|
| | |
|
| | |
| | | * @param info
|
| | | */
|
| | | public void processExtractResult(AlipayTransferResultInfo info);
|
| | | |
| | | |
| | |
|
| | | public void testExtractSuccess(Long id);
|
| | |
|
| | | |
| | | /**
|
| | | * 统计当日提现
|
| | | * |
| | | * @param uid
|
| | | * @param day yyyy-MM-dd
|
| | | * @return
|
| | | */
|
| | | public BigDecimal sumTodayApplyMoney(Long uid, String day);
|
| | |
|
| | | }
|