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.
udi-wms-java/src/main/java/com/glxp/api/service/thrsys/ThrInvWarehouseService.java

51 lines
1.7 KiB
Java

package com.glxp.api.service.thrsys;
import com.baomidou.mybatisplus.extension.service.IService;
import com.glxp.api.common.res.BaseResponse;
import com.glxp.api.entity.thrsys.ThrInvWarehouseEntity;
import com.glxp.api.entity.thrsys.ThrSystemDetailEntity;
import com.glxp.api.req.thrsys.FilterThrSubInvWarehouseRequest;
import com.glxp.api.res.thrsys.ThrInvWarehouseResponse;
import java.util.Date;
import java.util.List;
public interface ThrInvWarehouseService extends IService<ThrInvWarehouseEntity> {
ThrInvWarehouseEntity selectById(String id);
ThrInvWarehouseEntity selectByThrCode(String thirdSys, String thirdId);
List<ThrInvWarehouseEntity> filterThrInvWarehouse(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest);
List<ThrInvWarehouseEntity> selectByPid(String pid);
List<ThrInvWarehouseEntity> selectByThrDeptCode(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest);
boolean insertThrInvWarehouse(ThrInvWarehouseEntity thrInvWarehouseEntity);
boolean insertInvWarehouses(List<ThrInvWarehouseEntity> thrSubInvWarehouseEntities);
boolean updateThrInvWarehouse(ThrInvWarehouseEntity thrInvWarehouseEntity);
boolean deleteById(String id);
/**
* 查询第三方分库数据
*
* @param filterThrSubInvWarehouseRequest
* @return
*/
List<ThrInvWarehouseResponse> filterThrInvWarehouseResponse(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest);
List<ThrInvWarehouseEntity> findByLastTime(Date lastUpdateTime);
/**
* 下载第三方系统仓库/科室信息
*
* @param thrSystemDetailEntity
*/
BaseResponse downloadThrInv(ThrSystemDetailEntity thrSystemDetailEntity);
}