mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 20:12:48 +00:00
feat: 操作人员离职对okr的移交处理
This commit is contained in:
parent
008040d96c
commit
990a40e4e4
@ -53,6 +53,7 @@ class UserTransfer extends AbstractModel
|
|||||||
WebSocketDialog::select(['web_socket_dialogs.*'])
|
WebSocketDialog::select(['web_socket_dialogs.*'])
|
||||||
->join('web_socket_dialog_users as u', 'web_socket_dialogs.id', '=', 'u.dialog_id')
|
->join('web_socket_dialog_users as u', 'web_socket_dialogs.id', '=', 'u.dialog_id')
|
||||||
->where('web_socket_dialogs.type', 'group')
|
->where('web_socket_dialogs.type', 'group')
|
||||||
|
->where('web_socket_dialogs.group_type', '!=', 'okr')
|
||||||
->where('u.userid', $this->original_userid)
|
->where('u.userid', $this->original_userid)
|
||||||
->orderByDesc('web_socket_dialogs.id')
|
->orderByDesc('web_socket_dialogs.id')
|
||||||
->chunk(100, function($list) {
|
->chunk(100, function($list) {
|
||||||
|
|||||||
@ -177,7 +177,7 @@ services:
|
|||||||
|
|
||||||
okr:
|
okr:
|
||||||
container_name: "dootask-okr-${APP_ID}"
|
container_name: "dootask-okr-${APP_ID}"
|
||||||
image: "kuaifan/doookr:0.4.2"
|
image: "kuaifan/doookr:0.4.3"
|
||||||
environment:
|
environment:
|
||||||
TZ: "${TIMEZONE:-PRC}"
|
TZ: "${TIMEZONE:-PRC}"
|
||||||
DOO_TASK_URL: "http://${APP_IPPR}.3"
|
DOO_TASK_URL: "http://${APP_IPPR}.3"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user