package com.dk.mdm.mapper.mst;

import com.dk.mdm.model.pojo.core.Factory;
import com.dk.mdm.model.pojo.mst.PrintLayout;
import com.dk.common.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
*  打印模版 Mapper
*/
@Repository
public interface PrintLayoutMapper extends BaseMapper<PrintLayout>{
    /**
     * @desc : 获取打印数据
     * @author : 周兴
     * @date : 2024-4-22 15:47
     */
    Map<String, Object> getPrintData(Map param);

    /**
     * @desc   : 票据名称是否重复
     * @date   : 2024/4/23 16:39
     * @author : 周兴
     */
    Long selectByName(PrintLayout printLayout);
}

