|  | @@ -843,4 +843,45 @@
 | 
	
		
			
				|  |  |              GROUP BY tf.f_corpid
 | 
	
		
			
				|  |  |              LIMIT 10
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  | -</mapper>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    <select id="selectQueryMenuList" parameterType="TWarehousebillsfees" resultType="map">
 | 
	
		
			
				|  |  | +        SELECT tf.f_id AS fId,
 | 
	
		
			
				|  |  | +        tf.f_pid AS fPid,
 | 
	
		
			
				|  |  | +        tf.f_corpid AS fCorpid,
 | 
	
		
			
				|  |  | +        tc.f_no AS corpNo,
 | 
	
		
			
				|  |  | +        tc.f_cname AS corpCname,
 | 
	
		
			
				|  |  | +        tc.f_name AS corpName,
 | 
	
		
			
				|  |  | +        tf.f_mblno AS fMblno,
 | 
	
		
			
				|  |  | +        tf.f_bsdate AS fBsdate,
 | 
	
		
			
				|  |  | +        tf.f_review_date AS fReviewDate,
 | 
	
		
			
				|  |  | +        tf.f_feeid AS fFeeid,
 | 
	
		
			
				|  |  | +        te.f_no AS feesNo,
 | 
	
		
			
				|  |  | +        te.f_name AS feesName,
 | 
	
		
			
				|  |  | +        tf.f_dc AS fDc,
 | 
	
		
			
				|  |  | +        tf.f_amount AS fAmount,
 | 
	
		
			
				|  |  | +        tf.f_stlamount AS fStlamount,
 | 
	
		
			
				|  |  | +        tf.f_stlamount_date AS fStlamountDate,
 | 
	
		
			
				|  |  | +        tf.f_invamount AS fInvamount,
 | 
	
		
			
				|  |  | +        tf.f_invnos AS fInvnos,
 | 
	
		
			
				|  |  | +        tf.f_accamount AS fAccamount,
 | 
	
		
			
				|  |  | +        tf.f_accamount_date AS fAccamountDate,
 | 
	
		
			
				|  |  | +        tf.f_statement_no AS fStatementNo,
 | 
	
		
			
				|  |  | +        tf.f_feeUnitid AS fFeeUnitid,
 | 
	
		
			
				|  |  | +        tf.f_qty AS fQty,
 | 
	
		
			
				|  |  | +        tf.f_unitprice AS fUnitprice,
 | 
	
		
			
				|  |  | +        tf.f_business_type AS fBusinessType,
 | 
	
		
			
				|  |  | +        tf.f_product_name AS fProductName,
 | 
	
		
			
				|  |  | +        tf.remark AS remark,
 | 
	
		
			
				|  |  | +        tf.price_date_remarks AS priceDateRemarks
 | 
	
		
			
				|  |  | +        FROM t_warehousebillsfees tf
 | 
	
		
			
				|  |  | +        LEFT JOIN t_corps tc ON tc.f_id = tf.f_corpid
 | 
	
		
			
				|  |  | +        LEFT JOIN t_fees te ON te.f_id = tf.f_feeid
 | 
	
		
			
				|  |  | +        <where>
 | 
	
		
			
				|  |  | +            <if test="fDc != null  and fDc != ''">and tf.f_dc = #{fDc}</if>
 | 
	
		
			
				|  |  | +            <if test="fMblno != null  and fMblno != ''">and tf.f_mblno = #{fMblno}</if>
 | 
	
		
			
				|  |  | +            <if test="corpName != null  and corpName != ''">and tc.f_name like concat('%', #{corpName},'%')</if>
 | 
	
		
			
				|  |  | +            <if test="fReviewDate != null  and fReviewDate != ''">and tf.f_review_date = #{fReviewDate}</if>
 | 
	
		
			
				|  |  | +            <if test="fBsdate != null  and fBsdate != ''">and tf.f_bsdate = #{fBsdate}</if>
 | 
	
		
			
				|  |  | +        </where>
 | 
	
		
			
				|  |  | +    </select>
 | 
	
		
			
				|  |  | +</mapper>
 |