瀏覽代碼

bug修改,非结构化,影像入库不了

chenyongxing 6 年之前
父節點
當前提交
a64faeb2c9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/yihu/ehr/resolve/dao/MasterResourceDao.java

+ 1 - 1
src/main/java/com/yihu/ehr/resolve/dao/MasterResourceDao.java

@ -40,7 +40,7 @@ public class MasterResourceDao {
            String profileId = originalPackage.getProfileId().toString();
            String profileId = originalPackage.getProfileId().toString();
            String rowkey = profileId.substring(2, profileId.length());
            String rowkey = profileId.substring(2, profileId.length());
            Map<String, String> originResult = hbaseDao.get(ResourceCore.MasterTable, rowkey, resourceBucket.getdFamily());
            Map<String, String> originResult = hbaseDao.get(ResourceCore.MasterTable, rowkey, resourceBucket.getdFamily());
            if (!originResult.isEmpty()) {
            if (originResult.isEmpty()) {
                throw new IllegalJsonFileException("Please upload the struct package(" + rowkey + ") first !");
                throw new IllegalJsonFileException("Please upload the struct package(" + rowkey + ") first !");
            }
            }
        }
        }