IStoreService.java 1.52 KB
package vion.service;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.base.MPJBaseService;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.bind.annotation.RequestParam;
import vion.dto.StatusDTO;
import vion.dto.StoreDTO;
import vion.model.Store;
import vion.vo.StoreVO;

import java.util.List;
import java.util.Map;

public interface IStoreService extends MPJBaseService<Store> {

    Page<StoreVO> getStoreList(StoreDTO data, List<OrderItem> orderItemList);

    String updateStoreStage(StatusDTO statusDTO, String token);

    String calMaintainStatus(List<Long> storeIdList);

    List<StoreVO> storeScreen();

    String mergeStore(StoreDTO dto);

    String addTag(Long id, List<Long> tagIdList);

    List<Map<String, Number>> fileDetail(@RequestParam List<Long> storeIdList);

    Boolean logNotify(Long id, String[] userIdStr);

    String addCron(Long storeId, String storeName, String cronStr, String userId);

    String stopCron(Long storeId);

    Map<Integer, Long> statState();

    Boolean fileNotify(String storeName, String contractNo, String sourceName, String[] fileNameArr, String[] userIdStr);

    Map<String, Map<String, Map<String, Long>>> storeFileTable(StoreDTO data, List<OrderItem> orderItemList, HttpServletResponse response);

    void storeFileExport(StoreDTO data, List<OrderItem> orderItemList, HttpServletResponse response);

    Map<String, Map<String, Long>> storeTableByMainUser();
}