管理办法代码问题修复
This commit is contained in:
		
							parent
							
								
									a565b16fa8
								
							
						
					
					
						commit
						8c5aad4aa5
					
				| @ -3155,8 +3155,11 @@ public class OutputWordUtil { | |||||||
|     public static void mergeMRWord(String filePath, String uuid,JSONObject dataMap) { |     public static void mergeMRWord(String filePath, String uuid,JSONObject dataMap) { | ||||||
|         Map<String, JSONObject> stringJSONObjectMap = PALRepositoryQueryAPIManager.queryRepositoryAttributeById(uuid); |         Map<String, JSONObject> stringJSONObjectMap = PALRepositoryQueryAPIManager.queryRepositoryAttributeById(uuid); | ||||||
|         JSONObject attrJson = stringJSONObjectMap.get("management_requirements_Location"); |         JSONObject attrJson = stringJSONObjectMap.get("management_requirements_Location"); | ||||||
|  |         if(null == attrJson){ | ||||||
|  |             return; | ||||||
|  |         } | ||||||
|         String text = attrJson.getString("text"); |         String text = attrJson.getString("text"); | ||||||
|         if ("不显示管理要求".equals(text)) { |         if ("不显示管理要求".equals(text) || UtilString.isEmpty(text)) { | ||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
|         BO mrBO = SDK.getBOAPI().getByKeyField("BO_EU_PROCESS_MR", "FILEUUID", uuid); |         BO mrBO = SDK.getBOAPI().getByKeyField("BO_EU_PROCESS_MR", "FILEUUID", uuid); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 yujh_java
						yujh_java