报告编制,配料方法不拼接到报告上
This commit is contained in:
@@ -247,6 +247,9 @@ public class ReportDocumentMainServiceImpl implements ReportDocumentMainService,
|
|||||||
JSONObject json = JSONObject.parseObject(content);
|
JSONObject json = JSONObject.parseObject(content);
|
||||||
for(String key : json.keySet()){
|
for(String key : json.keySet()){
|
||||||
JSONObject obj = json.getJSONObject(key);
|
JSONObject obj = json.getJSONObject(key);
|
||||||
|
if ("ingredient".equals(obj.get("usage"))) {//如果是配料的,则不拼接
|
||||||
|
continue;
|
||||||
|
}
|
||||||
String methodName = obj.getString("methodName");
|
String methodName = obj.getString("methodName");
|
||||||
if(ObjectUtils.isEmpty(methodName))
|
if(ObjectUtils.isEmpty(methodName))
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user