| | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.LoginNoRequired; |
| | | import com.doumee.core.model.ApiResponse; |
| | | import com.doumee.core.tms.model.request.TmsOrderInfoRequest; |
| | | import com.doumee.core.tms.model.request.TmsOrderListPagerRequest; |
| | | import com.doumee.core.tms.model.request.TmsOrderListParamRequest; |
| | | import com.doumee.core.tms.model.request.TmsOrderListRequest; |
| | | import com.doumee.core.tms.model.request.*; |
| | | import com.doumee.core.tms.model.response.TmsBasePageResponse; |
| | | import com.doumee.core.tms.model.response.TmsOrderInfoResponse; |
| | | import com.doumee.core.tms.model.response.TmsOrderListResponse; |
| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "factoryCode", value = "查询类型厂区编码", required = false) |
| | | }) |
| | | public ApiResponse<WholeProvinceBoardVO> centerData(@RequestParam String factoryCode) { |
| | | public ApiResponse<WholeProvinceBoardVO> centerData(@RequestParam(required = false) String factoryCode) { |
| | | WholeProvinceBoardVO data = boardService.centerProvinceData( factoryCode); |
| | | return ApiResponse.success(data); |
| | | } |
| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "factoryCode", value = "查询类型厂区编码", required = false) |
| | | }) |
| | | public ApiResponse<List<LastSevenDaysOrderVo>> arriveGoodsList(@RequestParam String factoryCode) { |
| | | public ApiResponse<List<LastSevenDaysOrderVo>> arriveGoodsList(@RequestParam(required = false) String factoryCode) { |
| | | List<LastSevenDaysOrderVo> list = boardService.arriveGoodsList(factoryCode); |
| | | return ApiResponse.success(list); |
| | | } |
| | |
| | | @ApiImplicitParam(paramType = "query", dataType = "Integer", name = "type", value = "查询类型 0本月 1本周 2本年", required = false), |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "factoryCode", value = "查询类型厂区编码", required = false) |
| | | }) |
| | | public ApiResponse<TotalOutQtyNumVO> totalOutQtyNum(@RequestParam Integer type,@RequestParam String factoryCode) { |
| | | public ApiResponse<TotalOutQtyNumVO> totalOutQtyNum(@RequestParam Integer type,@RequestParam(required = false) String factoryCode) { |
| | | TotalOutQtyNumVO result = boardService.totalOutQtyNum(type,factoryCode); |
| | | |
| | | return ApiResponse.success(result); |
| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "factoryCode", value = "查询类型厂区编码", required = false) |
| | | }) |
| | | public ApiResponse<List<WholeProvinceMapVO>> mapYearAndMonthOutList( @RequestParam String factoryCode) { |
| | | public ApiResponse<List<WholeProvinceMapVO>> mapYearAndMonthOutList( @RequestParam(required = false) String factoryCode) { |
| | | List<WholeProvinceMapVO> list = boardService.mapYearAndMonthOutList(factoryCode); |
| | | return ApiResponse.success(list); |
| | | } |
| | |
| | | |
| | | @ApiOperation("订单任务合同列表接口") |
| | | @LoginNoRequired |
| | | @GetMapping("/orderList") |
| | | @PostMapping("/orderList") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "factoryCode", value = "查询类型厂区编码", required = false) |
| | | }) |
| | | public ApiResponse<List<TmsOrderNoFinishListResponse>> orderNoFinishList(@RequestParam String factoryCode) { |
| | | List<TmsOrderNoFinishListResponse> list = boardService.orderNoFinishList(factoryCode); |
| | | public ApiResponse<TmsBasePageResponse<TmsOrderNoFinishListResponse>> orderNoFinishList(@RequestBody TmsOrderNoFinishListRequest param ) { |
| | | TmsBasePageResponse<TmsOrderNoFinishListResponse> list = boardService.orderNoFinishList(param); |
| | | return ApiResponse.success(list); |
| | | } |
| | | @ApiOperation("合同详情接口") |