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.
55 lines
1.6 KiB
Java
55 lines
1.6 KiB
Java
3 years ago
|
package com.glxp.api.dao.auth;
|
||
|
|
||
|
import com.glxp.api.entity.auth.DeptEntity;
|
||
|
import com.glxp.api.req.auth.FilterInvWarehouseRequest;
|
||
|
import org.apache.ibatis.annotations.Param;
|
||
|
|
||
|
import java.util.Date;
|
||
|
import java.util.List;
|
||
|
|
||
|
public interface DeptDao {
|
||
|
|
||
|
List<DeptEntity> filterInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest);
|
||
|
|
||
|
List<DeptEntity> filterAllByUser(FilterInvWarehouseRequest filterInvWarehouseRequest);
|
||
|
|
||
|
DeptEntity selectMaxCode(FilterInvWarehouseRequest filterInvWarehouseRequest);
|
||
|
|
||
|
List<DeptEntity> filterGroupInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest);
|
||
|
|
||
|
boolean insertInvWarehouse(DeptEntity DeptEntity);
|
||
|
|
||
|
boolean updateInvWarehouse(DeptEntity DeptEntity);
|
||
|
|
||
|
DeptEntity selectById(@Param("id") String id);
|
||
|
|
||
|
boolean deleteById(@Param("id") String id);
|
||
|
|
||
|
String getNameByCode(@Param("fromCorpId") String fromCorpId);
|
||
|
|
||
|
/**
|
||
|
* 批量导入仓库信息
|
||
|
*
|
||
|
* @param invWarehouseEntities
|
||
|
*/
|
||
|
void importInvWarehouse(@Param("invWarehouseEntities") List<DeptEntity> invWarehouseEntities);
|
||
|
|
||
|
/**
|
||
|
* 更新第三方仓库ID
|
||
|
*
|
||
|
* @param id
|
||
|
* @param thridWarehouseId
|
||
|
* @param sysId
|
||
|
* @return
|
||
|
*/
|
||
|
boolean updateThridId(@Param("id") String id, @Param("thridWarehouseId") String thridWarehouseId, @Param("sysId") String sysId);
|
||
|
|
||
|
boolean updateTime(@Param("code") String code, @Param("updateTime") Date updateTime);
|
||
|
|
||
|
DeptEntity selectByThirdSys(@Param("thirdIdSys") String thirdIdSys, @Param("thirdId") String thirdId);
|
||
|
|
||
|
/** 根据code查询* */
|
||
|
DeptEntity selectByCodeAll(@Param("code") String code);
|
||
|
|
||
|
}
|