package com.junmp.jyzb.service;

import com.junmp.jyzb.api.bean.dto.StocktakeDto;
import com.junmp.jyzb.api.bean.query.StocktakeReq;
import com.junmp.jyzb.api.bean.req.UpdateStocktakeReq;
import com.junmp.jyzb.entity.OrderNum;
import com.junmp.jyzb.entity.Stocktake;
import com.baomidou.mybatisplus.extension.service.IService;
import com.junmp.v2.db.api.page.PageResult;

/**
* @author lxh专属坐骑
* @description 针对表【bussiness_stocktake】的数据库操作Service
* @createDate 2023-09-20 14:48:50
*/
public interface StocktakeService extends IService<Stocktake> {

    String AddStocktakeOrder(UpdateStocktakeReq req);

    PageResult<Stocktake> ShowStocktakeOrderPage(StocktakeReq req);

    boolean UpdateStocktakeOrder(UpdateStocktakeReq req);

    //设置单据单号
    OrderNum setOrderCode(String bussinessType, Long orgId);
}
