package com.ssm.manage.service;

import com.github.pagehelper.PageInfo;
import com.ssm.core.service.BaseService;
import com.ssm.manage.entity.BaseNegativeKazin;
import com.ssm.manage.entity.BasePost;
import com.ssm.manage.entity.SmsException;
import com.ssm.manage.entity.StoreRoom;
import com.ssm.manage.query.BasePostRequest;
import com.ssm.manage.query.StoreRoomRequest;

import java.text.ParseException;

public interface SsmBasePostService extends BaseService<BasePost> {
    PageInfo<BasePost> selectPage(BasePostRequest storeRoomRequest) throws SmsException, ParseException;
    int add(BasePostRequest storeRoomRequest, String phone) throws SmsException;
    int update(BasePostRequest storeRoomRequest, String phone) throws SmsException;
    int detele(BasePostRequest storeRoomRequest) throws SmsException;
}
