分润统计
<h5>简要描述</h5>
<ul>
<li>分润统计接口</li>
<li>平台分润 merchantShare: (应付金额 x(1-分润比例)之和)</li>
<li>客户分润 merchantShare: (应付金额 x (分润比例)之和)</li>
<li>分润比例 scale: 单位 百分号</li>
<li>应付金额 totalAmount
<h5>请求URL</h5></li>
<li><code>liyuan_base/rent/order/share</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">userId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">long</td>
<td>客户名称</td>
</tr>
<tr>
<td style="text-align: left;">storeId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">long</td>
<td>用户所属门店</td>
</tr>
<tr>
<td style="text-align: left;">comboType</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>套餐类型 1-日租 2月租</td>
</tr>
<tr>
<td style="text-align: left;">payType</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>付款方式 1-在线支付 2-集团代购 3-线下支付</td>
</tr>
<tr>
<td style="text-align: left;">payId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">long</td>
<td>订单号</td>
</tr>
<tr>
<td style="text-align: left;">blurry</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>租赁用户 模糊查询(用户名、手机号)</td>
</tr>
<tr>
<td style="text-align: left;">startTime</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Date</td>
<td>发生日期</td>
</tr>
<tr>
<td style="text-align: left;">endTime</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Date</td>
<td>结束日期</td>
</tr>
<tr>
<td style="text-align: left;">pageNo</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>每页显示条数</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 0,
"list": [
{
"comboName": "套餐2",
"comboNum": 1,
"comboPrice": 199.00,
"comboType": 1,
"createTime": 1641457192647,
"id": 638983685730729984,
"insuranceAmount": 222.00,
"payStatus": 2,
"payType": 2,
"phone": "18320284896",
"rentAmount": 199.00,
"storeName": "jack",
"totalAmount": 421.00,
"userName": "jack"
},
{
"comboName": "套餐1",
"comboNum": 2,
"comboPrice": 888.00,
"comboType": 1,
"createTime": 1641367717483,
"id": 638608399692464128,
"insuranceAmount": 222.00,
"payStatus": 2,
"payType": 2,
"phone": "18320284896",
"rentAmount": 1776.00,
"storeName": "jack",
"totalAmount": 1998.00,
"userName": "jack"
},
{
"comboName": "12321大苏打",
"comboNum": 1,
"comboPrice": 112.00,
"comboType": 1,
"createTime": 1641367511905,
"id": 638607537435836416,
"insuranceAmount": 222.00,
"payStatus": 2,
"payType": 2,
"phone": "18320284896",
"rentAmount": 112.00,
"storeName": "jack",
"totalAmount": 334.00,
"userName": "jack"
},
{
"comboName": "12321大苏打",
"comboNum": 1,
"comboPrice": 112.00,
"comboType": 1,
"createTime": 1641367366122,
"id": 638606925981810688,
"insuranceAmount": 222.00,
"payStatus": 2,
"payType": 2,
"phone": "18320284896",
"rentAmount": 112.00,
"storeName": "jack",
"totalAmount": 334.00,
"userName": "jack"
},
{
"comboName": "套餐2",
"comboNum": 1,
"comboPrice": 199.00,
"comboType": 1,
"createTime": 1641206822521,
"id": 637933557309767680,
"insuranceAmount": 222.00,
"payStatus": 2,
"payType": 2,
"phone": "18320284896",
"rentAmount": 199.00,
"storeName": "jack",
"totalAmount": 421.00,
"userName": "jack"
},
{
"comboName": "套餐2",
"comboNum": 1,
"comboPrice": 199.00,
"comboType": 1,
"createTime": 1641206792464,
"id": 637933431241572352,
"insuranceAmount": 222.00,
"payStatus": 2,
"payType": 2,
"phone": "18320284896",
"rentAmount": 199.00,
"storeName": "jack",
"totalAmount": 421.00,
"userName": "jack"
},
{
"comboName": "套餐2",
"comboNum": 1,
"comboPrice": 199.00,
"comboType": 1,
"createTime": 1641457192585,
"id": 638983685474877440,
"insuranceAmount": 222.00,
"merchantName": "锂源平台",
"payStatus": 2,
"payType": 2,
"phone": "18320284895",
"rentAmount": 199.00,
"scale": "50",
"storeName": "Ace",
"totalAmount": 421.00,
"userName": "Ace"
},
{
"comboName": "套餐2",
"comboNum": 1,
"comboPrice": 199.00,
"comboType": 1,
"createTime": 1641206822464,
"id": 637933557074886656,
"insuranceAmount": 222.00,
"merchantName": "锂源平台",
"payStatus": 2,
"payType": 2,
"phone": "18320284895",
"rentAmount": 199.00,
"scale": "50",
"storeName": "Ace",
"totalAmount": 421.00,
"userName": "Ace"
},
{
"comboName": "套餐2",
"comboNum": 1,
"comboPrice": 199.00,
"comboType": 1,
"createTime": 1641206792400,
"id": 637933430981525504,
"insuranceAmount": 222.00,
"merchantName": "锂源平台",
"payStatus": 2,
"payType": 2,
"phone": "18320284895",
"rentAmount": 199.00,
"scale": "50",
"storeName": "Ace",
"totalAmount": 421.00,
"userName": "Ace"
},
{
"moneyTotal": 37130.69,
"orderNum": 127
}
],
"pageTurn": {
"currentPage": 1,
"end": 9,
"firstPage": 1,
"nextPage": 1,
"page": 1,
"pageCount": 1,
"pageSize": 200,
"prevPage": 1,
"rowCount": 9,
"start": 0,
"startIndex": 0
},
"tip": "请求成功"
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">orderNum</td>
<td style="text-align: left;">int</td>
<td>订单数</td>
</tr>
<tr>
<td style="text-align: left;">moneyTotal</td>
<td style="text-align: left;">numeric</td>
<td>总计金额</td>
</tr>
<tr>
<td style="text-align: left;">platformShare</td>
<td style="text-align: left;">numeric</td>
<td>平台分润</td>
</tr>
<tr>
<td style="text-align: left;">merchantShare</td>
<td style="text-align: left;">numeric</td>
<td>客户分润</td>
</tr>
<tr>
<td style="text-align: left;">merchantName</td>
<td style="text-align: left;">String</td>
<td>客户名称</td>
</tr>
<tr>
<td style="text-align: left;">scale</td>
<td style="text-align: left;">float</td>
<td>分润比例</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">long</td>
<td>订单号</td>
</tr>
<tr>
<td style="text-align: left;">storeName</td>
<td style="text-align: left;">string</td>
<td>用户所属门店</td>
</tr>
<tr>
<td style="text-align: left;">userName</td>
<td style="text-align: left;">string</td>
<td>租赁用户(用户名)</td>
</tr>
<tr>
<td style="text-align: left;">phone</td>
<td style="text-align: left;">string</td>
<td>租赁用户(手机号)</td>
</tr>
<tr>
<td style="text-align: left;">comboName</td>
<td style="text-align: left;">numeric</td>
<td>套餐名称</td>
</tr>
<tr>
<td style="text-align: left;">comboPrice</td>
<td style="text-align: left;">numeric</td>
<td>套餐单价</td>
</tr>
<tr>
<td style="text-align: left;">comboNum</td>
<td style="text-align: left;">int</td>
<td>租赁时长(数量)</td>
</tr>
<tr>
<td style="text-align: left;">comboType</td>
<td style="text-align: left;">int</td>
<td>租赁时长(套餐类型 1-日租 2月租)</td>
</tr>
<tr>
<td style="text-align: left;">rentAmount</td>
<td style="text-align: left;">numeric</td>
<td>租金</td>
</tr>
<tr>
<td style="text-align: left;">insuranceAmount</td>
<td style="text-align: left;">numeric</td>
<td>保险</td>
</tr>
<tr>
<td style="text-align: left;">totalAmount</td>
<td style="text-align: left;">numeric</td>
<td>应付金额</td>
</tr>
<tr>
<td style="text-align: left;">createTime</td>
<td style="text-align: left;">numeric</td>
<td>支付时间</td>
</tr>
<tr>
<td style="text-align: left;">payType</td>
<td style="text-align: left;">int</td>
<td>支付方式 1-在线支付 2-集团代购 3-线下支付</td>
</tr>
<tr>
<td style="text-align: left;">payStatus</td>
<td style="text-align: left;">int</td>
<td>支付状态 1-未支付 2-已支付/已确认 3-待人工确认 4-用户取消支付 5-人工取消</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>