|  | @@ -14,6 +14,7 @@
 | 
	
		
			
				|  |  |  		<result column="total_amount_" property="totalAmount" />
 | 
	
		
			
				|  |  |  		<result column="market_amount_" property="marketAmount" />
 | 
	
		
			
				|  |  |  		<result column="order_no_" property="orderNo" />
 | 
	
		
			
				|  |  | +		<result column="username_" property="userName" />
 | 
	
		
			
				|  |  |  		<result column="organ_id_" property="organId" />
 | 
	
		
			
				|  |  |  		<result column="create_time_" property="createTime" />
 | 
	
		
			
				|  |  |  		<result column="update_time_" property="updateTime" />
 | 
	
	
		
			
				|  | @@ -21,7 +22,9 @@
 | 
	
		
			
				|  |  |  	
 | 
	
		
			
				|  |  |  	<!-- 根据主键查询一条记录 -->
 | 
	
		
			
				|  |  |  	<select id="get" resultMap="StudentGoodsSell" >
 | 
	
		
			
				|  |  | -		SELECT * FROM student_goods_sell WHERE id_ = #{id} 
 | 
	
		
			
				|  |  | +		SELECT sgs.*,su.username_ FROM student_goods_sell sgs
 | 
	
		
			
				|  |  | +		LEFT JOIN sys_user su ON su.id_ = sgs.user_id_
 | 
	
		
			
				|  |  | +		WHERE sgs.id_ = #{id}
 | 
	
		
			
				|  |  |  	</select>
 | 
	
		
			
				|  |  |  	
 | 
	
		
			
				|  |  |  	<!-- 全查询 -->
 |