You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.5 KiB
Java
45 lines
1.5 KiB
Java
package com.glxp.api.dao.thrsys;
|
|
|
|
import com.glxp.api.dao.BaseMapperPlus;
|
|
import com.glxp.api.entity.thrsys.ThrInvWarehouseEntity;
|
|
import com.glxp.api.req.thrsys.FilterThrSubInvWarehouseRequest;
|
|
import com.glxp.api.res.thrsys.ThrInvWarehouseResponse;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
|
|
@Mapper
|
|
public interface ThrInvWarehouseDao extends BaseMapperPlus<ThrInvWarehouseDao, ThrInvWarehouseEntity, ThrInvWarehouseEntity> {
|
|
|
|
|
|
List<ThrInvWarehouseEntity> filterThrInvWarehouse(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest);
|
|
|
|
List<ThrInvWarehouseEntity> selectByPid(String pid);
|
|
|
|
List<ThrInvWarehouseEntity> selectByThrDeptCode(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest);
|
|
|
|
boolean insertThrInvWarehouse(ThrInvWarehouseEntity thrInvWarehouseEntity);
|
|
|
|
boolean updateThrInvWarehouse(ThrInvWarehouseEntity thrInvWarehouseEntity);
|
|
|
|
boolean deleteById(@Param("id") String id);
|
|
|
|
/**
|
|
* 根据父级仓库,统计子仓库数量
|
|
*/
|
|
int countSubInvByParentInvId(String parentInvId);
|
|
|
|
List<ThrInvWarehouseEntity> selectByLastTime(@Param("lastUpdateTime") Date lastUpdateTime);
|
|
|
|
/**
|
|
* 下载仓库信息查询变更字段方法
|
|
*
|
|
* @param code
|
|
* @param thirdId
|
|
* @return
|
|
*/
|
|
ThrInvWarehouseEntity selectByCodeAndThirdId(@Param("code") String code, @Param("thirdId") String thirdId);
|
|
}
|