insert into visit_plan (id, hospital_id, special_id, outpatient_id, clinic_id, doctor_id, time, day) values (#{id,jdbcType=BIGINT}, #{hospitalId,jdbcType=BIGINT}, #{specialId,jdbcType=BIGINT}, #{outpatientId,jdbcType=BIGINT}, #{clinicId,jdbcType=BIGINT}, #{doctorId,jdbcType=BIGINT}, #{time,jdbcType=INTEGER}, #{day,jdbcType=TIMESTAMP})
时间: 2023-08-02 17:05:03 浏览: 57
这是一段 SQL 语句,用于向 visit_plan 表中插入一条记录。其中,#{id}、#{hospitalId}、#{specialId}、#{outpatientId}、#{clinicId}、#{doctorId}、#{time} 和 #{day} 是占位符,需要在执行 SQL 语句时替换成具体的值。例如,如果要插入 id 为 1、hospitalId 为 2、specialId 为 3、outpatientId 为 4、clinicId 为 5、doctorId 为 6、time 为 7、day 为 2021-08-01 的记录,需要将占位符替换成相应的值,得到如下 SQL 语句:
```sql
insert into visit_plan (id, hospital_id, special_id, outpatient_id, clinic_id, doctor_id, time, day)
values (1, 2, 3, 4, 5, 6, 7, '2021-08-01');
```
相关问题
/** matrix 自动添加库注释:库名:hbos_basedata */ --中山执行 INSERT INTO hbos_basedata.dic_config_param_value (id, customer_code, category_id, category_code, param_code, param_name, param_type, param_value, param_desc, status, is_deleted, create_by, create_time, update_by, update_time) VALUES ((select max(id) + 1 from dic_config_param_value a), 'Hbos.Emergency.Treatment.GeneralTreatment@20012004#30061002', null, 'HP00007', 'submitBeanName', '急诊普通治疗数字化(提交)', 'String', 'doctorOrderDigitalServiceImpl', '', 1, 0, -1, '2022-12-13 11:27:51', -1, '2022-12-23 11:27:51'); INSERT INTO hbos_basedata.dic_config_param_value (id, customer_code, category_id, category_code, param_code, param_name, param_type, param_value, param_desc, status, is_deleted, create_by, create_time, update_by, update_time) VALUES ((select max(id) + 1 from dic_config_param_value a), 'Hbos.Outpatient.Treatment.GeneralTreatment@20012004#30061002', null, 'HP00007', 'submitBeanName', '门诊普通治疗数字化(提交)-口腔科门诊', 'String', 'doctorOrderDigitalServiceImpl', '', 1, 0, -1, '2022-12-13 11:27:51', -1, '2022-12-23 11:27:51');
这是两条 SQL 语句用于向 `hbos_basedata.dic_config_param_value` 表中插入数据。
第一条语句插入了一条记录,其中包含了以下字段的值:
- `id`:根据已有数据的最大 `id` 值加 1 生成
- `customer_code`:'Hbos.Emergency.Treatment.GeneralTreatment@20012004#30061002'
- `category_id`:null
- `category_code`:'HP00007'
- `param_code`:'submitBeanName'
- `param_name`:'急诊普通治疗数字化(提交)'
- `param_type`:'String'
- `param_value`:'doctorOrderDigitalServiceImpl'
- `param_desc`:''
- `status`:1
- `is_deleted`:0
- `create_by`:-1
- `create_time`:'2022-12-13 11:27:51'
- `update_by`:-1
- `update_time`:'2022-12-23 11:27:51'
第二条语句插入了另一条记录,字段值与第一条类似,只有部分字段不同。
这两条语句将数据插入了名为 `hbos_basedata.dic_config_param_value` 的表中。
Uncaught (in promise) Error: Redirected from "/outpatient" to "/hospitalRecord" via a navigation guard.
这个错误通常出现在使用Vue Router时,当用户访问某个路由时,被导航守卫拦截并重定向到另一个路由时,可能会出现错误。具体原因可能有多种,例如导航守卫中的逻辑错误、路由配置错误等。
要解决此问题,可以尝试以下几个步骤:
1. 检查代码中导航守卫的逻辑是否正确,确保重定向的目标路由存在并且正确。
2. 检查路由配置是否正确,确保路由配置与导航守卫中的逻辑一致。
3. 使用Vue Devtools调试工具,分析路由跳转的过程,查看具体错误信息,并尝试解决。
希望这些信息能对你有所帮助。如果还有问题,请随时提出。