房屋排序问题修改 --renpc
This commit is contained in:
parent
507f00db63
commit
579f8ac24b
@ -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>
|
Loading…
Reference in New Issue
Block a user