WarehouseMapper.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package com.dk.mdm.mapper.mst;
  2. import com.dk.mdm.model.pojo.mst.Warehouse;
  3. import com.dk.common.mapper.BaseMapper;
  4. import com.dk.mdm.model.query.mst.WarehouseQuery;
  5. import com.dk.mdm.model.response.mst.WarehouseResponse;
  6. import com.dk.mdm.model.vo.mst.WarehouseVO;
  7. import org.springframework.stereotype.Repository;
  8. import java.util.List;
  9. import java.util.Map;
  10. /**
  11. * 仓库档案 Mapper
  12. */
  13. @Repository
  14. public interface WarehouseMapper extends BaseMapper<Warehouse>{
  15. /**
  16. * @desc : 根据条件进行查询
  17. * @author : 于继渤
  18. * @date : 2024/2/26 10:36
  19. */
  20. List<WarehouseResponse> selectByCond(WarehouseQuery warehouseQuery);
  21. /**
  22. * @desc : 根据条件进行查询(数量)
  23. * @author : 于继渤
  24. * @date : 2024/2/26 10:36
  25. */
  26. Long countByCond(WarehouseQuery warehouseQuery);
  27. /**
  28. * @desc : 批量编辑序号
  29. * @author : 于继渤
  30. * @date : 2023/1/4 9:39
  31. */
  32. Integer updateBatchWarehouseDisplayNo(List<Map<String,Object>> dataIds);
  33. /**
  34. * @desc : 修改默认
  35. * @author : 于继渤
  36. * @date : 2023/1/4 9:39
  37. */
  38. Integer updateFlgDefault(Integer id);
  39. }