Commit 2d51800c by mushishixian

fix

parent 83efbf93
Showing with 1 additions and 0 deletions
...@@ -69,6 +69,7 @@ class SupplierTransformer ...@@ -69,6 +69,7 @@ class SupplierTransformer
$userCodes = $intracodeModel->getSampleEncode(); $userCodes = $intracodeModel->getSampleEncode();
$data = []; $data = [];
$channelUidList = explode(',', $channelUid); $channelUidList = explode(',', $channelUid);
$channelUidList = array_unique($channelUidList);
foreach ($channelUidList as $codeId) { foreach ($channelUidList as $codeId) {
if ($canViewAllChannelUser) { if ($canViewAllChannelUser) {
if (!empty($codeId)) { if (!empty($codeId)) {
......
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