| | |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.modules.eCallEventTwo.dto.EcOrderDTO; |
| | | import org.springblade.modules.eCallEventTwo.dto.EcOrderParamDTO; |
| | | import org.springblade.modules.eCallEventTwo.entity.ECallEventTwoEntity; |
| | | import org.springblade.modules.eCallEventTwo.service.EcOrderService; |
| | |
| | | /** |
| | | * 工单 同步 |
| | | */ |
| | | @PostMapping("/getCount") |
| | | @GetMapping("/getCount") |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "工单统计") |
| | | public R getCount(@Valid @RequestBody EcOrderParamDTO ecOrderParamDTO) { |
| | | Map<String, String> count = ecOrderService.getCount(ecOrderParamDTO); |
| | | return R.data(count); |
| | | public R getCount( EcOrderParamDTO ecOrderParamDTO, Query query) { |
| | | IPage<EcOrderDTO> pages = ecOrderService.getCount(Condition.getPage(query),ecOrderParamDTO); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | |