package com.ssm.manage.service;

import com.ssm.core.service.BaseService;
import com.ssm.manage.entity.SmsException;
import com.ssm.manage.entity.StoreParament;
import com.ssm.manage.query.StoreParaRequest;
import com.ssm.manage.utils.Constant;
import org.apache.commons.lang.StringUtils;

import java.util.List;
import java.util.Map;

public interface SsmStoreParaService extends BaseService<StoreParament> {
    List<StoreParament> list(Long storeId);
    List<StoreParament> list1(Long storeId);


//    int addStorePara(StoreParaRequest storeParaRequest,Long storeId,String storeName);
      int addStoreParas(Map<String,Object> formMap, Long storeId, String storeName) throws SmsException;
//    int updateStorePara(StoreParaRequest storeParaRequest,Long storeId,String storeName);

    int updateStorePara(Map<String,Object> formMap,Long storeId,String storeName) throws SmsException;

    int updateStoreParas(List<StoreParament> storeParaments,Long storeId,String storeName) throws SmsException;
    //同步其他分店的门店参数
    int updateStorePara1(Map<String,Object> formMap,List<StoreParament> storeIds) throws SmsException;


    public String getKey(String phone);
}
