@@ -27,7 +27,7 @@ public class GBuildingBo extends BaseEntity {
* 主键Id
*/
@ApiModelProperty(value = "主键Id", required = true)
- private Long Id;
+ private Long id;
/**
* 楼宇名
@@ -21,6 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
name as name
from g_building
where area_id = #{areaId} and del_flag = '0'
+ order by create_time desc
</select>
<select id="getByName" resultType="com.ruoyi.gas.domain.GBuilding">
select * from g_building