ShouldPayService.java 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package com.caimei.modules.bulkpurchase.service;
  2. import com.caimei.modules.bulkpurchase.dao.ShouldPayDao;
  3. import com.caimei.modules.bulkpurchase.entity.*;
  4. import com.thinkgem.jeesite.common.persistence.Page;
  5. import com.thinkgem.jeesite.common.service.CrudService;
  6. import org.springframework.beans.factory.annotation.Autowired;
  7. import org.springframework.stereotype.Service;
  8. import org.springframework.transaction.annotation.Transactional;
  9. import java.util.List;
  10. /**
  11. * 应付列表Service
  12. *
  13. * @author ZCP
  14. * @version 2017-06-06
  15. */
  16. @Service
  17. @Transactional(readOnly = true)
  18. public class ShouldPayService extends CrudService<ShouldPayDao, ShouldPay> {
  19. @Autowired
  20. private ShouldPayDao shouldPayDao;
  21. public ShouldPay get(String id) {
  22. ShouldPay shouldPay = super.get(id);
  23. return shouldPay;
  24. }
  25. public List<ShouldPay> findList(ShouldPay ShouldPay) {
  26. return super.findList(ShouldPay);
  27. }
  28. public Page<ShouldPay> findPage(Page<ShouldPay> page, ShouldPay ShouldPay) {
  29. return super.findPage(page, ShouldPay);
  30. }
  31. }