wuxw
2022-07-19 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54
java110-db/src/main/resources/mapper/community/ParkingSpaceServiceDaoImplMapper.xml
@@ -124,7 +124,8 @@
        td2.NAME parkingTypeName,
        td1.NAME stateName,
        pa.num areaNum,
        pa.type_cd typeCd
        pa.type_cd typeCd,
        t.create_time createTime
        FROM
        parking_space t
        LEFT JOIN t_dict td1 ON t.state = td1.status_cd
@@ -175,6 +176,12 @@
                    #{item}
                </foreach>
            </if>
            <if test="paIds != null ">
                and t.pa_id in
                <foreach collection="paIds" item="item" open="(" close=")" separator=",">
                    #{item}
                </foreach>
            </if>
            <if test="communityId !=null and communityId != ''">
                and t.community_id= #{communityId}
            </if>