Commit 069ef7c2 by wang

去除测试代码

parent b4008f72
Showing with 1 additions and 3 deletions
...@@ -80,8 +80,6 @@ func (this *ErpService) SyncErp() { ...@@ -80,8 +80,6 @@ func (this *ErpService) SyncErp() {
} }
func (this *ErpService) pushErp(poolSupplierEntity *PoolSupplierEntity) { func (this *ErpService) pushErp(poolSupplierEntity *PoolSupplierEntity) {
defer panic("测试:执行一个就退出")
/** /**
{"name":"深圳市朋友有限責任公司", {"name":"深圳市朋友有限責任公司",
"shortName":"朋友", "shortName":"朋友",
...@@ -123,7 +121,7 @@ func (this *ErpService) pushErp(poolSupplierEntity *PoolSupplierEntity) { ...@@ -123,7 +121,7 @@ func (this *ErpService) pushErp(poolSupplierEntity *PoolSupplierEntity) {
fmt.Println(string(bytes)) fmt.Println(string(bytes))
mq.PushMsg("supplier_sync",string(bytes)) mq.PushMsg("supplier_sync",string(bytes))
//fmt.Println(poolSupplierEntity) //fmt.Println(poolSupplierEntity)
common.PrintStdout().Printf("supplierID:%d,压入队列成功\n",poolSupplierEntity.SupplierId)
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment