package com.dayou.controller;

import com.dayou.dto.TakeNumberDTO;
import com.dayou.dto.TaskRecordDTO;
import com.dayou.workflow.annotation.FinishTask;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.web.bind.annotation.RestController;
import com.dayou.controller.BaseController;
import com.dayou.service.IBusinessNumberService;
import com.dayou.entity.BusinessNumber;
import com.dayou.common.RestResponse;
import org.springframework.web.bind.annotation.*;
import com.dayou.utils.ConvertUtil;
import com.dayou.utils.HttpKit;
import com.dayou.exception.ErrorCode;
import java.util.Date;
import java.util.List;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.springframework.http.MediaType;
import org.springframework.web.multipart.MultipartFile;
/**
 * 业务号
 *
 * @author wucl
 * @since 2023-11-06
 */
@RestController
@RequestMapping("businessNumber")
@Slf4j
public class BusinessNumberController extends BaseController {
    @Autowired
    private IBusinessNumberService businessNumberService;


//    /**
//     * 业务取号
//     * @return
//     */
//    @PostMapping("/take")
//    public RestResponse<String> takeNumber(){
//        String ret = businessNumberService.takeOrderNumber();
//        return RestResponse.data(ret);
//    }


}

