Changeset 5824
- Timestamp:
- Feb 4, 2020, 4:43:04 PM (3 years ago)
- Location:
- extensions/net.sf.basedb.meludi/trunk/src/net/sf/basedb/meludi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.meludi/trunk/src/net/sf/basedb/meludi/counter/CounterService.java
r5243 r5824 583 583 numFfpeBlocksUnusedForSectionOrderForm++; 584 584 } 585 if (isUsedForFfpeSection == null || !isUsedForFfpeSection)585 else if (isUsedForFfpeSection == null || !isUsedForFfpeSection) 586 586 { 587 587 numFfpeBlocksUnusedForSection++; -
extensions/net.sf.basedb.meludi/trunk/src/net/sf/basedb/meludi/servlet/ExtractionServlet.java
r5823 r5824 1232 1232 if (returnedDate == null) 1233 1233 { 1234 // Only include FFPE blocks not used for FFPE section 1235 f.loadAnnotations(dc, "usedForFfpeSection", Annotationtype.USED_FOR_FFPE_SECTION, null); 1236 Boolean usedFfpeBlockValue = (Boolean)f.asJSONObject().get("usedForFfpeSection"); 1237 if (usedFfpeBlockValue == null || !usedFfpeBlockValue) 1238 { 1239 f.loadAnnotations(dc, "pad", Annotationtype.PAD, null); 1240 f.loadAnnotations(dc, "materialNumber", Annotationtype.MATERIAL_NUMBER, null); 1241 f.loadAnnotations(dc, "yellowLabel", Annotationtype.YELLOW_LABEL, null); 1242 f.loadAnnotations(dc, "operatorDeliveryComment", Annotationtype.OPERATOR_DELIVERY_COMMENT, null); 1243 jsonFfpeBlock.add(f.asJSONObject()); 1234 // Only include FFPE blocks with approved FFPE section order forms 1235 f.loadAnnotations(dc, "usedForFfpeSectionOrderForm", Annotationtype.USED_FOR_FFPE_SECTION_ORDER_FORM, null); 1236 Boolean usedForFfpeSectionOrderFormValue = (Boolean)f.asJSONObject().get("usedForFfpeSectionOrderForm"); 1237 //System.out.println(new Date() + " ExtractionServlet::doGet() cmd = \"" + cmd + "\" f.getName() = \"" + f.getName() + "\" usedForFfpeSectionOrderFormValue = \"" + usedForFfpeSectionOrderFormValue + "\""); 1238 if (usedForFfpeSectionOrderFormValue != null && usedForFfpeSectionOrderFormValue) 1239 { 1240 // Only include FFPE blocks not used for FFPE section 1241 f.loadAnnotations(dc, "usedForFfpeSection", Annotationtype.USED_FOR_FFPE_SECTION, null); 1242 Boolean usedFfpeBlockValue = (Boolean)f.asJSONObject().get("usedForFfpeSection"); 1243 if (usedFfpeBlockValue == null || !usedFfpeBlockValue) 1244 { 1245 f.loadAnnotations(dc, "pad", Annotationtype.PAD, null); 1246 f.loadAnnotations(dc, "materialNumber", Annotationtype.MATERIAL_NUMBER, null); 1247 f.loadAnnotations(dc, "yellowLabel", Annotationtype.YELLOW_LABEL, null); 1248 f.loadAnnotations(dc, "operatorDeliveryComment", Annotationtype.OPERATOR_DELIVERY_COMMENT, null); 1249 jsonFfpeBlock.add(f.asJSONObject()); 1250 } 1244 1251 } 1245 1252 }
Note: See TracChangeset
for help on using the changeset viewer.