Commit b40f98d7 by wang

^

parent f170cb12
......@@ -27,6 +27,8 @@ func main() {
if err := boot.Boot(path); err != nil {
panic(err)
}
service.NewServiceSupplier().MappingHandle(1)
return
switch taskName {
case "supplierMerge":
fmt.Println("供应商合并")
......
......@@ -106,9 +106,9 @@ func (this *ServiceSupplier) GetStatus2SupplierInfo(supplierName string,purchase
syncLog.SyncInsertLog("mapping_insert","[插入映射-新增标准]查询标供应商出错:"+"供应商标准名称:"+supplierName+err.Error(),syncLog.LogLevelFatal)
panic(nil)
}
has,poolSupplierEntity:=this.onlyOpenHandle(supplierName,poolSupplierEntitys)
_,poolSupplierEntity:=this.onlyOpenHandle(supplierName,poolSupplierEntitys)
if(has==true){
if(len(poolSupplierEntitys)>0){
poolSupplierEntity.IsType=0
//组装采购员
oldUids:=php2go.Explode(",",poolSupplierEntity.ChannelUid)
......
......@@ -119,6 +119,7 @@ func (this *ServiceSupplier) onlyOpenHandle(groupName string,PoolSupplierEntity
return true,onlyOpenSupplier
}
}else{
return false,oneSupplierEntity
}
......
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