| | |
| | | import com.dsh.guns.core.util.ToolUtil; |
| | | import com.dsh.guns.modular.system.model.Region; |
| | | import com.dsh.guns.modular.system.service.IRegionService; |
| | | import com.dsh.guns.modular.system.service.IStoreService; |
| | | import com.dsh.guns.modular.system.util.OBSUploadUtil; |
| | | import org.apache.commons.beanutils.ConvertUtils; |
| | | import org.springframework.stereotype.Controller; |
| | |
| | | @Resource |
| | | private CouponClient client; |
| | | |
| | | @Resource |
| | | private IStoreService storeService; |
| | | |
| | | /** |
| | | * 跳转到优惠券管理首页 |
| | | */ |
| | |
| | | |
| | | @RequestMapping("/storeList") |
| | | @ResponseBody |
| | | public Object listOfStore(){ |
| | | public Object listOfStore(Integer province,Integer cityCode,Integer cityManagerId,String storeName){ |
| | | Region provinceRegion = regiService.getById(province); |
| | | Region cityRegion = regiService.getById(cityCode); |
| | | Page<Map<String, Object>> page = new PageFactory<Map<String, Object>>().defaultPage(); |
| | | List<Map<String,Object>> storeList = storeService.queryListOfpage(provinceRegion.getCode(),cityRegion.getCode(),cityManagerId,storeName,page); |
| | | |
| | | |
| | | return null; |
| | | } |