| | |
| | | import com.matrix.system.app.dto.ServiceOrderListDto; |
| | | import com.matrix.system.app.mapper.SysBeauticianStateMapper; |
| | | import com.matrix.system.app.mapper.SysProjUseMapper; |
| | | import com.matrix.system.app.vo.ServiceOrderListVo; |
| | | import com.matrix.system.app.vo.ServiceProductListVo; |
| | | import com.matrix.system.app.vo.ServiceProjVo; |
| | | import com.matrix.system.app.vo.ServiceTcVo; |
| | | import com.matrix.system.app.vo.*; |
| | | import com.matrix.system.common.bean.SysUsers; |
| | | import com.matrix.system.constance.Dictionary; |
| | | import com.matrix.system.hive.bean.SysBeauticianState; |
| | |
| | | @ApiOperation(value = "提交服务单", notes = "提交服务单") |
| | | @PostMapping(value = "/createServiceOrder") |
| | | public AjaxResult createServiceOrder(@RequestBody @Validated CreateServiceOrderDto serviceOrderDto) { |
| | | if (CollectionUtils.isNotEmpty(serviceOrderDto.getProjItems())) { |
| | | if (CollectionUtils.isEmpty(serviceOrderDto.getProjItems())) { |
| | | throw new GlobleException("请选择服务"); |
| | | } |
| | | |
| | |
| | | return AjaxResult.buildSuccessInstance(projServicesService.findApiServiceOrderListInPage(orderListDto, pageVo), projServicesService.findApiServiceOrderListTotal(orderListDto)); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取服务单详情", notes = "获取服务单详情") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "ok", response = ServiceOrderDetailVo.class) |
| | | }) |
| | | @GetMapping(value = "/findServiceOrderDetail/{id}") |
| | | public AjaxResult findServiceOrderDetail(@PathVariable("id") Long id) { |
| | | return null; |
| | | } |
| | | } |