forked from angelo/java-retail-app
				
			Compare commits
	
		
			2 Commits
		
	
	
		
			ccbf6d1b37
			...
			65b789561f
		
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								
								 | 
						65b789561f | |
| 
							
							
								
								 | 
						d0ff900099 | 
| 
						 | 
				
			
			@ -54,6 +54,7 @@
 | 
			
		|||
                    bp.product_code,
 | 
			
		||||
                    bp.product_name,
 | 
			
		||||
                    bp.shipping_channel,
 | 
			
		||||
                    bp.wms_code,,
 | 
			
		||||
                    sdi.SPECS_NAME,
 | 
			
		||||
                    sdi.quantity,
 | 
			
		||||
                    soi.order_status,
 | 
			
		||||
| 
						 | 
				
			
			@ -219,6 +220,7 @@
 | 
			
		|||
            bp.product_code,
 | 
			
		||||
            bp.product_name,
 | 
			
		||||
            bp.shipping_channel,
 | 
			
		||||
            bp.wms_code,
 | 
			
		||||
            sdi.SPECS_NAME,
 | 
			
		||||
            sdi.quantity,
 | 
			
		||||
            soi.order_status,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1161,7 +1161,7 @@
 | 
			
		|||
 | 
			
		||||
    <!-- 查询新零售购买指定商品数量(新) -->
 | 
			
		||||
    <select id="getRetailWaresQuantityNew" resultType="int">
 | 
			
		||||
        select nvl(sum(soi.wares_quantity), 0) wares_quantity
 | 
			
		||||
        select nvl(sum(soi.wares_quantity * bw.box_num), 0) wares_quantity
 | 
			
		||||
        from sa_order so
 | 
			
		||||
        left join sa_order_items soi
 | 
			
		||||
        on soi.pk_order = so.pk_id
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue