TSeapriceQueryLogServiceImpl.java 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. package com.ruoyi.quotation.service.impl;
  2. import java.util.List;
  3. import com.ruoyi.quotation.domain.TSeapriceQueryLog;
  4. import com.ruoyi.quotation.mapper.TSeapriceQueryLogMapper;
  5. import com.ruoyi.quotation.service.ITSeapriceQueryLogService;
  6. import org.springframework.beans.factory.annotation.Autowired;
  7. import org.springframework.stereotype.Service;
  8. /**
  9. * 海运价格查询日志记录Service业务层处理
  10. *
  11. * @author frank
  12. * @date 2021-07-16
  13. */
  14. @Service
  15. public class TSeapriceQueryLogServiceImpl implements ITSeapriceQueryLogService
  16. {
  17. @Autowired
  18. private TSeapriceQueryLogMapper tSeapriceQueryLogMapper;
  19. /**
  20. * 查询海运价格查询日志记录
  21. *
  22. * @param fId 海运价格查询日志记录ID
  23. * @return 海运价格查询日志记录
  24. */
  25. @Override
  26. public TSeapriceQueryLog selectTSeapriceQueryLogById(Long fId)
  27. {
  28. return tSeapriceQueryLogMapper.selectTSeapriceQueryLogById(fId);
  29. }
  30. /**
  31. * 查询海运价格查询日志记录列表
  32. *
  33. * @param tSeapriceQueryLog 海运价格查询日志记录
  34. * @return 海运价格查询日志记录
  35. */
  36. @Override
  37. public List<TSeapriceQueryLog> selectTSeapriceQueryLogList(TSeapriceQueryLog tSeapriceQueryLog)
  38. {
  39. return tSeapriceQueryLogMapper.selectTSeapriceQueryLogList(tSeapriceQueryLog);
  40. }
  41. /**
  42. * 新增海运价格查询日志记录
  43. *
  44. * @param tSeapriceQueryLog 海运价格查询日志记录
  45. * @return 结果
  46. */
  47. @Override
  48. public int insertTSeapriceQueryLog(TSeapriceQueryLog tSeapriceQueryLog)
  49. {
  50. return tSeapriceQueryLogMapper.insertTSeapriceQueryLog(tSeapriceQueryLog);
  51. }
  52. /**
  53. * 修改海运价格查询日志记录
  54. *
  55. * @param tSeapriceQueryLog 海运价格查询日志记录
  56. * @return 结果
  57. */
  58. @Override
  59. public int updateTSeapriceQueryLog(TSeapriceQueryLog tSeapriceQueryLog)
  60. {
  61. return tSeapriceQueryLogMapper.updateTSeapriceQueryLog(tSeapriceQueryLog);
  62. }
  63. /**
  64. * 批量删除海运价格查询日志记录
  65. *
  66. * @param fIds 需要删除的海运价格查询日志记录ID
  67. * @return 结果
  68. */
  69. @Override
  70. public int deleteTSeapriceQueryLogByIds(Long[] fIds)
  71. {
  72. return tSeapriceQueryLogMapper.deleteTSeapriceQueryLogByIds(fIds);
  73. }
  74. /**
  75. * 删除海运价格查询日志记录信息
  76. *
  77. * @param fId 海运价格查询日志记录ID
  78. * @return 结果
  79. */
  80. @Override
  81. public int deleteTSeapriceQueryLogById(Long fId)
  82. {
  83. return tSeapriceQueryLogMapper.deleteTSeapriceQueryLogById(fId);
  84. }
  85. }