package com.glxp.api.dao.thrsys; import com.glxp.api.entity.thrsys.ThrDeptEntity; import com.glxp.api.req.thrsys.FilterThrDeptRequest; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper public interface ThrDeptDao { List filterThrInvWarehouse(FilterThrDeptRequest filterThrDeptRequest); List filterThrGroupInvWarehouse(FilterThrDeptRequest filterThrDeptRequest); boolean insertThrInvWarehouse(ThrDeptEntity thrDeptEntity); boolean insertInvWarehouses(@Param("thrInvWarehouseEntitys") List thrDeptEntities); boolean updateThrInvWarehouse(ThrDeptEntity thrDeptEntity); ThrDeptEntity selectById(@Param("id") String id); boolean deleteById(@Param("id") String id); /** * 根据code查询第三方仓库数据 */ ThrDeptEntity selectByCode(@Param("code") String code); ThrDeptEntity selectMaxCode(FilterThrDeptRequest filterThrDeptRequest); }