当前位置:网站首页>健康报告-设计与实现
健康报告-设计与实现
2022-08-02 18:54:00 【HRX98】
健康报告
一、需求分析
1. 查询
条件
1. 类别?
2. 服务团队
3. 推送状态
4. 服务客户(关键字)
5. 报告时间段
6. 推送时间段
字段
- 服务客户
- 服务团队
- 健康报告
- 报告时间
- 类别
- 推送状态
- 推送时间
- 服务套餐——审核时间
- 默认推送——默认时间
2. 审核/批量审核
- 绑定商品
- 预约项目?
3. 查看详情?
4. 生成规则
1. 生成时间:报告截止日期的24:00
2. 推送时间:
- 默认推送(月):生成报告后隔天早上八点推送至客户
- 服务套餐推送:需服务人员审核后推送至客户
1. 周
2. 月
3. 季
4. 年
二、设计表
- health_report健康报告
id,自增id
hr_id,报告id
consumer_id,客户id
team_id,服务团队id
push_cycle,推送周期(0周、1月、2季、3年)
record_time,报告时间
hr_type,健康报告类型(1服务套餐、0默认推送)
push_status,推送状态(未推送、已推送)
push_time,推送时间(服务套餐的推送时间,为审核时间)
commodity_ids,绑定商品id
service_item_ids,绑定预约项目id
remark,备注
tenant_id,租户id
create_time,创建时间
update_time,更新时间
三、涉及到的表
数据库涉及到表字段
身体指标项:body_metrics (name/remark)
客户各项身体指标:
customer_body_metrics (customer id/metric)
customer_body_metrics_0/1/2/3/4 (customer id/metric)
商城商品:mall_shop_appt_item
预约项目:mall_shop_commodity
三、代码框架
1. 自动生成代码
2. 修改代码
边栏推荐
- MySQL 事件调度
- ROS基本编程概述
- 洛谷P2574 XOR的艺术
- Based on OpenGL glaciers and firebird (illumination calculation model, visual, particle system)
- openlayers version update difference
- 药品研发--检验记录与检验报告书的书写细则
- 中职网络安全竞赛之应用服务漏洞扫描与利用
- Electronic Industry Inventory Management Pain Points and WMS Warehouse Management System Solutions
- Metaverse 001 | Can't control your emotions?The Metaverse is here to help you
- 我靠这套笔记自学,拿下字节50万offer....
猜你喜欢
随机推荐
NC | 土壤微生物组的结构和功能揭示全球湿地N2O释放
[深入研究4G/5G/6G专题-49]: 5G Link Adaption链路自适应-5-上行链路自适应ULLA-PUSCH信道
回收站删除的文件怎么恢复,2个方法汇总助您快速解决
流量分析第二题
7.21 - 每日一题 - 408
洛谷P4799 世界冰球锦标赛
阿里35+老测试员生涯回顾,自动化测试真的有这么吃香吗?
js Fetch返回数据res.json()报错问题
Therapy | How to Identify and Deal with Negative Thoughts
1.0.0到1.0.2的底层数据库表的更新,需要再重新自建数据库吗?
E. Add Modulo 10(规律)
香农与信息论三大定律
动态生成不同类型的订单,请问如何存放到Mongodb数据库?
我靠这套笔记自学,拿下字节50万offer....
cache2go-源码阅读
7.24 - 每日一题 - 408
[Dynamic Programming Special Training] Basics
流量分析四—蓝牙
MySQL 事件调度
MySQL主从搭建(问题大聚集,告别部署烦恼)