瀏覽代碼

fix 修改疫苗权限查询

Administrator 3 年之前
父節點
當前提交
39016e55d9

+ 0 - 1
boman-web-core/src/main/java/com/boman/web/core/controller/AdministrativeInfoController.java

@@ -28,7 +28,6 @@ public class AdministrativeInfoController {
      * 获取乡镇列表,其实就是部门列表
      */
     @GetMapping("/treeSelect")
-    @DataScope(deptAlias = "d")
     public AjaxResult treeSelect(AdministrativeInfo administrativeInfo)
     {
         List<AdministrativeInfo> administrativeInfos = administrativeInfoService.selectAdministrativeInfoList(administrativeInfo);

+ 0 - 1
boman-web-core/src/main/resources/mapper/AdministrativeInfoMapper.xml

@@ -36,7 +36,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             AND status = #{status}
         </if>
         </where>
-        ${params.dataScope}
         order by parent_id, order_num
     </select>
 </mapper>

+ 2 - 2
boman-web-core/src/main/resources/mapper/VaccineInfoMapper.xml

@@ -83,11 +83,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         vi.is_del,vi.code,vi.birthday,vi.work_unit,vi.crowd_classification,vi.manufacturer,vi.now_in,vi.url,vi.dept_id from vaccine_info vi
         <where>
             vi.is_del = 'N'
-            <if test="villageTowns != null  and villageTowns != ''">
+         <!--   <if test="villageTowns != null  and villageTowns != ''">
                 and vi.village_towns = #{villageTowns}
             </if>
             <if test="village != null  and village != ''"> and vi.village = #{village}</if>
-            <if test="villagerGroup != null  and villagerGroup != ''"> and vi.villager_group = #{villagerGroup}</if>
+            <if test="villagerGroup != null  and villagerGroup != ''"> and vi.villager_group = #{villagerGroup}</if>-->
             <if test="houseType != null  and houseType != ''"> and vi.house_type = #{houseType}</if>
             <if test="domicile != null  and domicile != ''"> and vi.domicile = #{domicile}</if>
             <if test="province != null  and province != ''"> and vi.province = #{province}</if>