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-spms-java/src/main/java/com/glxp/api/service/thrsys/ThrDeptService.java

51 lines
1.2 KiB
Java

package com.glxp.api.service.thrsys;
import com.glxp.api.common.res.BaseResponse;
import com.glxp.api.entity.thrsys.ThrDeptEntity;
import com.glxp.api.req.thrsys.FilterThrDeptRequest;
import java.util.List;
public interface ThrDeptService {
ThrDeptEntity findDefault(Boolean advaceType, Boolean isDefault);
boolean editExit(String code, String thirdSysFk, Long id);
List<ThrDeptEntity> filterThrInvWarehouse(FilterThrDeptRequest filterThrDeptRequest);
List<ThrDeptEntity> filterGroupInvWarehouse(FilterThrDeptRequest filterThrDeptRequest);
boolean insertInvWarehouse(ThrDeptEntity thrDeptEntity);
boolean insertInvWarehouses(List<ThrDeptEntity> thrDeptEntities);
boolean updateInvWarehouse(ThrDeptEntity thrDeptEntity);
ThrDeptEntity selectById(String id);
ThrDeptEntity selectByCode(String code, String thirdSysFk);
boolean deleteById(String id);
ThrDeptEntity selectMaxCode(FilterThrDeptRequest filterThrDeptRequest);
/**
* 下载第三方系统仓库数据
*
* @param thirdSysFk
* @return
*/
BaseResponse downloadThirdWarehouse(String thirdSysFk);
/**
* 删除第三方仓库
*
* @param id
* @return
*/
BaseResponse deleteInvById(String id);
}