機能改善 #4563

リリース #4527: クラウド版2024 年 6月release (RC-LS, CheckEye DX)

学習データ移行時の既存データ除去機能

裵 相洹이(가) 약 1년 전에 추가함. 약 1년 전에 수정됨.

상태:終了시작시간:2024/05/30
우선순위:通常완료기한:2024/06/07
담당자:裵 相洹진척도:

100%

범주:-소요 시간:-
목표버전:-
システム:RC-LS クラウド

설명

学習データの移行時に既存のデータ削除機能を追加します。(6月Release(6/14)に含む)

状況 - 
間違った学習データファイルを移行後、 
正常(05月07日バージョン)プログラムにファイルに移行すると、既存のデータが削除されず、アップデートだけが実行されるようになっています。

このため、正常なデータ移行が信頼できないため、 
既存のデータの場合は削除するようにします。 

1. dt_type ='2' で、(cre_user = 'migration' or mod_user = 'migration') の場合は削除処理。 
2. dt_type='1'で、cre_userが'migration'で、mod_userが'null'の場合は削除するようにします。 
3. cre_userが'migration'で、mod_userが'migration'の場合は削除するようにします。 

その他、ChkData.csv以外のファイルの場合も、同様に「user」が「migration」の場合は、事前削除処理を追加するようにします。

-------------------------------------------------------------------------------------------------------------------------

학습데이터 이행시 기존 데이터 제거 기능을 추가합니다.

이전 상황 - 
잘못된 학습데터 파일을 이행 한 경우, 
정상(05월07일 버전) 프로그램으로 다운 로드한 파일로 이행하면 , 기존 데이터가 제거되지 않고, 업데이트만 수행되도록 되어 있습니다.

이 때문에 정상적인 데이터 이행을 신뢰할 수 없으므로, 
기존 데이터의 경우는 제거하도록 합니다. 

1. dt_type ='2' 이고,   ( cre_user = 'migration' or mod_user = 'migration' ) 일 경우, 삭제 처리. 
2. dt_type ='1' 이고, cre_user 가 'migration' 이고, mod_user 가 'null' 일 경우 삭제 하도록 합니다. 
3. cre_user 가 'migration' 이고, mod_user 가 'migration' 일 경우 삭제 하도록 합니다. 

그외 ChkData.csv 이외 파일의 경우도, 동일하게  'user' 가 'migration' 일 경우, 사전 삭제 처리를 추가하도록 합니다. 

-------------------------------------------------------------------------------------------------------------------------

 

이력

#1 裵 相洹이(가) 약 1년 전에 변경

-- 삭제 대상 찾기

---

select *--distinct cre_user, cre_dttm, upd_user, upd_dttm

from mtf1100m

where cstm_id = 'R244010003'

and dt_type ='2'

;

-- delete from mtf1100m where cstm_id = 'R244010003' and dt_type ='2'

;

select * --distinct cre_user, cre_dttm, upd_user, upd_dttm

from mtf1100m

where cstm_id = 'R244010003'

and dt_type ='1'

and cre_user = 'migration'

;

-- delete from mtf1100m where cstm_id = 'R244010003' and dt_type ='1' and cre_user = 'migration'

;

select * --distinct cre_user, cre_dttm, upd_user, upd_dttm

from mtf1100m

where cstm_id = 'R244010003'

and dt_type ='1'

and upd_user = 'migration'

;

--delete from mtf1100m where cstm_id = 'R244010003' and dt_type ='1'and upd_user = 'migration'

;

commit ;

/* sinsa */

select *

from mtf1200m

where cstm_id = 'R244010003'

;

--delete from mtf1200m where cstm_id = 'R244010003'

;

/* sinsa */

select *

from mtf1300m

where cstm_id = 'R244010003' ;

 

--delete from mtf1300m where cstm_id = 'R244010003' ;

commit ;

#2 裵 相洹이(가) 약 1년 전에 변경

  • 상태을(를) 進行中에서 終了(으)로 변경되었습니다.
  • 진척도을(를) 0에서 100(으)로 변경되었습니다.

(1) 既存データの削除
初期化1、アップデータユーザーが「マイグレーション」である情報を優先的に削除。
初期化2、最初の登録ユーザーが「マイグレーション」で、アップデータユーザーがいない場合は削除。
(2) validationチェックの追加(chkstring、dt_typeがない場合は登録せず、画面にlog表示するようにする)

(1) 기존 데이터 삭제
초기화 1, 업데이터 사용자가 "마이그레이션"인 정보를 우선적으로 삭제.
초기화 2, 최초 등록 사용자가 "마이그레이션"으로, 업데이터 사용자가 없는 경우는 삭제.
(2) validation 체크 추가(chkstring, dt_type이 없는 경우 등록하지 않고 화면에 log 표시하도록 한다)

내보내기 Atom PDF

클립보드 이미지 추가 (최대 크기: 50 MB)