1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- package com.kmall.admin.service.vip;
- import com.kmall.admin.dto.Mall2RulesDto;
- import com.kmall.admin.entity.vip.Mall2DetilEntity;
- import com.kmall.admin.entity.vip.Mall2PointsRulesEntity;
- import com.kmall.common.utils.Query;
- import java.util.Date;
- import java.util.List;
- import java.util.Map;
- /**
- * 积分规则表Service接口
- *
- * @author emato
- * @email admin@qhdswl.com
- * @date 2020-06-15 10:44:07
- */
- public interface Mall2PointsRulesService {
- /**
- * 根据主键查询实体
- *
- * @param mprId 主键
- * @return 实体
- */
- Mall2PointsRulesEntity queryObject(Integer mprId);
- /**
- * 分页查询
- *
- * @param map 参数
- * @return list
- */
- List<Mall2PointsRulesEntity> queryList(Map<String, Object> map);
- /**
- * 分页统计总数
- *
- * @param map 参数
- * @return 总数
- */
- int queryTotal(Map<String, Object> map);
- /**
- * 保存实体
- *
- * @param mall2PointsRules 实体
- * @return 保存条数
- */
- int save(Mall2PointsRulesEntity mall2PointsRules);
- /**
- * 根据主键更新实体
- *
- * @param mall2PointsRules 实体
- * @return 更新条数
- */
- int update(Mall2PointsRulesEntity mall2PointsRules);
- /**
- * 根据主键删除
- *
- * @param mprId
- * @return 删除条数
- */
- int delete(Integer mprId);
- /**
- * 根据主键批量删除
- *
- * @param mprIds
- * @return 删除条数
- */
- int deleteBatch(Integer[] mprIds);
- void rulesUploadDetil(List<Mall2RulesDto> pointsRulesList, Long mkaId);
- /**
- * 查询积分明细数据
- * @param query
- * @return
- */
- Map<String,Object> queryDetilList(Query query);
- void deleteDetil(Integer[] mprIds,Long typeId);
- /**
- * 查询当前时间的积分规则
- * @param nowTime 当前时间
- * @return 积分生成规则
- */
- List<Mall2PointsRulesEntity> queryListByTime(Date nowTime);
- }
|