package com.hx.phip.service.deduction;
|
|
import com.hx.phiappt.model.Shop;
|
import com.hx.phiappt.model.deduction.DeductionSingle;
|
import com.hx.mybatisTool.SqlSentence;
|
import com.hz.his.dto.deduction.DeductionDto;
|
|
import java.util.List;
|
import java.util.Map;
|
|
public interface DeductionSingleService {
|
|
int selectCount(SqlSentence sqlSentence);
|
|
void insert(DeductionSingle deductionSingle);
|
|
String editInfo(DeductionDto deductionDto,Integer type);
|
|
String hisDeduction(DeductionDto deductionDto, Shop shop);
|
|
List<DeductionSingle> selectList(SqlSentence sqlSentence);
|
|
List<Map<String,Object>> selectListMap(SqlSentence sqlSentence);
|
|
DeductionSingle selectOne(SqlSentence sqlSentence);
|
|
Map<String,Object> selectOneMap(SqlSentence sqlSentence);
|
|
DeductionSingle selectOneByKey(Object object);
|
|
DeductionSingle selectOneByKeyBlob(Object object);
|
|
void updateAll(DeductionSingle deductionSingle);
|
|
void updateWhere(SqlSentence sqlSentence);
|
|
void deleteOne(DeductionDto deductionDto, String sourceCode, String sourceName, Integer status, Integer isNotStock);
|
|
void sendGZHNotice(String id);
|
|
void sendConfirmNotice(String id);
|
|
void customerConfirm(String deductionSingleId, Integer isCustomerConfirm);
|
|
void customerConfirmAll(String userId, Integer isCustomerConfirm);
|
|
Map<String,Object> customerConfirmBefore (DeductionDto dto, DeductionSingle deductionSingle);
|
|
void sendGZHQuestionnaire(String id);
|
|
void syncEditHisDeduction(String deductionSingleId);
|
|
void handlerPerformanceInfoDeduction(String deductionSingleId, Integer type);
|
|
void performanceInfoErrorTips(String deductionSingleId, String errorInfo);
|
|
void autoTag(String deductionSingleId);
|
|
String addInfoPhitab(DeductionDto deductionDto);
|
|
//处理保妥适俱乐部权益
|
void handleBotoxClub(String deductionSingleId);
|
|
//作废划扣撤销保妥适俱乐部权益赠送的优惠券
|
void cancelDeductionSingleCoupon(String deductionSingleId);
|
|
void cancelDeductionSingleSentNotice(String deductionSingleId);
|
}
|