浏览代码

bug fix 字符分割

baichengfei 5 年之前
父节点
当前提交
722f8ed17f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/dashoo.cn/backend/api/controllers/oilsupplier/infoChangeListener.go

+ 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