@@ -1387,7 +1387,7 @@ if (!function_exists('getUserIdsByShare')) {
}
//采购单未操作确认或入库时判断销售单是否存在正进行中的退货
-if(function_exists("cgd_sale_return")){
+if(!function_exists("cgd_sale_return")){
/**
* @param $cgdNo
* @return bool