JsgcghxkMapper.java 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package com.siwei.apply.mapper;
  2. import com.siwei.apply.domain.Jsgcghxk;
  3. import com.siwei.apply.domain.vo.JsgcghxkUpdateVo;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. // 建设工程规划许可 Mapper 接口
  8. @Mapper
  9. public interface JsgcghxkMapper {
  10. /**
  11. * 根据项目id查询是否存在
  12. */
  13. Boolean isExit(String projectId);
  14. /**
  15. * 添加建设工程规划许可信息
  16. *
  17. * @param jsgcghxk
  18. */
  19. void add(Jsgcghxk jsgcghxk);
  20. /**
  21. * 获取建设工程规划许可信息列表
  22. *
  23. * @param projectId
  24. * @return
  25. */
  26. List<Jsgcghxk> get(String projectId);
  27. /**
  28. * 更新建设工程规划许可信息
  29. *
  30. * @param jsgcghxkUpdateVo
  31. */
  32. void update(JsgcghxkUpdateVo jsgcghxkUpdateVo);
  33. /**
  34. * 更新建设工程规划许可的上链状态
  35. * @param id 主键ID
  36. * @param hasOnchain 是否上链
  37. */
  38. void updateHasOnchain(@Param("id") String id, @Param("hasOnchain") Boolean hasOnchain);
  39. }