old mode 100644
new mode 100755
| | |
| | | <select id="getBusinessParkingSpaceInfo" parameterType="Map" resultType="Map"> |
| | | select t.area,t.operate,t.num,t.ps_id,t.ps_id |
| | | psId,t.pa_id,t.pa_id |
| | | paId,t.remark,t.state,t.community_id,t.community_id communityId,t.b_id,t.b_id bId |
| | | paId,t.remark,t.state,t.community_id,t.community_id communityId,t.b_id,t.b_id bId,t.parking_type,t.parking_type parkingType |
| | | from business_parking_space t |
| | | where 1 =1 |
| | | <if test="area !=null and area != ''"> |
| | |
| | | </if> |
| | | <if test="bId !=null and bId != ''"> |
| | | and t.b_id= #{bId} |
| | | </if> |
| | | <if test="parkingType !=null and parkingType != ''"> |
| | | and t.parking_type= #{parkingType} |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | <if test="bId !=null and bId != ''"> |
| | | and t.b_id= #{bId} |
| | | </if> |
| | | <if test="parkingType !=null and parkingType != ''"> |
| | | and t.parking_type= #{parkingType} |
| | | </if> |
| | | </insert> |
| | | |
| | | |
| | |
| | | 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 |
| | |
| | | #{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> |