|  | @@ -407,6 +407,18 @@ public class SiMzService {
 | 
	
		
			
				|  |  |          return mzSrvc.outpatientSettlement(siMzFeeUrl, p);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    public ResultVo<FundDetail> timeoutSetl(MzPatientInfo p) {
 | 
	
		
			
				|  |  | +        if (null == p.getStaffId()) {
 | 
	
		
			
				|  |  | +            p.setStaffId(TokenUtil.getInstance().getTokenUserId());
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        String logContent = dao.getLogContent(p.getMsgid());
 | 
	
		
			
				|  |  | +        if (!logContent.contains("服务提供者后端服务响应超时")) {
 | 
	
		
			
				|  |  | +            return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR,
 | 
	
		
			
				|  |  | +                    "该笔交易不符合超时结算条件,无法进行超时结算(结算失败的原因为“服务提供者后端服务响应超时”时,方可进行超时结算)。");
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        return mzSrvc.timeoutSetl(siMzFeeUrl, p);
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      public boolean receiptAlreadyPrinted(MzPatientInfo p) {
 | 
	
		
			
				|  |  |          String receiptBill = dao.selectReceiptBill(p.getPatNo(), p.getTimes());
 | 
	
		
			
				|  |  |          return StringUtil.notBlank(receiptBill);
 |