| 
					
				 | 
			
			
				@@ -8,9 +8,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                a.create_time as created_date,'guangfo' as last_modified_by, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                a.update_time as last_modified_date, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                b.brand_wxjsguid as wxjsguid,ifnull(a.repair_item_id,'') as wxxmh, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               a.repair_item_name as mshu,ifnull(b.repair_fees,0) as wxfy,a.number as xxyyh, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               ifnull(b.repair_fees,0) as wxfy,a.number as xxyyh, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                a.xxyyguid,b.wxjsmxguid as wxjsmxguid,a.create_time as cjsj,ifnull(a.repair_item_name,'') as mshu, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               a.repair_item_name as wxxmhmc,case b.flag when 'A' then '上门' else '送修' end as smorsx 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               ifnull(a.repair_item_name,'')  as wxxmhmc,case b.flag when 'A' then '上门' else '送修' end as smorsx 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         from order_repair_detail_reason a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  left join order_repair_detail b on b.id=a.order_repair_detail_id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         where a.id =  #{request.id} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -36,7 +36,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                ifnull(a.new_part_name,'') as xpjmc,ifnull(a.new_part_price,0) as xpjdj,ifnull(a.new_part_count,0) as xpjsl, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                ifnull(a.new_part_count,0) * ifnull(a.new_part_price,0) as xpjje, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                a.new_part_no as pjtm,'' as jgrtm,'' as xgrtm, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               ifnull(a.repair_item_id,'') as jpjwxxmh,a.repair_item_name as jpjwxxmhmc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               ifnull(a.repair_item_id,'') as jpjwxxmh,ifnull(a.repair_item_name,'') as jpjwxxmhmc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         from order_repair_detail_reason a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  left join order_repair_detail b on b.id=a.order_repair_detail_id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         where a.id = #{request.id} 
			 |