|  |  |  | @ -94,6 +94,7 @@ public class BasicOrderPrintController { | 
			
		
	
		
			
				
					|  |  |  |  |     @PostMapping("/udiwms/pdf/template/order/file") | 
			
		
	
		
			
				
					|  |  |  |  |     public void printSupCertProduction(@RequestBody FilterOrderPrintRequest filterOrderPrintRequest, HttpServletRequest request, HttpServletResponse response) throws Exception { | 
			
		
	
		
			
				
					|  |  |  |  |         SystemPDFTemplateEntity systemPDFTemplateEntity = systemPDFTemplateService.selectById(filterOrderPrintRequest.getTemplateId()); | 
			
		
	
		
			
				
					|  |  |  |  |         SystemPDFTemplateRelevanceEntity systemPDFTemplateRelevanceEntityt = systemPDFTemplateRelevanceService.selectModuleldAndAction(filterOrderPrintRequest.getModuleId(), filterOrderPrintRequest.getAction()); | 
			
		
	
		
			
				
					|  |  |  |  |         //打印单号标签
 | 
			
		
	
		
			
				
					|  |  |  |  |         Map<String, Object> data = new HashMap<>(1); | 
			
		
	
		
			
				
					|  |  |  |  |         List<Object> list = new ArrayList<>(); | 
			
		
	
	
		
			
				
					|  |  |  | @ -121,21 +122,21 @@ public class BasicOrderPrintController { | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("locInv", ioOrderResponse.getInvName() == null ? ' ' : ioOrderResponse.getInvName()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("billNo", ioOrderResponse.getBillNo() == null ? ' ' : ioOrderResponse.getBillNo()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("billdate", formatter.format(ioOrderResponse.getCreateTime())); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("remark1", obj.getRemark1() == null ? ' ' : obj.getRemark1()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("remark2", obj.getRemark2() == null ? ' ' : obj.getRemark2()); | 
			
		
	
		
			
				
					|  |  |  |  | //                bizData.put("productName", udiProductEntity.getCpms() == null ? ' ' : udiProductEntity.getCpms());
 | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("remark1", systemPDFTemplateRelevanceEntityt.getRemark1() == null ? ' ' : systemPDFTemplateRelevanceEntityt.getRemark1()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("remark2", systemPDFTemplateRelevanceEntityt.getRemark2() == null ? ' ' : systemPDFTemplateRelevanceEntityt.getRemark2()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("productName", udiProductEntity.getCpms() == null ? ' ' : udiProductEntity.getCpms()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("spmc", obj.getCoName() == null ? ' ' : obj.getCoName()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("spec", obj.getSpec() == null ? ' ' : obj.getSpec()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("count", obj.getCount()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("measname", obj.getMeasname() == null ? ' ' : obj.getMeasname()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("price", obj.getPrice() == null ? '0' : obj.getPrice()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("batchNo", obj.getBatchNo() == null ? ' ' : obj.getBatchNo()); | 
			
		
	
		
			
				
					|  |  |  |  | //                bizData.put("serialNo", udiProductEntity.getSerialNo() == null ? ' ' : udiProductEntity.getSerialNo());
 | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("serialNo", udiProductEntity.getSerialNo() == null ? ' ' : udiProductEntity.getSerialNo()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("productDate", obj.getProductDate()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("expireDate", obj.getExpireDate()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("manufactor", obj.getManufacturer()); | 
			
		
	
		
			
				
					|  |  |  |  | //                bizData.put("zczbhhzbapzbh",udiProductEntity.getZczbhhzbapzbh() == null ? ' ' : udiProductEntity.getZczbhhzbapzbh());
 | 
			
		
	
		
			
				
					|  |  |  |  | //                bizData.put("ylqxzcrbarmc", udiProductEntity.getYlqxzcrbarmc() == null ? ' ' : udiProductEntity.getYlqxzcrbarmc());
 | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("zczbhhzbapzbh", obj.getCertCode() == null ? ' ' : obj.getCertCode()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("ylqxzcrbarmc", udiProductEntity.getYlqxzcrbarmc() == null ? ' ' : udiProductEntity.getYlqxzcrbarmc()); | 
			
		
	
		
			
				
					|  |  |  |  |                     list.add(bizData); | 
			
		
	
		
			
				
					|  |  |  |  |                     i++; | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
	
		
			
				
					|  |  |  | @ -160,6 +161,9 @@ public class BasicOrderPrintController { | 
			
		
	
		
			
				
					|  |  |  |  |                             break; | 
			
		
	
		
			
				
					|  |  |  |  |                         } | 
			
		
	
		
			
				
					|  |  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |  |                     //查询产品表
 | 
			
		
	
		
			
				
					|  |  |  |  |                     UdiProductEntity udiProductEntity = udiProductService.findByUuid(ioOrderDetailBizEntity.getUuidFk()); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                     //组装数据
 | 
			
		
	
		
			
				
					|  |  |  |  |                     Map<String, Object> bizData = new HashMap<>(); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("index", i); | 
			
		
	
	
		
			
				
					|  |  |  | @ -167,9 +171,9 @@ public class BasicOrderPrintController { | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("locInv", ioOrderResponse.getInvName() == null ? ' ' : ioOrderResponse.getInvName()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("billNo", ioOrderResponse.getBillNo() == null ? ' ' : ioOrderResponse.getBillNo()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("billdate", formatter.format(ioOrderResponse.getCreateTime())); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("remark1", ioOrderDetailBizEntity.getRemark1() == null ? ' ' : ioOrderDetailBizEntity.getRemark1()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("remark2", ioOrderDetailBizEntity.getRemark2() == null ? ' ' : ioOrderDetailBizEntity.getRemark2()); | 
			
		
	
		
			
				
					|  |  |  |  | //                bizData.put("productName", udiProductEntity.getCpms() == null ? ' ' : udiProductEntity.getCpms());
 | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("remark1", systemPDFTemplateRelevanceEntityt.getRemark1() == null ? ' ' : systemPDFTemplateRelevanceEntityt.getRemark1()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("remark2", systemPDFTemplateRelevanceEntityt.getRemark2() == null ? ' ' : systemPDFTemplateRelevanceEntityt.getRemark2()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("productName", udiProductEntity.getCpms() == null ? ' ' : udiProductEntity.getCpms()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("spmc", ioOrderDetailBizEntity.getCoName() == null ? ' ' : ioOrderDetailBizEntity.getCoName()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("spec", ioOrderDetailBizEntity.getSpec() == null ? ' ' : ioOrderDetailBizEntity.getSpec()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("count", ioOrderDetailBizEntity.getCount()); | 
			
		
	
	
		
			
				
					|  |  |  | @ -180,8 +184,8 @@ public class BasicOrderPrintController { | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("productDate", ioOrderDetailBizEntity.getProductDate()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("expireDate", ioOrderDetailBizEntity.getExpireDate()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("manufactor", ioOrderDetailBizEntity.getManufacturer()); | 
			
		
	
		
			
				
					|  |  |  |  | //                bizData.put("zczbhhzbapzbh",udiProductEntity.getZczbhhzbapzbh() == null ? ' ' : udiProductEntity.getZczbhhzbapzbh());
 | 
			
		
	
		
			
				
					|  |  |  |  | //                bizData.put("ylqxzcrbarmc", udiProductEntity.getYlqxzcrbarmc() == null ? ' ' : udiProductEntity.getYlqxzcrbarmc());
 | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("zczbhhzbapzbh", ioOrderDetailBizEntity.getCertCode() == null ? ' ' : ioOrderDetailBizEntity.getCertCode()); | 
			
		
	
		
			
				
					|  |  |  |  |                     bizData.put("ylqxzcrbarmc", udiProductEntity.getYlqxzcrbarmc() == null ? ' ' : udiProductEntity.getYlqxzcrbarmc()); | 
			
		
	
		
			
				
					|  |  |  |  |                     list.add(bizData); | 
			
		
	
		
			
				
					|  |  |  |  |                     i++; | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
	
		
			
				
					|  |  |  | @ -189,8 +193,6 @@ public class BasicOrderPrintController { | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         data.put("data", list); | 
			
		
	
		
			
				
					|  |  |  |  |         String param = JSON.toJSONString(data); | 
			
		
	
		
			
				
					|  |  |  |  |         JasperUtils.jasperReport(request, response, param, systemPDFTemplateEntity.getPath(), "pdf"); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |