日结-明细(二级页面报表)
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>报表接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li>` <a href="http://api-test.boka.vc/analytic/business/daily/report/detail">http://api-test.boka.vc/analytic/business/daily/report/detail</a></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;">compIds</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>门店id</td>
</tr>
<tr>
<td style="text-align: left;">startDate</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>开始日期 <strong>yyyy-MM-dd</strong></td>
</tr>
<tr>
<td style="text-align: left;">endDate</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>结束日期 <strong>yyyy-MM-dd</strong></td>
</tr>
<tr>
<td style="text-align: left;">queryKey</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>查询关键字,详见:<strong>queryKey说明</strong></td>
</tr>
<tr>
<td style="text-align: left;">pageNum</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>分页大小</td>
</tr>
</tbody>
</table>
<p>queryKey说明</p>
<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;">totalCash</td>
<td style="text-align: left;">实际总现金 <td rowspan="2"><a href="https://www.showdoc.com.cn/mr2/11558465194377551</td>">https://www.showdoc.com.cn/mr2/11558465194377551</td></a>;</td>
</tr>
<tr>
<td style="text-align: left;">totalConsume</td>
<td style="text-align: left;">消耗总额</td>
</tr>
<tr>
<td style="text-align: left;">prjCustomerNum</td>
<td style="text-align: left;">实操客数 <td rowspan="7"><a href="https://www.showdoc.com.cn/mr2/11558457531780719</td>">https://www.showdoc.com.cn/mr2/11558457531780719</td></a>;</td>
</tr>
<tr>
<td style="text-align: left;">compCustomerNum</td>
<td style="text-align: left;">门店客数</td>
</tr>
<tr>
<td style="text-align: left;">newDealNum</td>
<td style="text-align: left;">新客成交</td>
</tr>
<tr>
<td style="text-align: left;">trialProject</td>
<td style="text-align: left;">体验项目消耗</td>
</tr>
<tr>
<td style="text-align: left;">baseProject</td>
<td style="text-align: left;">基础消耗总额</td>
</tr>
<tr>
<td style="text-align: left;">bigProject</td>
<td style="text-align: left;">大项消耗总额</td>
</tr>
<tr>
<td style="text-align: left;">product</td>
<td style="text-align: left;">产品消耗</td>
</tr>
<tr>
<td style="text-align: left;">baseRights</td>
<td style="text-align: left;">基础权益 <td rowspan="7"><a href="https://www.showdoc.com.cn/mr2/11558461774469983</td>">https://www.showdoc.com.cn/mr2/11558461774469983</td></a>;</td>
</tr>
<tr>
<td style="text-align: left;">bigRights</td>
<td style="text-align: left;">大项权益</td>
</tr>
<tr>
<td style="text-align: left;">trialRights</td>
<td style="text-align: left;">体验权益</td>
</tr>
</tbody>
</table>
<h5>参数示例</h5>
<pre><code>{
&quot;compIds&quot;: [
&quot;5d6494c5033f9f3274eb991a&quot;
],
&quot;startDate&quot;: &quot;2024-12-01&quot;,
&quot;endDate&quot;: &quot;2024-12-13&quot;,
&quot;queryKey&quot;: &quot;prjCustomerNum&quot;,
&quot;pageNum&quot;: 1,
&quot;pageSize&quot;: 3
}</code></pre>
<h5>返回参数说明</h5>
<ul>
<li>无 详见:<strong>queryKey说明</strong></li>
</ul>
<h5>汇总-返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;result&quot;: {
&quot;hasNextPage&quot;: true,
&quot;hasPreviousPage&quot;: false,
&quot;isFirstPage&quot;: true,
&quot;isLastPage&quot;: false,
&quot;list&quot;: [
{
&quot;cashPayAmt&quot;: 14840.00000,
&quot;name&quot;: &quot;散客&quot;,
&quot;rightsPayAmt&quot;: 0.00000,
&quot;totalAmt&quot;: 0.00000
},
{
&quot;cashPayAmt&quot;: 1952.00000,
&quot;channelCode&quot;: &quot;miniApp&quot;,
&quot;channelName&quot;: &quot;小程序&quot;,
&quot;memberId&quot;: &quot;669889270419587072&quot;,
&quot;name&quot;: &quot;ttt&quot;,
&quot;rightsPayAmt&quot;: 1.00000,
&quot;totalAmt&quot;: 2.00000
},
{
&quot;cashPayAmt&quot;: 1560.00000,
&quot;channelCode&quot;: &quot;miniApp&quot;,
&quot;channelName&quot;: &quot;小程序&quot;,
&quot;memberId&quot;: &quot;66449c036a45a3498149395c&quot;,
&quot;name&quot;: &quot;书琦&quot;,
&quot;rightsPayAmt&quot;: 720.00000,
&quot;totalAmt&quot;: 1440.00000
}
],
&quot;nextPage&quot;: 2,
&quot;pageNum&quot;: 1,
&quot;pageSize&quot;: 3,
&quot;pages&quot;: 5,
&quot;prePage&quot;: 1,
&quot;size&quot;: 0,
&quot;statistics&quot;: {
&quot;cashPayAmt&quot;: 21352.71000,
&quot;list&quot;: [
{
&quot;cashPayAmt&quot;: 20632.71000,
&quot;channelCode&quot;: &quot;miniApp&quot;,
&quot;channelName&quot;: &quot;小程序&quot;,
&quot;newCnt&quot;: 34,
&quot;oldCnt&quot;: 5,
&quot;potentialCnt&quot;: 3,
&quot;rightsPayAmt&quot;: 6830.18000,
&quot;singleCnt&quot;: 0,
&quot;total&quot;: 43
},
{
&quot;cashPayAmt&quot;: 720.00000,
&quot;channelCode&quot;: &quot;visitor&quot;,
&quot;channelName&quot;: &quot;散客&quot;,
&quot;newCnt&quot;: 2,
&quot;oldCnt&quot;: 1,
&quot;potentialCnt&quot;: 0,
&quot;rightsPayAmt&quot;: 0.00000,
&quot;singleCnt&quot;: 0,
&quot;total&quot;: 3
}
],
&quot;name&quot;: &quot;共15项&quot;,
&quot;num&quot;: 46,
&quot;rightsPayAmt&quot;: 6830.18000,
&quot;total&quot;: 15
},
&quot;total&quot;: 15
},
&quot;success&quot;: true
}</code></pre>
<h5>备注</h5>
<ul>
<li>无</li>
</ul>