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/auth/InvWarehouseService.java

107 lines
3.2 KiB
Java

3 years ago
package com.glxp.api.service.auth;
import com.baomidou.mybatisplus.extension.service.IService;
3 years ago
import com.glxp.api.entity.auth.InvWarehouseEntity;
import com.glxp.api.req.auth.FilterInvSubWarehouseRequest;
import com.glxp.api.req.auth.FilterInvWarehouseRequest;
import com.glxp.api.res.auth.InvSubWarehouseResponse;
import com.glxp.api.res.auth.InvWarehouseThirdSysResponse;
2 years ago
import org.apache.ibatis.annotations.Param;
3 years ago
import java.util.Date;
3 years ago
import java.util.List;
public interface InvWarehouseService extends IService<InvWarehouseEntity> {
3 years ago
2 years ago
InvWarehouseEntity getByWareId(String id);
List<InvWarehouseEntity> getByWarePcode(@Param("parentCode") String parentCode);
3 years ago
InvWarehouseEntity findById(String id);
InvWarehouseEntity findByOne(Integer advanceType);
InvWarehouseEntity selectByThrCode(String code, String thirdSys);
3 years ago
List<InvWarehouseEntity> filterInvSubWarehouse(FilterInvSubWarehouseRequest filterInvSubWarehouseRequest);
List<InvWarehouseEntity> filterGroupInvSub(FilterInvWarehouseRequest filterInvSubWarehouseRequest);
List<InvWarehouseEntity> filterGroupBySpuse(FilterInvWarehouseRequest filterInvSubWarehouseRequest);
3 years ago
InvWarehouseEntity selectMaxCode(FilterInvSubWarehouseRequest filterInvSubWarehouseRequest);
List<InvWarehouseEntity> findByParentId(String code);
InvWarehouseEntity findByInvSubByCode(String code);
boolean insertInvSubWarehouse(InvWarehouseEntity invWarehouseEntity);
boolean updateInvSubWarehouse(InvWarehouseEntity invWarehouseEntity);
boolean deleteById(String id);
boolean deleteByParentCode(String code);
public boolean checkDuplicateName(String parentId, String name);
2 years ago
boolean updateCheckExit(InvWarehouseEntity invWarehouseEntity);
3 years ago
/**
*
*
* @param subInvCode
* @return
*/
String getSubInvName(String subInvCode);
List<InvWarehouseThirdSysResponse> getThirdSysDetail(String id);
boolean bindThrWarehouse(String id, String thridWarehouseId, String sysId);
boolean unbindThrWarehouse(String id, String sysId);
/**
*
*
* @param filterInvSubWarehouseRequest
* @return
*/
List<InvSubWarehouseResponse> filterInvSubWarehouseResponse(FilterInvSubWarehouseRequest filterInvSubWarehouseRequest);
/**
* ...
*/
InvWarehouseEntity filterGroupInvSubAndcode(String code);
/**
*
*/
List<InvWarehouseEntity> filterGroupInvSubDown(FilterInvWarehouseRequest filterInvSubWarehouseRequest);
/**
*
*
* @param filterInvWarehouseRequest
* @return
*/
List<InvSubWarehouseResponse> filterSubInvList(FilterInvWarehouseRequest filterInvWarehouseRequest);
/**
* ID
*
* @return
*/
List<InvWarehouseEntity> findInvListByUser(FilterInvWarehouseRequest filterInvWarehouseRequest);
String selectParentIdByCode(String invCode);
List<InvWarehouseEntity> selectInvById(List<String> InvList);
List<InvWarehouseEntity> findByLastTime(Date lastUpdateTime);
List<InvWarehouseEntity> selectLowWarehouseAll(String pCode);
3 years ago
}