TgjjZcxxServiceImpl.java 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. package com.sooka.system.service.impl;
  2. import java.util.List;
  3. import org.springframework.beans.factory.annotation.Autowired;
  4. import org.springframework.stereotype.Service;
  5. import com.sooka.system.mapper.TgjjZcxxMapper;
  6. import com.sooka.system.domain.TgjjZcxx;
  7. import com.sooka.system.service.ITgjjZcxxService;
  8. import com.sooka.common.core.text.Convert;
  9. /**
  10. * 【请填写功能名称】Service业务层处理
  11. *
  12. * @author lei
  13. * @date 2021-11-15
  14. */
  15. @Service
  16. public class TgjjZcxxServiceImpl implements ITgjjZcxxService
  17. {
  18. @Autowired
  19. private TgjjZcxxMapper tgjjZcxxMapper;
  20. /**
  21. * 查询【请填写功能名称】
  22. *
  23. * @param ID 【请填写功能名称】ID
  24. * @return 【请填写功能名称】
  25. */
  26. @Override
  27. public TgjjZcxx selectTgjjZcxxById(Long ID)
  28. {
  29. return tgjjZcxxMapper.selectTgjjZcxxById(ID);
  30. }
  31. /**
  32. * 查询【请填写功能名称】列表
  33. *
  34. * @param tgjjZcxx 【请填写功能名称】
  35. * @return 【请填写功能名称】
  36. */
  37. @Override
  38. public List<TgjjZcxx> selectTgjjZcxxList(TgjjZcxx tgjjZcxx)
  39. {
  40. return tgjjZcxxMapper.selectTgjjZcxxList(tgjjZcxx);
  41. }
  42. /**
  43. * 新增【请填写功能名称】
  44. *
  45. * @param tgjjZcxx 【请填写功能名称】
  46. * @return 结果
  47. */
  48. @Override
  49. public int insertTgjjZcxx(TgjjZcxx tgjjZcxx)
  50. {
  51. return tgjjZcxxMapper.insertTgjjZcxx(tgjjZcxx);
  52. }
  53. /**
  54. * 修改【请填写功能名称】
  55. *
  56. * @param tgjjZcxx 【请填写功能名称】
  57. * @return 结果
  58. */
  59. @Override
  60. public int updateTgjjZcxx(TgjjZcxx tgjjZcxx)
  61. {
  62. return tgjjZcxxMapper.updateTgjjZcxx(tgjjZcxx);
  63. }
  64. /**
  65. * 删除【请填写功能名称】对象
  66. *
  67. * @param ids 需要删除的数据ID
  68. * @return 结果
  69. */
  70. @Override
  71. public int deleteTgjjZcxxByIds(String ids)
  72. {
  73. return tgjjZcxxMapper.deleteTgjjZcxxByIds(Convert.toStrArray(ids));
  74. }
  75. /**
  76. * 删除【请填写功能名称】信息
  77. *
  78. * @param ID 【请填写功能名称】ID
  79. * @return 结果
  80. */
  81. @Override
  82. public int deleteTgjjZcxxById(Long ID)
  83. {
  84. return tgjjZcxxMapper.deleteTgjjZcxxById(ID);
  85. }
  86. }