| Line 6... |
Line 6... |
| 6 |
import java.util.Set;
|
6 |
import java.util.Set;
|
| 7 |
|
7 |
|
| 8 |
import org.springframework.stereotype.Service;
|
8 |
import org.springframework.stereotype.Service;
|
| 9 |
|
9 |
|
| 10 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
10 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 11 |
import com.spice.profitmandi.common.model.CreateSchemeRequest;
|
- |
|
| 12 |
import com.spice.profitmandi.common.model.SchemeModel;
|
11 |
import com.spice.profitmandi.common.model.SchemeModel;
|
| 13 |
import com.spice.profitmandi.dao.entity.catalog.Scheme;
|
12 |
import com.spice.profitmandi.dao.entity.catalog.Scheme;
|
| 14 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
13 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
| 15 |
import com.spice.profitmandi.dao.enumuration.catalog.SchemeType;
|
14 |
import com.spice.profitmandi.dao.enumuration.catalog.SchemeType;
|
| - |
|
15 |
import com.spice.profitmandi.dao.model.CreateSchemeRequest;
|
| 16 |
|
16 |
|
| 17 |
@Service
|
17 |
@Service
|
| 18 |
public interface SchemeService {
|
18 |
public interface SchemeService {
|
| 19 |
public void saveScheme(int creatorId, CreateSchemeRequest createSchemeRequest) throws ProfitMandiBusinessException;
|
19 |
public void saveScheme(int creatorId, CreateSchemeRequest createSchemeRequest) throws ProfitMandiBusinessException;
|
| 20 |
public Scheme getSchemeById(int schemeId) throws ProfitMandiBusinessException;
|
20 |
public Scheme getSchemeById(int schemeId) throws ProfitMandiBusinessException;
|