发票下载优化
This commit is contained in:
		
							parent
							
								
									f32edfc7da
								
							
						
					
					
						commit
						12d4499755
					
				|  | @ -136,8 +136,10 @@ public class InvoiceDownloadAction implements ICommonAction { | |||
|                                     "AND  bd.pk_defdoc =  '" + ivApplicationHeadVO.getDef2().toString()  + "' "; | ||||
| //            List<Map<String,Object>> operationresult = (List<Map<String,Object>>) getQueryService().executeQuery(operationSql, new ArrayListProcessor()); | ||||
|                             Map<String, Object> valList = (Map<String, Object>) getQueryService().executeQuery(operationSql, new MapProcessor()); | ||||
|                             if(valList == null){ | ||||
|                                 ctcode = ivApplicationHeadVO.getDef2(); // ºÏͬºÅ | ||||
|                             if(!valList.isEmpty()){ | ||||
|                                 ctcode = (String) valList.get("name"); // ºÏͬºÅ | ||||
|                             }else{ | ||||
|                                 ctcode =ivApplicationHeadVO.getDef2(); | ||||
|                             } | ||||
|                         } | ||||
|                         if(!ctcode.equals("") && !ctcode.equals("/") ){ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue