|
|
package com.sy.IMPORT;
|
|
|
|
|
|
|
|
|
import com.sy.model.InportallocateMode;
|
|
|
import com.sy.service.InportallcateService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
@RequestMapping("/inport")
|
|
|
public class InportallocateController {
|
|
|
@Autowired
|
|
|
InportallcateService inportallcateService;
|
|
|
@RequestMapping("/selectInportallocates")
|
|
|
public Map getById(@RequestParam(value = "waybill",required = true) String waybill,
|
|
|
@RequestParam(value = "pageIndex",required = true) int pageIndex,
|
|
|
@RequestParam(value = "pageSize",required = true) int pageSize){
|
|
|
InportallocateMode mode=new InportallocateMode();
|
|
|
mode.setWaybill(waybill);
|
|
|
mode.setPageIndex(pageIndex);
|
|
|
mode.setPageSize(pageSize);
|
|
|
Map map=inportallcateService.selectAllocate(mode);
|
|
|
return map;
|
|
|
}
|
|
|
} |
...
|
...
|
|