|
|
|
|
1764
|
if len(subItem.HisProject.MedicalCode) > 0 {
|
1764
|
if len(subItem.HisProject.MedicalCode) > 0 {
|
1765
|
detItemFeeSumamt, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", subItem.Price*float64(subItem.Count)), 64)
|
1765
|
detItemFeeSumamt, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", subItem.Price*float64(subItem.Count)), 64)
|
1766
|
|
1766
|
|
1767
|
- count, _ := strconv.ParseFloat(fmt.Sprintf("%f", subItem.Count), 64)
|
|
|
|
|
1767
|
+ //count, _ := strconv.ParseFloat(fmt.Sprintf("%f", subItem.Count), 64)
|
|
|
1768
|
+
|
|
|
1769
|
+ count, _ := strconv.ParseFloat(strconv.FormatInt(subItem.Count, 10), 64)
|
1768
|
temp := strings.Split(subItem.FeedetlSn, "-")
|
1770
|
temp := strings.Split(subItem.FeedetlSn, "-")
|
1769
|
newFl := fmt.Sprintf("%07v", rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(10000000)) + "-" + temp[1] + "-" + temp[2]
|
1771
|
newFl := fmt.Sprintf("%07v", rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(10000000)) + "-" + temp[1] + "-" + temp[2]
|
1770
|
|
1772
|
|