ProgramInfoItemServiceImpl.java 980 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.welampiot.service.impl;
  2. import com.welampiot.dao.ProgramInfoItemDao;
  3. import com.welampiot.dto.ProgramInfoItemDTO;
  4. import com.welampiot.service.ProgramInfoItemService;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.stereotype.Service;
  7. import java.util.List;
  8. /**
  9. * ClassName: ProgramInfoItemServiceImpl
  10. * Package: com.welampiot.service.impl
  11. * Description:
  12. *
  13. * @Author: zhj_Start
  14. * @Create: 2023/6/12 - 17:50
  15. * @Version: v1.0
  16. */
  17. @Service
  18. public class ProgramInfoItemServiceImpl implements ProgramInfoItemService {
  19. @Autowired
  20. private ProgramInfoItemDao programInfoItemDao;
  21. @Override
  22. public List<ProgramInfoItemDTO> getProgramItemListByInfoId(Integer programId) {
  23. return programInfoItemDao.getProgramItemListByInfoId(programId);
  24. }
  25. @Override
  26. public void deleteProgramInfoItemDataById(Integer programId) {
  27. programInfoItemDao.deleteProgramInfoItemDataById(programId);
  28. }
  29. }