king
2023-04-27 59db6fab9c1ed1fa5559d423d439e14ea33b1598
src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -1008,9 +1008,9 @@
    if (btn.Ot === 'requiredOnce' && selectedData && selectedData.length > 0) {
      primaryId = selectedData.map(d => d.$$uuid || '').filter(Boolean).join(',')
      if (_search && primaryId) {
        _search += ` and ${primaryKey} in (select ${primaryKey} from dbo.SplitComma('${primaryId}'))`
        _search += ` and ${primaryKey} in (select ID from dbo.SplitComma('${primaryId}'))`
      } else if (primaryId) {
        _search = `where ${primaryKey} in (select ${primaryKey} from dbo.SplitComma('${primaryId}'))`
        _search = `where ${primaryKey} in (select ID from dbo.SplitComma('${primaryId}'))`
      }
    }