房屋排序问题修改 --renpc

This commit is contained in:
Renpc-kilig 2023-11-22 10:04:20 +08:00
parent 507f00db63
commit 579f8ac24b

View File

@ -187,8 +187,7 @@
<!-- 新增房院管理 -->
<insert id="save" parameterType="map">
INSERT INTO house_house(
house_id,
INSERT INTO house_house(house_id,
street,
street_name,
community,
@ -239,9 +238,8 @@
gmt_create,
modifier,
gmt_modified,
is_delete
) VALUES(
#{houseId},
is_delete)
VALUES (#{houseId},
#{street},
#{streetName},
#{community},
@ -292,8 +290,7 @@
#{gmtCreate},
#{modifier},
#{gmtModified},
#{isDelete}
)
#{isDelete})
</insert>
<!-- 删除房院管理 -->
@ -796,7 +793,7 @@
hp.population_info_id = #{populationInfoId}
)
</if>
ORDER BY affiliation_unit, affiliation_floors, house_num ASC
ORDER BY (affiliation_unit + 0), (affiliation_floors + 0), (house_num + 0) ASC
</select>
<!-- 房院管理列表 -->
@ -965,12 +962,9 @@
<!-- 房院管理统计 -->
<select id="count" parameterType="map" resultType="Integer">
SELECT
COUNT(*)
FROM
house_house t1
WHERE
t1.is_delete = 0
SELECT COUNT(*)
FROM house_house t1
WHERE t1.is_delete = 0
</select>
<!-- 以房找人列表 -->
@ -1081,9 +1075,7 @@
t1.creator,
t1.gmt_create
ORDER BY
t1.affiliation_unit,
t1.affiliation_floors,
t1.house_num ASC
(t1.affiliation_unit + 0), (t1.affiliation_floors + 0), (t1.house_num + 0) ASC
</select>
</mapper>