package com.tld.mapper; import com.tld.model.*; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; @Mapper public interface DictionaryMapper { String getTableName(String type); void addMaterial(Dictionary dictionary); void addDictionary(Dictionary dictionary); List getDictionary(Dictionary dictionary); void addTreasuryAccount(Dictionary dictionary); List getDictionaryPage(Dictionary dictionary); String getWarehouse(String storageLocationCode); Dictionary getWarehouseInfo(WarehouseTransfer warehouseTransfer); int getInventorySumAmount(Dictionary dictionary1); List getDictionaryMaterialPage(Dictionary dictionary); void updateMaterial(Dictionary dictionary); void updateTreasuryAccount(Dictionary dictionary); void updateDictionary(Dictionary dictionary); void deleteDictionary(Dictionary dictionary); void addAccess(Access access); void addLogdata(LogData logData); Dictionary getTableNameList(Dictionary dictionary); void addStorageLocation(@Param("storageLocationCode") String storageLocationCode, @Param("warehouseWhere") String warehouseWhere, @Param("storageLocationName") String storageLocationName); List> export(Dictionary dictionary); List getDictionaryPageMaterial(Dictionary dictionary); void deleteRepertory(Dictionary dictionary); }