ValuationAccountingDao.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. package com.fuzamei.dao;
  2. import java.util.List;
  3. import java.util.Map;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.stereotype.Repository;
  6. import com.fuzamei.entity.ValuationAccount;
  7. import com.fuzamei.mapperInterface.ValuationAccountingMapper;
  8. @Repository
  9. public class ValuationAccountingDao {
  10. @Autowired
  11. private ValuationAccountingMapper valuationAccountingMapper;
  12. public int findAllInformations() {
  13. return valuationAccountingMapper.findAllInformations();
  14. }
  15. public List<ValuationAccount> queryValuationAccountingInformation(Map<String, Object> map) {
  16. return valuationAccountingMapper.queryValuationAccountingInformation(map);
  17. }
  18. public void insertInformationIntoTableByAdmin(Map<String, Object> map) {
  19. valuationAccountingMapper.insertInformationIntoTableByAdmin(map);
  20. }
  21. public void updateInformationByBank(Map<String, Object> map) {
  22. valuationAccountingMapper.updateInformationByBank(map);
  23. }
  24. public void insertOperationHistoryInformationToDao(Map<String, Object> map) {
  25. valuationAccountingMapper.insertOperationHistoryInformationToDao(map);
  26. }
  27. public void insertInformationToAttachment(Map<String, Object> map) {
  28. valuationAccountingMapper.insertInformationToAttachment(map);
  29. }
  30. public List<ValuationAccount> checkoutDownloadInformation(int fundId) {
  31. return valuationAccountingMapper.checkoutDownloadInformation(fundId);
  32. }
  33. public int queryIfHasTheSameFundId(Integer fundId) {
  34. return valuationAccountingMapper.queryIfHasTheSameFundId(fundId);
  35. }
  36. public ValuationAccount checkIfFundExists(Integer fundId, String fundName) {
  37. return valuationAccountingMapper.checkIfFundExists(fundId,fundName);
  38. }
  39. public void updateInformationByAdmin(Map<String, Object> map) {
  40. valuationAccountingMapper.updateInformationByAdmin(map);
  41. }
  42. public void updateAttachmentInformationByAdmin(Map<String, Object> map) {
  43. valuationAccountingMapper.updateAttachmentInformationByAdmin(map);
  44. }
  45. public void updateAttachmentInformationByBank(Map<String, Object> map) {
  46. valuationAccountingMapper.updateAttachmentInformationByBank(map);
  47. }
  48. }