[enhancement] queueName should not be stored in the table t_ds_user, which can result in inconsistent data
Describe
QueueName should not be stored in the table t_ds_user, which can result in inconsistent data.

Reproduce
- Update queue's name
- Query Userlist
- The queue's old name is returned
Expected The new value should be returned
Version -[dev]
Improvement
- QueueId should be stored.
@xingchun-chen , please verify this problem
The queue value of the userManage page has been updated, but the queue value of the t_ds_user table has not been updated

Can anyone fix him!
+1
+1
glad to hear that you will fix ,haha
@dailidong
+1
glad to hear that you will fix ,haha
When I prepare to solve this bug, I find that the queue value of the t_ds_user table has been updated.




current t_ds_user table queue field sotre the queue_name not the queue_value. In FetchTaskThread, user.queue store queue_name, but tenant.queue store queue_value, so the user.queue should convert queue_value.
tip: when create queue in ds, create queue api - guarantee that queue and queue_name are unique. if you change the queue_name in t_ds_queue, the queue field will be change related to user
The reference should be uniform, this problem was inelegantly resolved on the branch dev.
The current implementation is okay but just not elegant enough, maybe should enhancement
In my opinion that queue_name should not be stored in the T_DS_USER table. queue_id should be stored instead