# 이슈처리

163 그룹1,2 소속부서 인원 추가 후 1에서 삭제시 2에서 삭제되지 않음
This commit is contained in:
leejinho 2020-01-23 14:45:21 +09:00
parent fcc17a3d45
commit 507d0249f8

View File

@ -9,7 +9,8 @@ import {
map, map,
withLatestFrom, withLatestFrom,
switchMap, switchMap,
tap tap,
concatMap
} from 'rxjs/operators'; } from 'rxjs/operators';
import { Store, select } from '@ngrx/store'; import { Store, select } from '@ngrx/store';
@ -163,7 +164,7 @@ export class Effects {
tap(() => { tap(() => {
groupList = []; groupList = [];
}), }),
exhaustMap(req => { concatMap(req => {
return this.syncProtocolService.group2(req).pipe( return this.syncProtocolService.group2(req).pipe(
map(res => { map(res => {
switch (res.SSVC_TYPE) { switch (res.SSVC_TYPE) {
@ -1082,7 +1083,7 @@ export class Effects {
select((state: any) => state.messenger.sync.group2.syncDate as string) select((state: any) => state.messenger.sync.group2.syncDate as string)
) )
), ),
exhaustMap(([req, syncDate]) => concatMap(([req, syncDate]) =>
this.groupProtocolService.update2(req).pipe( this.groupProtocolService.update2(req).pipe(
map((res: GroupUpdateResponse) => { map((res: GroupUpdateResponse) => {
return group2({ return group2({