瀏覽代碼

森林管理

wangzhe 4 年之前
父節點
當前提交
401e0233ff

+ 1 - 1
mybusiness/src/main/resources/mapper/grid/manager/TResStationforestMapper.xml

@@ -40,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="contactPhone != null  and contactPhone != ''"> and contact_phone = #{contactPhone}</if>
             <if test="deptId != null "> and dept_id = #{deptId}</if>
             <if test="createUserId != null "> and create_user_id = #{createUserId}</if>
-            <if test="forestType != null "> and forest_type = #{forestType}</if>
+            <if test="forestType != null  and forestType != ''"> and forest_type = #{forestType}</if>
         </where>
     </select>
     

+ 0 - 1
mybusiness/src/main/resources/templates/business/manager/stationforestmanager/add.html

@@ -16,7 +16,6 @@
                 <label class="col-sm-3 control-label">森类类型:</label>
                 <div class="col-sm-8">
                     <select name="forestType" class="form-control m-b">
-                    <option value="">所有</option>
                     <option value="1">林业局</option>
                     <option value="2">林场</option>
                 </select>