|  | @ -41,7 +41,7 @@ import sun.misc.BASE64Encoder;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import java.io.*;
 | 
	
		
			
				|  |  | import java.net.URL;
 | 
	
		
			
				|  |  | import java.text.SimpleDateFormat;
 | 
	
		
			
				|  |  | import java.text.DecimalFormat;
 | 
	
		
			
				|  |  | import java.util.Date;
 | 
	
		
			
				|  |  | import java.util.List;
 | 
	
		
			
				|  |  | import java.util.Map;
 | 
	
	
		
			
				|  | @ -1285,7 +1285,7 @@ public class InternetCommonService extends BaseJpaService<InternetUpErrorLogDO,
 | 
	
		
			
				|  |  |                 "  from wlyy_prescription_info a " +
 | 
	
		
			
				|  |  |                 "     JOIN wlyy_prescription b " +
 | 
	
		
			
				|  |  |                 "     on b.id = a.prescription_id" +
 | 
	
		
			
				|  |  |                 "  where  a.dosage is not null and b.real_order is not null";
 | 
	
		
			
				|  |  |                 "  where  a.dosage is not null and b.real_order is not null and a.del=1 ";
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         Map<String,Object> params = new HashedMap();
 | 
	
		
			
				|  |  | 
 | 
	
	
		
			
				|  | @ -1298,7 +1298,7 @@ public class InternetCommonService extends BaseJpaService<InternetUpErrorLogDO,
 | 
	
		
			
				|  |  |             params.put("endDate",DateUtil.stringToDate(endDate,"yyyy-MM-dd HH:mm:ss"));
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if(StringUtils.isNotBlank(keyId)){
 | 
	
		
			
				|  |  |             sql =  sql +  "  and  a.id =:keyId ";
 | 
	
		
			
				|  |  |             sql =  sql +  "  and  a.prescription_id =:keyId ";
 | 
	
		
			
				|  |  |             params.put("keyId",keyId);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  | 
 | 
	
	
		
			
				|  | @ -1331,9 +1331,10 @@ public class InternetCommonService extends BaseJpaService<InternetUpErrorLogDO,
 | 
	
		
			
				|  |  |                 jb.put("single_price",info.get("pack_retprice") == null? 0: info.get("pack_retprice"));
 | 
	
		
			
				|  |  |                 Double pack_retprice = Double.parseDouble(info.get("pack_retprice").toString());
 | 
	
		
			
				|  |  |                 Long quantity = Long.parseLong((String)info.get("quantity"));
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |                 DecimalFormat decimalFormat = new DecimalFormat("0.00");
 | 
	
		
			
				|  |  |                 Double price = pack_retprice.doubleValue()*quantity;
 | 
	
		
			
				|  |  |                 jb.put("drug_total_price",price);
 | 
	
		
			
				|  |  |                 logger.info("price"+decimalFormat.format(price));
 | 
	
		
			
				|  |  |                 jb.put("drug_total_price",decimalFormat.format(price));
 | 
	
		
			
				|  |  |                 jb.put("comments", "");
 | 
	
		
			
				|  |  |                 jb.put("anti_comments", "");
 | 
	
		
			
				|  |  |                 jb.put("dec_meth_name", "");
 |