package com.dk.mdm.mapper.mst; import com.dk.mdm.model.pojo.mst.Org; import com.dk.mdm.model.pojo.mst.Supplier; import com.dk.common.mapper.BaseMapper; import com.dk.mdm.model.query.mst.SupplierQuery; import com.dk.mdm.model.response.mst.StaffResponse; import com.dk.mdm.model.vo.mst.SupplierVo; import org.springframework.stereotype.Repository; import java.util.List; /** * 供应商 Mapper */ @Repository public interface SupplierMapper extends BaseMapper{ /** * @desc : 根据条件进行查询 * @author : 王英杰 * @date : 2023/1/9 10:42 */ List selectByCond(SupplierQuery supplierQuery); /** * @desc : 根据条件进行查询(数量) * @author : 王英杰 * @date : 2023/1/9 10:42 */ Long countByCond(SupplierQuery supplierQuery); /** * @desc : 保存供应商品牌 * @author : 王英杰 * @date : 2024/2/29 17:49 */ int insertSupplierBrand(SupplierVo supplierVo); /** * @desc : 批量删除 供应商iD对应的品牌 * @author : 王英杰 * @date : 2024/2/29 17:49 */ int batchDelete (SupplierVo supplierVo); /** * @desc : 自动生id * @author : 王英杰 * @date : 2024/2/29 17:49 */ String selectUuid (); /** * @desc :根据 公司id和uuid 生成 code * @author : 王英杰 * @date : 2024/2/29 17:49 */ String selectSupCode (SupplierVo supplierVo); }