123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- package com.kmall.admin.service.compared;
- import com.kmall.admin.dto.AliPaymentOrderDto;
- import com.kmall.admin.dto.PayOrderDto;
- import com.kmall.admin.dto.WxPaymentOrderDto;
- import com.kmall.admin.entity.compared.PayOrderInfoEntity;
- import java.util.List;
- import java.util.Map;
- /**
- * Service接口
- *
- * @author emato
- * @email admin@qhdswl.com
- * @date 2020-11-26 10:16:58
- */
- public interface PayOrderInfoService {
- /**
- * 根据主键查询实体
- *
- * @param mpoiId 主键
- * @return 实体
- */
- PayOrderInfoEntity queryObject(Integer mpoiId);
- /**
- * 分页查询
- *
- * @param map 参数
- * @return list
- */
- List<PayOrderInfoEntity> queryList(Map<String, Object> map);
- /**
- * 分页统计总数
- *
- * @param map 参数
- * @return 总数
- */
- int queryTotal(Map<String, Object> map);
- /**
- * 保存实体
- *
- * @param payOrderInfo 实体
- * @return 保存条数
- */
- int save(PayOrderInfoEntity payOrderInfo);
- /**
- * 根据主键更新实体
- *
- * @param payOrderInfo 实体
- * @return 更新条数
- */
- int update(PayOrderInfoEntity payOrderInfo);
- /**
- * 根据主键删除
- *
- * @param mpoiId
- * @return 删除条数
- */
- int delete(Integer mpoiId);
- /**
- * 根据主键批量删除
- *
- * @param mpoiIds
- * @return 删除条数
- */
- int deleteBatch(Integer[]mpoiIds);
- void uploadExcel(List<PayOrderDto> payOrderDtoList, String parseInt);
- void uploadExceAli(List<AliPaymentOrderDto> aliPaymentOrderDtoList, String parseInt);
- void uploadExceWx(List<WxPaymentOrderDto> wxPaymentOrderDtoList, String parseInt);
- /**
- * 查询所有未对比的订单
- * @param comparedDate
- */
- List<PayOrderInfoEntity> queryNoComparedOrder(String comparedDate);
- /**
- * 批量修改数据
- * @param payOrderInfoEntities
- */
- void updateBatch(List<PayOrderInfoEntity> payOrderInfoEntities);
- /**
- * 同步支付订单数据
- * @param comparedDate
- * @return
- */
- String comparedTime(Map<String, Object> params);
- }
|