|
@@ -979,7 +979,7 @@
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1667,7 +1667,7 @@
|
|
'examGroupId'=>$Exam_GroupId,
|
|
'examGroupId'=>$Exam_GroupId,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
$this->sendNoticeToReport($Exam_GroupId);
|
|
$this->sendNoticeToReport($Exam_GroupId);
|
|
if(Yii::app()->params['handle_log_on_off'])
|
|
if(Yii::app()->params['handle_log_on_off'])
|
|
{
|
|
{
|
|
@@ -1833,7 +1833,7 @@
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
//发送学生端消息
|
|
//发送学生端消息
|
|
$sendJsonArr=array(
|
|
$sendJsonArr=array(
|
|
@@ -1984,7 +1984,7 @@
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
echo 1;exit;
|
|
echo 1;exit;
|
|
} catch (Exception $e) {
|
|
} catch (Exception $e) {
|
|
$transaction->rollback();
|
|
$transaction->rollback();
|
|
@@ -2218,7 +2218,7 @@
|
|
'examGroupId'=>$exam_group_id,
|
|
'examGroupId'=>$exam_group_id,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
echo 1;exit;
|
|
echo 1;exit;
|
|
} catch (Exception $e) {
|
|
} catch (Exception $e) {
|
|
$transaction->rollback();
|
|
$transaction->rollback();
|
|
@@ -2790,7 +2790,7 @@
|
|
'examGroupId'=>$Exam_GroupId,
|
|
'examGroupId'=>$Exam_GroupId,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
if(Yii::app()->params['handle_log_on_off'])
|
|
if(Yii::app()->params['handle_log_on_off'])
|
|
{
|
|
{
|
|
writeFileLog(jsonEncode(array(
|
|
writeFileLog(jsonEncode(array(
|
|
@@ -3176,7 +3176,7 @@
|
|
'examGroupId'=>$Exam_GroupId,
|
|
'examGroupId'=>$Exam_GroupId,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
} catch (Exception $e) {
|
|
} catch (Exception $e) {
|
|
//如果操作失败, 数据回滚
|
|
//如果操作失败, 数据回滚
|
|
$transaction->rollback();
|
|
$transaction->rollback();
|
|
@@ -3485,7 +3485,7 @@
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
|
|
|
|
//发送学生端消息
|
|
//发送学生端消息
|
|
@@ -3641,7 +3641,7 @@
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
if(isset($examGroupData) && $examGroupData->homework==1){
|
|
if(isset($examGroupData) && $examGroupData->homework==1){
|
|
//发送学生端消息
|
|
//发送学生端消息
|
|
@@ -4059,7 +4059,7 @@
|
|
'examGroupId'=>$examGroupId,
|
|
'examGroupId'=>$examGroupId,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
} catch (Exception $e) {
|
|
} catch (Exception $e) {
|
|
//如果操作失败, 数据回滚
|
|
//如果操作失败, 数据回滚
|
|
$transaction->rollback();
|
|
$transaction->rollback();
|
|
@@ -4316,7 +4316,7 @@
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
|
|
|
|
//发送学生端消息
|
|
//发送学生端消息
|
|
@@ -4466,7 +4466,7 @@
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
'generateTime'=>time()*1000
|
|
'generateTime'=>time()*1000
|
|
);
|
|
);
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
|
|
|
|
//发送学生端消息
|
|
//发送学生端消息
|