当前位置:网站首页>健康报告-设计与实现
健康报告-设计与实现
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. 修改代码
边栏推荐
猜你喜欢

What skills are the most practical for college students in communications?

js Fetch返回数据res.json()报错问题

T5: Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer

【C语言刷题】双指针原地修改数组(力扣原题分析)

【动态规划专项训练】基础篇

固态硬盘接口类型介绍

Three components of NIO foundation

JVM内存和垃圾回收-04.程序计数器(PC寄存器)
![[Dynamic Programming Special Training] Basics](/img/62/a647783484d0e600f91924a345af07.png)
[Dynamic Programming Special Training] Basics

3 and a half years of testing experience, I don't have 20K, it seems it's time to change jobs
随机推荐
元旦快乐(2022)
说一件事
What are the useful real-time network traffic monitoring software
【动态规划专项训练】基础篇
请教下,1.0.0和1.0.2的底层数据库表结构有变化吗?
香农与信息论三大定律
7.21 - 每日一题 - 408
松鼠短视频系统为用户加入随机头像代码-快速为用户加上随机头衔
脑机接口003 | 马斯克称已实现与云端的虚拟自己对话,相关概念股份大涨
register和volatile的区别
ETH Zurich重磅综述 | 人脸-素描合成:一个新的挑战
如何获取EasyCVR平台设备通道的RTMP视频流地址?
【心理学 · 人物】第一期
连续三次 | 灵雀云入选Gartner中国ICT技术成熟度曲线报告
Electronic Industry Inventory Management Pain Points and WMS Warehouse Management System Solutions
「日志」深度学习 CUDA环境配置
【C语言刷题】Leetcode169——多数元素
openlayers版本更新差别
3 and a half years of testing experience, I don't have 20K, it seems it's time to change jobs
What is the use of IT assets management software