新增了服务包订单导出、商品列表增加了商品id搜索条件

This commit is contained in:
2024-06-05 15:27:33 +08:00
parent ca629cdb2d
commit d76c00556c
9 changed files with 507 additions and 2 deletions
+1
View File
@@ -43,6 +43,7 @@ type OrderServicePackage struct {
User *User `gorm:"foreignKey:UserId;references:user_id" json:"user"` // 患者
OrderServicePackageInquiry []*OrderServicePackageInquiry `gorm:"foreignKey:OrderServiceId;references:order_service_id" json:"order_service_package_inquiry"` // 关联问诊订单
OrderServicePackageProduct []*OrderServicePackageProduct `gorm:"foreignKey:OrderServiceId;references:order_service_id" json:"order_service_package_product"` // 关联商品订单
UserPatient *UserPatient `gorm:"foreignKey:PatientId;references:patient_id" json:"user_patient"`
}
func (m *OrderServicePackage) TableName() string {