old mode 100644
new mode 100755
| | |
| | | <if test="carNum !=null and carNum != ''"> |
| | | and t.car_num= #{carNum} |
| | | </if> |
| | | <if test="carNumLike !=null and carNumLike != ''"> |
| | | and t.car_num like concat('%',#{carNumLike},'%') |
| | | </if> |
| | | <if test="carNums !=null"> |
| | | and t.car_num in |
| | | <foreach collection="carNums" item="item" index="index" open="(" close=")" separator=","> |
| | |
| | | <if test="carNum !=null and carNum != ''"> |
| | | and t.car_num= #{carNum} |
| | | </if> |
| | | <if test="carNumLike !=null and carNumLike != ''"> |
| | | and t.car_num like concat('%',#{carNumLike},'%') |
| | | </if> |
| | | <if test="carNums !=null"> |
| | | and t.car_num in |
| | | <foreach collection="carNums" item="item" index="index" open="(" close=")" separator=","> |
| | |
| | | |
| | | </select> |
| | | |
| | | <select id="queryOwnerParkingSpaceCount" parameterType="Map" resultType="Map"> |
| | | select count(DISTINCT t.ps_id) count |
| | | from owner_car t |
| | | where |
| | | t.ps_id != '-1' |
| | | <if test="statusCd !=null and statusCd != ''"> |
| | | and t.status_cd= #{statusCd} |
| | | </if> |
| | | <if test="ownerId !=null and ownerId != ''"> |
| | | and t.owner_id= #{ownerId} |
| | | </if> |
| | | <if test="communityId !=null and communityId != ''"> |
| | | and t.community_id= #{communityId} |
| | | </if> |
| | | </select> |
| | | </mapper> |