| | |
| | | return productOrderService.getStatus(productOrder); |
| | | } |
| | | |
| | | /** |
| | | * 根据Map的条件获取合同列表 |
| | | * @param params |
| | | * @return com.kidgrow.common.model.ResultBody |
| | | */ |
| | | @ApiOperation(value = "根据Map的条件获取合同列表") |
| | | @PostMapping("/findProductOrderListByMap") |
| | | public ResultBody findProductOrderListByMap(@RequestBody Map<String, Object> params) { |
| | | List<ProductOrder> productOrderList = productOrderService.listByMap(params); |
| | | if ((productOrderList!=null) && (productOrderList.size() > 0)) { |
| | | return ResultBody.ok().data(productOrderList); |
| | | } else { |
| | | return ResultBody.failed(); |
| | | } |
| | | } |
| | | |
| | | } |