From a3a802263a107d618b73426087a27194eccb5fff Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期三, 27 十二月 2023 16:10:38 +0800
Subject: [PATCH] 销售明细和报价单修改

---
 model/quotation.go |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/model/quotation.go b/model/quotation.go
index 1c45c24..2ea3ad6 100644
--- a/model/quotation.go
+++ b/model/quotation.go
@@ -3,6 +3,7 @@
 import (
 	"aps_crm/pkg/mysqlx"
 	"fmt"
+	"github.com/shopspring/decimal"
 	"gorm.io/gorm"
 )
 
@@ -27,6 +28,7 @@
 		SaleChance        SaleChance      `json:"sale_chance" gorm:"foreignKey:SaleChanceId"`
 		Products          []Product       `json:"products" gorm:"many2many:quotation_product"`
 		CodeStandID       string          `json:"codeStandID" gorm:"column:code_stand_id;type:varchar(255);comment:缂栫爜id"`
+		AmountTotal       decimal.Decimal `gorm:"-" json:"amountTotal"` //浠锋牸鍚堣
 		gorm.Model        `json:"-"`
 	}
 

--
Gitblit v1.8.0