| | |
| | | |
| | | <!-- 查询费用明细信息 add by wuxw 2018-07-03 --> |
| | | <select id="getFeeDetailInfo" parameterType="Map" resultType="Map"> |
| | | select t.prime_rate,t.prime_rate primeRate,t.detail_id,t.detail_id detailId,t.receivable_amount,t.receivable_amount receivableAmount,t.cycles,t.remark,t.status_cd,t.status_cd statusCd,t.received_amount,t.received_amount receivedAmount,t.community_id,t.community_id communityId,t.b_id,t.b_id bId,t.fee_id,t.fee_id feeId |
| | | select t.prime_rate,t.prime_rate primeRate,t.detail_id,t.detail_id detailId,t.receivable_amount,t.receivable_amount receivableAmount, |
| | | t.cycles,t.remark,t.status_cd,t.status_cd statusCd,t.received_amount,t.received_amount receivedAmount,t.community_id, |
| | | t.community_id communityId,t.b_id,t.b_id bId,t.fee_id,t.fee_id feeId ,t.create_time createTime |
| | | from pay_fee_detail t |
| | | where 1 =1 |
| | | <if test="primeRate !=null and primeRate != ''"> |
| | |
| | | </if> |
| | | <if test="feeId !=null and feeId != ''"> |
| | | and t.fee_id= #{feeId} |
| | | </if> |
| | | </if> |
| | | <if test="startTime !=null "> |
| | | and t.create_time >= #{startTime} |
| | | </if> |
| | | <if test="endTime !=null "> |
| | | and t.create_time <= #{endTime} |
| | | </if> |
| | | order by t.create_time desc |
| | | <if test="page != -1 and page != null "> |
| | | limit #{page}, #{row} |
| | | </if> |
| | | </if> |
| | | |
| | | |
| | | </select> |
| | | |
| | |
| | | </if> |
| | | <if test="feeId !=null and feeId != ''"> |
| | | and t.fee_id= #{feeId} |
| | | </if> |
| | | </if> |
| | | <if test="startTime !=null "> |
| | | and t.create_time >= #{startTime} |
| | | </if> |
| | | <if test="endTime !=null "> |
| | | and t.create_time <= #{endTime} |
| | | </if> |
| | | |
| | | |
| | | </select> |