6770e6e16b43afc4459b9bc698f0ae21dd8f2b8a.svn-base 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package cn.com.goldenwater.dcproj.service;
  2. import cn.com.goldenwater.core.service.CrudService;
  3. import cn.com.goldenwater.dcproj.dto.BisInspKeyRegSecDicObjDto;
  4. import cn.com.goldenwater.dcproj.model.BisInspKeyRegSecUnit;
  5. import cn.com.goldenwater.dcproj.param.BisInspKeyRegSecUnitParam;
  6. import com.github.pagehelper.PageInfo;
  7. import java.util.List;
  8. /**
  9. * @author lhc
  10. * @date 2019-4-20
  11. */
  12. public interface BisInspKeyRegSecUnitService extends CrudService<BisInspKeyRegSecUnit, BisInspKeyRegSecUnitParam> {
  13. // ------------------------- 自定方法 -------------------------
  14. List<BisInspKeyRegSecUnit> getBySecId(String secId);
  15. /**
  16. * 获取字典选项
  17. *
  18. * @return
  19. */
  20. BisInspKeyRegSecDicObjDto getRegSecDic();
  21. /**
  22. * 判断是否是改变单位属性,如果是则不能变更。
  23. *
  24. * @param bisInspKeyRegSecUnit
  25. * @return
  26. */
  27. int updateInfo(BisInspKeyRegSecUnit bisInspKeyRegSecUnit);
  28. /***
  29. * 判断单位下是否添加问题,没有添加就可以删除
  30. * @param bisInspKeyRegSecUnit
  31. * @return
  32. */
  33. int deleteAddCheck(String id);
  34. }