1
0

TdhyhsMapper.java 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.siwei.apply.mapper;
  2. import com.siwei.apply.domain.Tdhyhs;
  3. import com.siwei.apply.domain.vo.TdhyhsUpdateVo;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. // 土地核验与规划核实 Mapper 接口
  7. @Mapper
  8. public interface TdhyhsMapper {
  9. /**
  10. * 根据项目id查询是否存在
  11. */
  12. Boolean isExit(String projectId);
  13. /**
  14. * 添加土地核验与规划核实信息
  15. *
  16. * @param tdhyhs
  17. */
  18. void add(Tdhyhs tdhyhs);
  19. /**
  20. * 获取土地核验与规划核实信息
  21. *
  22. * @param projectId
  23. * @return
  24. */
  25. Tdhyhs get(String projectId);
  26. /**
  27. * 更新土地核验与规划核实信息
  28. *
  29. * @param tdhyhsUpdateVo
  30. */
  31. void update(TdhyhsUpdateVo tdhyhsUpdateVo);
  32. /**
  33. * 更新土地核验与规划核实的上链状态
  34. * @param id 主键ID
  35. * @param hasOnchain 是否上链
  36. */
  37. void updateHasOnchain(@Param("id") String id, @Param("hasOnchain") Boolean hasOnchain);
  38. }