1、修复bug
This commit is contained in:
		| @ -273,7 +273,9 @@ func (e *MmMachine) UpdateBatch(req *dto.MmMachineUpdateBatchReq, p *actions.Dat | ||||
| 		return err | ||||
| 	} | ||||
|  | ||||
| 	e.Orm.Model(&models.MmWhiteTemplate{}).Where("id in ?", req.Ids).Select("machine_id").Find(&machineIds) | ||||
| 	if err := e.Orm.Model(&models.MmMachine{}).Where("id in ?", req.Ids).Select("machine_id").Find(&machineIds).Error; err != nil { | ||||
| 		e.Log.Errorf("Service UpdateBatch error:%s \r\n", err.Error()) | ||||
| 	} | ||||
|  | ||||
| 	switch { | ||||
| 	case req.Type == 0: | ||||
|  | ||||
		Reference in New Issue
	
	Block a user