package com.kmall.admin.dao.vip; import com.kmall.admin.dto.Mall2RulesDto; import com.kmall.admin.entity.vip.Mall2PointsRulesEntity; import com.kmall.admin.dto.Mall2PointsRulesDto; import com.kmall.admin.haikong.vo.PointsRulesAndDetailVO; import com.kmall.common.utils.Query; import com.kmall.manager.dao.BaseDao; import java.util.Date; import java.util.List; /** * 积分规则表Dao * * @author emato * @email admin@qhdswl.com * @date 2020-06-15 10:44:07 */ public interface Mall2PointsRulesDao extends BaseDao { Integer queryRulesDetilId(Long mkaId); /** * 查询当前时间的积分规则 * * @param nowTime 当前时间 * @return 积分生成规则 */ List queryListByTime(Date nowTime, String pointsStoreId); Integer saveMall2PointsRulesDetil(List pointsRulesList); Integer updateMall2PointsRulesDetil(List pointsRulesList); List querymall2PointsRulesDetil(Query query); int querymall2PointsRulesDetilTotal(Long id); void deleteRulesDetil(Integer[] mprIds); /** * 根据查询条件积分规则及其明细 * @param mall2PointsRulesDto * @return */ List queryListBy(Mall2PointsRulesDto mall2PointsRulesDto); }