package com.gk.firework.Service;
|
|
import com.alibaba.fastjson.JSONObject;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.gk.firework.Domain.CustomerInfo;
|
import org.springframework.web.multipart.MultipartFile;
|
|
import java.text.ParseException;
|
import java.util.Date;
|
|
/**
|
* @author : jingjy
|
* @date : 2021/3/31 14:19
|
*/
|
public interface CustomerService extends IService<CustomerInfo> {
|
CustomerInfo createOrUpdate(JSONObject customer, Integer num, Date salesTime) throws ParseException;
|
|
CustomerInfo getCustomerByIdCardNum(String idCardNum);
|
|
CustomerInfo getCustomerBySaleOrder(String orderCode);
|
|
void uploadPhoto(String idCard, MultipartFile file);
|
|
void createOrUpdateCard(String idcardnum, Integer num, Date createdat) throws ParseException;
|
}
|