Browse Source

媒体端热点管理更新

Signed-off-by: you.chen <you.chen@cloudcross.com>
you.chen 9 years ago
parent
commit
75d5c2a2bf

+ 1 - 1
src/main/java/com/cloudcross/ssp/model/mapper/place-operator.sql.xml

@@ -11,7 +11,7 @@
 	</select>
 	
 	<select id="findPlaceByOperator" parameterType="long" resultType="String">
-		select name from t_place_operator where operator_id = #{operatorId} 
+		select name from t_place_operator where operator_id = #{operatorId} and place_id != 0
 	</select>
 	
 	<select id="findPlace" parameterType="long" resultType="map">

+ 3 - 3
src/main/webapp/WEB-INF/pages/operator/main/ap/apmac/edit.ftl

@@ -142,17 +142,17 @@
 					
 					<div class="control-group">
 						<label class="control-label1" for="form-field-4"><span class="lbl1">*</span>经度:</label>
-						<input tabindex="4" class="input-text" autocomplete="off" id="longitude" name="longitude" type="text" value="${wifi.longitude!}" verify="longitude/255/1/0"><span class="spanVaildate"></span>
+						<input tabindex="4" class="input-text" autocomplete="off" id="longitude" name="longitude" type="text" value="${wifi.longitude!}" verify="text/255/0/0"><span class="spanVaildate"></span>
 					</div>
 					
 					<div class="control-group">
 						<label class="control-label1" for="form-field-4"><span class="lbl1">*</span>纬度:</label>
-						<input tabindex="4" class="input-text" autocomplete="off" id="latitude" name="latitude" type="text" value="${wifi.latitude!}" verify="latitude/255/1/0"><span class="spanVaildate"></span>
+						<input tabindex="4" class="input-text" autocomplete="off" id="latitude" name="latitude" type="text" value="${wifi.latitude!}" verify="text/255/1/0"><span class="spanVaildate"></span>
 					</div>
 					
 					<div class="control-group">
 						<label class="control-label1" for="form-field-4"><span class="lbl1">*</span>apmac:</label>
-						<input tabindex="4" class="input-text" autocomplete="off" id="apmac" name="apmac" type="text" value="${wifi.apmac!}" verify="mac/17/1/0"><span class="spanVaildate"></span>
+						<input tabindex="4" class="input-text" autocomplete="off" id="apmac" name="apmac" type="text" value="${wifi.apmac!}" verify="text/17/0/0"><span class="spanVaildate"></span>
 					</div>
 					
 					<div class="control-group" id="placeul_selectdiv">