| Line 13... |
Line 13... |
| 13 |
import org.json.JSONObject;
|
13 |
import org.json.JSONObject;
|
| 14 |
import org.springframework.beans.factory.annotation.Autowired;
|
14 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 15 |
import org.springframework.stereotype.Controller;
|
15 |
import org.springframework.stereotype.Controller;
|
| 16 |
import org.springframework.transaction.annotation.Transactional;
|
16 |
import org.springframework.transaction.annotation.Transactional;
|
| 17 |
import org.springframework.ui.Model;
|
17 |
import org.springframework.ui.Model;
|
| 18 |
import org.springframework.web.bind.annotation.RequestBody;
|
- |
|
| 19 |
import org.springframework.web.bind.annotation.RequestMapping;
|
18 |
import org.springframework.web.bind.annotation.RequestMapping;
|
| 20 |
import org.springframework.web.bind.annotation.RequestMethod;
|
19 |
import org.springframework.web.bind.annotation.RequestMethod;
|
| 21 |
import org.springframework.web.bind.annotation.RequestParam;
|
20 |
import org.springframework.web.bind.annotation.RequestParam;
|
| 22 |
|
21 |
|
| 23 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
22 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 24 |
import com.spice.profitmandi.common.model.CustomRetailer;
|
23 |
import com.spice.profitmandi.common.model.CustomRetailer;
|
| 25 |
import com.spice.profitmandi.common.model.NotifyItemIdModel;
|
- |
|
| 26 |
import com.spice.profitmandi.common.model.RefferalApproveModel;
|
- |
|
| 27 |
import com.spice.profitmandi.dao.entity.user.Refferal;
|
24 |
import com.spice.profitmandi.dao.entity.user.Refferal;
|
| 28 |
import com.spice.profitmandi.dao.entity.user.RefferalMonthlyAmount;
|
25 |
import com.spice.profitmandi.dao.entity.user.RefferalMonthlyAmount;
|
| 29 |
import com.spice.profitmandi.dao.entity.user.User;
|
26 |
import com.spice.profitmandi.dao.entity.user.User;
|
| 30 |
import com.spice.profitmandi.dao.enumuration.dtr.RefferalStatus;
|
27 |
import com.spice.profitmandi.dao.enumuration.dtr.RefferalStatus;
|
| 31 |
|
- |
|
| 32 |
import com.spice.profitmandi.dao.model.DateRangeModel;
|
28 |
import com.spice.profitmandi.dao.model.DateRangeModel;
|
| 33 |
import com.spice.profitmandi.dao.repository.dtr.FofoStoreRepository;
|
29 |
import com.spice.profitmandi.dao.repository.dtr.FofoStoreRepository;
|
| 34 |
import com.spice.profitmandi.dao.repository.dtr.RefferalMonthlyAmountRepository;
|
30 |
import com.spice.profitmandi.dao.repository.dtr.RefferalMonthlyAmountRepository;
|
| 35 |
import com.spice.profitmandi.dao.repository.dtr.RefferalRepository;
|
31 |
import com.spice.profitmandi.dao.repository.dtr.RefferalRepository;
|
| 36 |
import com.spice.profitmandi.dao.repository.user.UserRepository;
|
32 |
import com.spice.profitmandi.dao.repository.user.UserRepository;
|