|
|
@ -24,7 +24,21 @@ import java.util.Map; |
|
|
|
@Controller |
|
|
|
public class IotVisualMoudleInfoController extends BaseController |
|
|
|
{ |
|
|
|
@RequestMapping(method={org.springframework.web.bind.annotation.RequestMethod.POST}, value={"/page/moudle/visual"}) |
|
|
|
@RequestMapping(method={ org.springframework.web.bind.annotation.RequestMethod.GET }, value={"/api/moudle/visual"}) |
|
|
|
public ModelAndView selectPageEAPI(HttpServletResponse response, @RequestParam(required=false) Integer pageSize, @RequestParam(required=false) Integer paged) |
|
|
|
{ |
|
|
|
Map resultMap = getResultMap(); |
|
|
|
IotVisualMoudleInfoBO obj =new IotVisualMoudleInfoBO(); |
|
|
|
try { |
|
|
|
|
|
|
|
resultMap = this.service.selectPageList("IotVisualMoudleInfo.selectPage", getPageBean(paged, pageSize), obj, new Object[0]); |
|
|
|
} catch (Exception e) { |
|
|
|
exception(e, resultMap, new Object[] { obj }); |
|
|
|
} |
|
|
|
return getModelAndView(response, resultMap); |
|
|
|
} |
|
|
|
|
|
|
|
@RequestMapping(method={org.springframework.web.bind.annotation.RequestMethod.POST,org.springframework.web.bind.annotation.RequestMethod.GET }, value={"/page/moudle/visual"}) |
|
|
|
public ModelAndView selectPage(HttpServletResponse response, @RequestHeader(value="USER-KEY", required=true) String userKey, @RequestBody IotVisualMoudleInfoBO obj, @RequestParam(required=false) Integer pageSize, @RequestParam Integer paged) |
|
|
|
{ |
|
|
|
Map resultMap = getResultMap(); |
|
|
|