|
@@ -420,4 +420,23 @@ public class EmsProdplanRoundController extends BaseRESTfulController {
|
|
|
return success(emsProdplanRounds);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value="获取列表", notes="展开查询")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer")
|
|
|
+ })
|
|
|
+ //@RequiresPermissions("emsprodplanround:view")
|
|
|
+ @GetMapping(value = "/getTableDetailAsRadio")
|
|
|
+ public RESTfulResult getTableDetailAsRadio (@RequestParam HashMap<String, Object> parmas,Integer pageNum, Integer pageSize){
|
|
|
+ if(parmas.get("id") != null && !parmas.get("id").toString().isEmpty()){
|
|
|
+ String id = parmas.get("id").toString();
|
|
|
+ if(!id.startsWith("'")){
|
|
|
+ id = "'" + id.replaceAll(",", "','").replaceAll(",", "','") + "'";
|
|
|
+ }
|
|
|
+ parmas.put("id", id);
|
|
|
+ }
|
|
|
+ PageList pageList = emsProdplanRoundService.getTableDetailAsRadioForPage(parmas, pageNum, pageSize);
|
|
|
+ return success(pageList);
|
|
|
+ }
|
|
|
+
|
|
|
}
|