XMLWAN 2 yıl önce
ebeveyn
işleme
ad5f55039d
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      service/pharmacy_service.go

+ 1 - 0
service/pharmacy_service.go Dosyayı Görüntüle

@@ -1851,6 +1851,7 @@ func CalculateTheTotalAmount(tmp []*models.PatientInformation, drug_id int64) (t
1851 1851
 	minmunber := t.MinNumber                               //拆零数量
1852 1852
 	terrUnit := ""
1853 1853
 	for _, v := range tmp {
1854
+		fmt.Println("v2332233232322323", v.Quantity)
1854 1855
 		switch v.Unit {
1855 1856
 		case t.MaxUnit:
1856 1857
 			maxunit = maxunit + v.Quantity