ParkAttachmentService.java 613 B

12345678910111213141516171819202122
  1. package platform.modules.carrier.service;
  2. import org.springframework.beans.factory.annotation.Autowired;
  3. import org.springframework.stereotype.Service;
  4. import platform.common.base.service.BaseService;
  5. import platform.modules.carrier.dao.ParkAttachmentDao;
  6. import platform.modules.carrier.entity.ParkAttachment;
  7. /**
  8. * @author kevin
  9. * @since 2019/4/3 10:29 AM
  10. */
  11. @Service
  12. public class ParkAttachmentService extends BaseService<ParkAttachment> {
  13. @Autowired
  14. private ParkAttachmentDao parkAttachmentDao;
  15. public void deleteByParkId(Integer id) {
  16. parkAttachmentDao.deleteByParkId(id);
  17. }
  18. }