区域接口优化

This commit is contained in:
zhangchenbiao
2023-06-29 09:41:45 +08:00
parent 43c0665080
commit 5f32431f02
7 changed files with 120 additions and 1 deletions

View File

@@ -104,4 +104,8 @@ public class HyOpenAreaInfoDAO {
}
return hyOpenAreaInfoMapper.selectById(id);
}
public List<HyOpenAreaInfoDO> getAllOpenArea(){
return hyOpenAreaInfoMapper.getAllOpenArea();
}
}

View File

@@ -105,5 +105,11 @@ public interface HyOpenAreaInfoMapper {
HyOpenAreaInfoDO selectById(@Param("id") Long id);
/**
* 获取所有的区域
* @return
*/
List<HyOpenAreaInfoDO> getAllOpenArea();
}

View File

@@ -281,4 +281,8 @@
</where>
</select>
<select id="getAllOpenArea" resultMap="BaseResultMap">
select <include refid="Base_Column_List"/> from hy_open_area_info
</select>
</mapper>