diff --git a/hai-service/src/main/java/com/hai/service/BsIntegralRebateService.java b/hai-service/src/main/java/com/hai/service/BsIntegralRebateService.java new file mode 100644 index 00000000..f541bb37 --- /dev/null +++ b/hai-service/src/main/java/com/hai/service/BsIntegralRebateService.java @@ -0,0 +1,69 @@ +package com.hai.service; + +import com.hai.entity.BsIntegralRebate; +import com.hai.entity.BsRequestRecord; + +import java.util.List; +import java.util.Map; + +/** + * @serviceName BsIntegralRebateService.java + * @author Sum1Dream + * @version 1.0.0 + * @Description // 积分返利配置 + * @createTime 11:31 2022/8/2 + **/ +public interface BsIntegralRebateService { + + /** + * @Author Sum1Dream + * @name findIntegralRebateByMap.java + * @Description // 查询积分配置 + * @Date 11:32 2022/8/2 + * @Param [java.util.Map] + * @return com.hai.entity.BsIntegralRebate + */ + BsIntegralRebate findIntegralRebateByMap(Map map); + + /** + * @Author Sum1Dream + * @name findIntegralRebateById.java + * @Description // 根据ID查询详情 + * @Date 14:03 2022/8/2 + * @Param [java.lang.Long] + * @return com.hai.entity.BsIntegralRebate + */ + BsIntegralRebate findIntegralRebateById(Long id); + + /** + * @Author Sum1Dream + * @name getIntegralRebateByList.java + * @Description // + * @Date 14:04 2022/8/2 + * @Param [java.util.Map] + * @return java.util.List + */ + List getIntegralRebateByList(Map map); + + + /** + * @Author Sum1Dream + * @name insertIntegralRebate.java + * @Description // 插入请求记录 + * @Date 15:31 2022/8/2 + * @Param [com.hai.entity.BsIntegralRebate] + * @return void + */ + void insertIntegralRebate(BsIntegralRebate bsIntegralRebate); + + /** + * @Author Sum1Dream + * @name updateIntegralRebate.java + * @Description // 更新请求记录 + * @Date 15:31 2022/8/2 + * @Param [com.hai.entity.BsIntegralRebate] + * @return void + */ + void updateIntegralRebate(BsIntegralRebate bsIntegralRebate); + +} diff --git a/hai-service/src/main/java/com/hai/service/impl/BsIntegralRebateServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/BsIntegralRebateServiceImpl.java new file mode 100644 index 00000000..dc9cdcb6 --- /dev/null +++ b/hai-service/src/main/java/com/hai/service/impl/BsIntegralRebateServiceImpl.java @@ -0,0 +1,36 @@ +package com.hai.service.impl; + +import com.hai.entity.BsIntegralRebate; +import com.hai.service.BsIntegralRebateService; +import org.springframework.stereotype.Service; + +import java.util.List; +import java.util.Map; + +@Service("bsIntegralRebateService") +public class BsIntegralRebateServiceImpl implements BsIntegralRebateService { + @Override + public BsIntegralRebate findIntegralRebateByMap(Map map) { + return null; + } + + @Override + public BsIntegralRebate findIntegralRebateById(Long id) { + return null; + } + + @Override + public List getIntegralRebateByList(Map map) { + return null; + } + + @Override + public void insertIntegralRebate(BsIntegralRebate bsIntegralRebate) { + + } + + @Override + public void updateIntegralRebate(BsIntegralRebate bsIntegralRebate) { + + } +}