king
2024-02-04 0bbaa727cdfc65622e33e91c4bf694c83f184535
src/templates/zshare/createfunc/index.jsx
@@ -44,22 +44,24 @@
    // 删除存储过程
    let droparam = {
      func: 'sPC_TableData_InUpDe',
      LText: Utils.formatOptions(dropfunc),
      LText: Utils.formatOptions(dropfunc, window.GLOB.execType || 'y'),
      exec_type: window.GLOB.execType || 'y',
      TypeCharOne: 'proc' // 删除或创建存储过程标志
    }
    droparam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
    droparam.secretkey = Utils.encrypt(droparam.LText, droparam.timestamp)
    droparam.secretkey = Utils.encrypt('', droparam.timestamp)
    droparam.open_key = Utils.encryptOpenKey(droparam.secretkey, droparam.timestamp)
    // 新建存储过程
    let _param = {
      func: 'sPC_TableData_InUpDe',
      LText: Utils.formatOptions(newLText),
      LText: Utils.formatOptions(newLText, window.GLOB.execType || 'y'),
      exec_type: window.GLOB.execType || 'y',
      TypeCharOne: 'proc'
    }
    _param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
    _param.secretkey = Utils.encrypt(_param.LText, _param.timestamp)
    _param.secretkey = Utils.encrypt('', _param.timestamp)
    _param.open_key = Utils.encryptOpenKey(_param.secretkey, _param.timestamp)
    let saveParam = {