Browse Source

bug fix 字符分割

baichengfei 5 years ago
parent
commit
722f8ed17f

+ 1 - 1
src/dashoo.cn/backend/api/controllers/oilsupplier/infoChangeListener.go

@@ -85,7 +85,7 @@ func (this *OilInfoChangeListenerController) PreFirstTrail() {
 // @router /pre-second-trail [get]
 func (this *OilInfoChangeListenerController) PreSecondTrail() {
 	businessKey := this.GetString("businessKey")
-	infoId := strings.Split(businessKey, "_")[0]
+	infoId := strings.Split(businessKey, "-")[0]
 
 	infoSrv := suppliercertappend.GetOilSupplierCertAppendService(utils.DBE)
 	var infoChangeEntity infochange.OilInfoChange