Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 years ago
parent
commit
a271866251
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/sg/his_api_controller.go

+ 1 - 1
controllers/sg/his_api_controller.go View File

663
 	}
663
 	}
664
 	last_order, _ := service.GetLastHisOrderTwo(c.GetAdminUserInfo().CurrentOrgId)
664
 	last_order, _ := service.GetLastHisOrderTwo(c.GetAdminUserInfo().CurrentOrgId)
665
 	count, _ := strconv.ParseInt(last_order.FaPiaoNumber, 10, 64)
665
 	count, _ := strconv.ParseInt(last_order.FaPiaoNumber, 10, 64)
666
-	new_fapiao_number := strconv.FormatInt(count, 10)
666
+	new_fapiao_number := strconv.FormatInt(count+1, 10)
667
 
667
 
668
 	struct4101 := service.Struct4101{
668
 	struct4101 := service.Struct4101{
669
 		PsnNo:          order.PsnNo,
669
 		PsnNo:          order.PsnNo,