Commit 80f83ef4 authored by hujun's avatar hujun

3

parent 35251803
......@@ -22,7 +22,7 @@ class UploadWorkLearning extends Basic
return $this->response("101", "参数错误");
}
if (!in_array($this->params['type'], [0,1,2])) {
if (!in_array($this->params['type'], [0,1,2,3])) {
return $this->response("101", "类型错误");
}
......@@ -85,7 +85,7 @@ class UploadWorkLearning extends Basic
if (!empty($this->params['agent_id'])) {
$where['agent_id'] = $this->params['agent_id'];
}
$where['type'] = $this->params['type'];//0素质测评 1方法分析 2价值观考核
$where['type'] = $this->params['type'];//0素质测评 1方法分析 2价值观考核 3忠诚诚信表
$where['is_del'] = 0;
try {
$work = new RWorkLearningModel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment