Compare commits
2 Commits
94074868d9
...
58f9c9a350
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
58f9c9a350 | ||
|
|
b78c9ed179 |
@@ -121,6 +121,9 @@ public class ReportDocumentDataServiceImpl implements ReportDocumentDataService
|
|||||||
JSONObject dataJson = JSONObject.parseObject(documentContent);
|
JSONObject dataJson = JSONObject.parseObject(documentContent);
|
||||||
if(dataJson == null)
|
if(dataJson == null)
|
||||||
continue;
|
continue;
|
||||||
|
String usage = dataJson.getString("usage");
|
||||||
|
if(!"report".equals( usage) && ! "ingredient_report".equals(usage))
|
||||||
|
continue;
|
||||||
if(dataJson.containsKey(field)){
|
if(dataJson.containsKey(field)){
|
||||||
if(!hasFields.contains( fieldName)){
|
if(!hasFields.contains( fieldName)){
|
||||||
fieldList.add(fieldDO);
|
fieldList.add(fieldDO);
|
||||||
|
|||||||
Reference in New Issue
Block a user