统计模块

1. 总公司统计

url: /office/head/statistical/income
method: get/json

提交参数:

参数名称 类型 备注
type int 0日 1周 2月 3年

返回参数:

参数名称 类型 备注
date str 时间
count int 订单总数
labor_fee float 总人工费用
material_fee float 总耗材费
fee float 总费用

2. 分公司统计

url: /office/branch/statistical/income
method: get/json

提交参数:

参数名称 类型 备注
branch_id int 分公司ID
type int 0日 1周 2月 3年

返回参数:

参数名称 类型 备注
date str 时间
count int 订单总数
labor_fee float 总人工费用
material_fee float 总耗材费
fee float 总费用

3. 门店统计

url: /office/store/statistical/income
method: get/json

提交参数:

参数名称 类型 备注
store_id int 门店ID
type int 0日 1周 2月 3年

返回参数:

参数名称 类型 备注
date str 时间
count int 订单总数
labor_fee float 总人工费用
material_fee float 总耗材费
fee float 总费用

4. 分公司门店统计信息数量

url: /office/store/stat/num
method: get/json

提交参数:

参数名称 类型 备注
branch_id int 分公司ID
store_id int 门店id
store_name str 门店名

返回参数:

参数名称 类型 备注
count int 数量

5. 分公司统计信息

url: /office/store/stat/num
method: get/json

提交参数:

参数名称 类型 备注
start int
num int
branch_id int 分公司ID
store_id int 门店id
store_name str 门店名

返回参数:

参数名称 类型 备注
store_name store 门店名
labor_fee float 总人工费用
material_fee float 总耗材费
fee float 总费用
store_id int 门店id

6. 生成excel

url: /office/gene/excel
method: get/json

提交参数:

参数名称 类型 备注
branch_id int 分公司ID
store_id int 门店ID
type int 0日 1周 2月 3年

返回参数:

参数名称 类型 备注
date str 时间
count int 订单总数
labor_fee float 总人工费用
material_fee float 总耗材费
fee float 总费用
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 134,915评论 18 139
  • # 一度蜜v3.0协议 --- # 交互协议 [TOC] ## 协议说明 ### 请求参数 下表列出了v3.0版协...
    c5e350bc5b40阅读 670评论 0 0
  • 我一直记得引爆之前的各种挣扎,紧张、害怕、纠结、期望、兴奋、再回到平静。我就是那样一个人,任何时候我都小心翼翼,任...
    南妡浅月阅读 772评论 4 2
  • 连续几天,北京的天气确实要将我折磨疯了。天空被冷峻的高楼挡着,天空下和高楼间又有看似寒冷的雾围绕着,整个空气都散发...
    青灯古阅读 246评论 1 1
  • 在同学家长欣瑶妈妈的全力爱心争取后,由家委会组织,老师、家长、同学配合下,德信现代小学2016级一班社会实践活动顺...
    舍得_之间阅读 383评论 3 9