|  | @@ -29,6 +29,7 @@ import cn.hnthyy.thmz.enums.*;
 | 
	
		
			
				|  |  |  import cn.hnthyy.thmz.mapper.his.mz.*;
 | 
	
		
			
				|  |  |  import cn.hnthyy.thmz.mapper.his.yp.YpBaseYfMapper;
 | 
	
		
			
				|  |  |  import cn.hnthyy.thmz.mapper.his.yp.YpMzFytjMapper;
 | 
	
		
			
				|  |  | +import cn.hnthyy.thmz.mapper.his.yp.YpZdUnitMapper;
 | 
	
		
			
				|  |  |  import cn.hnthyy.thmz.mapper.his.zd.JcZdClassMapper;
 | 
	
		
			
				|  |  |  import cn.hnthyy.thmz.mapper.his.zd.JcZdItemMapper;
 | 
	
		
			
				|  |  |  import cn.hnthyy.thmz.mapper.his.zd.MzZdYpYshMapper;
 | 
	
	
		
			
				|  | @@ -234,6 +235,8 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
 | 
	
		
			
				|  |  |      private WpMzPrescriptionService wpMzPrescriptionService;
 | 
	
		
			
				|  |  |      @Resource
 | 
	
		
			
				|  |  |      private WxmallPackagePurchasedItemService wxmallPackagePurchasedItemService;
 | 
	
		
			
				|  |  | +    @Resource
 | 
	
		
			
				|  |  | +    private YpZdUnitMapper ypZdUnitMapper;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      //是否加收开关
 | 
	
		
			
				|  |  |      @Value("${setUnitPrice}")
 | 
	
	
		
			
				|  | @@ -2068,13 +2071,13 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      if (mzChargeDetail.getDrugUnit() != null) {
 | 
	
		
			
				|  |  | -                        xyDetail.put("unitDesc", UnitTypeEnum.getUnitTypeByCode(mzChargeDetail.getDrugUnit()).name);
 | 
	
		
			
				|  |  | +                        xyDetail.put("unitDesc", ypZdUnitMapper.selectNameByCode(mzChargeDetail.getDrugUnit()));
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      if (StringUtils.isNotBlank(ypZdDict.getSpecification())) {
 | 
	
		
			
				|  |  |                          xyDetail.put("specification", ypZdDict.getSpecification());
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      xyDetail.put("quantity", mzChargeDetail.getQuantity());
 | 
	
		
			
				|  |  | -                    xyDetail.put("packUnit", UnitTypeEnum.getUnitTypeByCode(ypZdDict.getPackUnit()).name);
 | 
	
		
			
				|  |  | +                    xyDetail.put("packUnit", ypZdUnitMapper.selectNameByCode(ypZdDict.getPackUnit()));
 | 
	
		
			
				|  |  |                      if (StringUtils.isNotBlank(mzChargeDetail.getSupplyCode())) {
 | 
	
		
			
				|  |  |                          MzZdSupplyType mzZdSupplyType = mzZdSupplyTypeMapper.selectMzZdSupplyTypeByCode(mzChargeDetail.getSupplyCode());
 | 
	
		
			
				|  |  |                          if (mzZdSupplyType != null) {
 |