金币系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
995 B

package com.example.demo.sevice;
import com.example.demo.domain.entity.Recharge;
import com.example.demo.domain.vo.RechargeA;
import com.example.demo.domain.vo.RechargeVo;
import com.example.demo.domain.vo.Result;
import com.github.pagehelper.PageInfo;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
public interface RechargeService {
@Transactional
int add(Recharge recharge) throws Exception;
int edit(Recharge recharge) throws Exception;
Recharge findById(int id) throws Exception;
List<RechargeVo> search(RechargeVo rechargeVo) ;
PageInfo<RechargeVo> searchForPage(Integer pageNum, Integer pageSize, RechargeVo rechargeVo);
int getAllByjwAndup(String jwcode);
/**
* 批量添加充值记录
* @param recharges 充值记录列表
* @return 处理结果
*/
Result addRecharges(List<Recharge> recharges);
List<RechargeA> getRechargeA(RechargeA rechargeA);
List<String> getWay();
}