| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- package com.dk.mdm.mapper.mst;
- 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.SpplierResponse;
- import com.dk.mdm.model.vo.mst.SupplierVo;
- import org.springframework.stereotype.Repository;
- import java.util.List;
- /**
- * 供应商 Mapper
- */
- @Repository
- public interface SupplierMapper extends BaseMapper<Supplier>{
- /**
- * @desc : 根据条件进行查询
- * @author : 王英杰
- * @date : 2023/1/9 10:42
- */
- List<SpplierResponse> 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(Supplier supplierVo);
- /**
- * @desc : 保存供应商品牌
- * @author : 王英杰
- * @date : 2024/2/29 17:49
- */
- int insertSupplierBrandtBatch(List<Supplier> supplierVo );
- /**
- * @desc : 批量删除 供应商iD对应的品牌
- * @author : 王英杰
- * @date : 2024/2/29 17:49
- */
- int batchDeleteBrand (List<String> supIdList );
- /**
- * @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);
- }
|