Kaynağa Gözat

fix 删除文件夹

xiewj 2 yıl önce
ebeveyn
işleme
de143daf80

+ 1 - 1
720yun_fd_manage/gis_service/src/main/java/com/gis/service/impl/WorkHotsFodderServiceImpl.java

@@ -78,7 +78,7 @@ public class WorkHotsFodderServiceImpl extends IBaseServiceImpl<WorkHotsFodderEn
     @Override
     public boolean getCountByDirId(String dirIds) {
         String format = StrUtil.format(" SELECT count(a.id) FROM tb_work_hots_fodder a LEFT JOIN  tb_fodder b on a.fodder_id =b.id WHERE a.is_delete=0 and b.is_delete=0 and b.dir_id in ({})",
-                    1, dirIds);
+                     dirIds);
             Integer count = workHotsFodderMapper.getCountStr(format);
         return count > 0;
     }