DictionaryMapper.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.tld.mapper;
  2. import com.tld.model.*;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. import java.util.Map;
  7. @Mapper
  8. public interface DictionaryMapper {
  9. String getTableName(String type);
  10. void addMaterial(Dictionary dictionary);
  11. void addDictionary(Dictionary dictionary);
  12. List<Dictionary> getDictionary(Dictionary dictionary);
  13. void addTreasuryAccount(Dictionary dictionary);
  14. List<Dictionary> getDictionaryPage(Dictionary dictionary);
  15. String getWarehouse(String storageLocationCode);
  16. Dictionary getWarehouseInfo(WarehouseTransfer warehouseTransfer);
  17. int getInventorySumAmount(Dictionary dictionary1);
  18. List<Dictionary> getDictionaryMaterialPage(Dictionary dictionary);
  19. void updateMaterial(Dictionary dictionary);
  20. void updateTreasuryAccount(Dictionary dictionary);
  21. void updateDictionary(Dictionary dictionary);
  22. void deleteDictionary(Dictionary dictionary);
  23. void addAccess(Access access);
  24. void addLogdata(LogData logData);
  25. Dictionary getTableNameList(Dictionary dictionary);
  26. void addStorageLocation(@Param("storageLocationCode") String storageLocationCode, @Param("warehouseWhere") String warehouseWhere, @Param("storageLocationName") String storageLocationName);
  27. List<Map<String, Object>> export(Dictionary dictionary);
  28. List<Dictionary> getDictionaryPageMaterial(Dictionary dictionary);
  29. void deleteRepertory(Dictionary dictionary);
  30. }