'完成', self::success => '成功', self::fail => '失败', self::cancel => '已取消', self::wait => '等待', self::processing => '处理中', self::waitRevert => '等待恢复', self::processingRevert => '恢复处理中', self::revertSuccess => '已恢复', self::revertFail => '恢复失败', ]; return $codeMap[$code] ?: ''; } /* batchTask: StatusConst::wait, StatusConst::waitRetry, StatusConst::waitRevert, StatusConst::processing, StatusConst::processingCancel, StatusConst::cancel, StatusConst::finish batchTaskQueue: StatusConst::processing, StatusConst::processingRevert batchTaskGoods: StatusConst::wait, StatusConst::delete, StatusConst::updateSuccess, StatusConst::updateFail, StatusConst::revertSuccess, StatusConst::revertFail */ }