|
@@ -1742,13 +1742,13 @@ func (c *PatientApiController) ExecDoctorAdvice() {
|
1742
|
1742
|
}
|
1743
|
1743
|
}
|
1744
|
1744
|
|
1745
|
|
- fmt.Println("222222222222", privateDrugConfig.DrugStart)
|
|
1745
|
+ //fmt.Println("222222222222", privateDrugConfig.DrugStart)
|
1746
|
1746
|
adviceName, _ := service.FindDoctorAdvice(adminUserInfo.CurrentOrgId, id)
|
1747
|
1747
|
if adviceName.Way == 2 {
|
1748
|
1748
|
if privateDrugConfig != nil && privateDrugConfig.DrugStart == 1 {
|
1749
|
|
- fmt.Println("进来了没有-------------------------------")
|
|
1749
|
+ //fmt.Println("进来了没有-------------------------------")
|
1750
|
1750
|
adviceName, _ := service.FindDoctorAdvice(adminUserInfo.CurrentOrgId, id)
|
1751
|
|
- fmt.Println("3333333333", adviceName.ExecutionState)
|
|
1751
|
+ //fmt.Println("3333333333", adviceName.ExecutionState)
|
1752
|
1752
|
if adviceName.ExecutionState == 1 {
|
1753
|
1753
|
prescribingNumber := strconv.FormatFloat(math.Abs(adviceName.PrescribingNumber), 'f', 0, 64)
|
1754
|
1754
|
count, _ := strconv.ParseInt(prescribingNumber, 10, 64)
|