import request from 'src/utils/request'

// 添加码包申请记录
export function getQrcodeOperRecord(pieceCode,pieceCodeType,applyTime,qrCodeStatus,childQrCodes,userName,userId,childSysCode,childSysName,operationResult,cgtCode,cgtName) {
  return request({
    url: '/qrcode/product/export/smoke/codeOper/getQrcodeOperRecord',
    method: 'post',
    data: {
      "pieceCode": pieceCode,
      "pieceCodeType": pieceCodeType,//
      "applyTime": applyTime,
      "qrCodeStatus": qrCodeStatus,
      "childQrCodes": childQrCodes,
      "userName": userName,
      "userId": userId,//
      "childSysCode": childSysCode,//
      "childSysName": childSysName,
      "operationResult":operationResult,
      "cgtCode":cgtCode,
      "cgtName":cgtName,
    }
  })
}

// 添加码包申请记录
export function codeInsAdd(query) {
  return request({
    url: '/qrcode/product/export/smoke/codeIns/add',
    method: 'post',
    data: query
  })
}


