Merged PR 832: 本番環境に対する移行データの投入後の修正
## 概要 [Task3580: 本番環境に対する移行データの投入後の修正](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3580) - メールアドレスの重複チェックについて、大文字小文字を区別せずに実行するように変換ツールを修正しました。 ## レビューポイント - メールアドレスチェックの対応箇所は適切でしょうか? ## UIの変更 - なし ## クエリの変更 - なし ## 動作確認状況 - 本番踏み台で確認 - 行った修正がデグレを発生させていないことを確認できるか - ツールのみの変更なので影響なし
This commit is contained in:
parent
071bd2b85e
commit
e96e8ea54a
@ -511,7 +511,7 @@ export class TransferService {
|
|||||||
// accountsFileLinesの行ループ
|
// accountsFileLinesの行ループ
|
||||||
accountsFileLines.forEach((account) => {
|
accountsFileLines.forEach((account) => {
|
||||||
const duplicateAdminMail = newAccountsFileLines.find(
|
const duplicateAdminMail = newAccountsFileLines.find(
|
||||||
(a) => a.adminMail === account.adminMail
|
(a) => a.adminMail.toLowerCase() === account.adminMail.toLowerCase() // メールアドレスは大文字小文字を区別しない
|
||||||
);
|
);
|
||||||
|
|
||||||
if (duplicateAdminMail) {
|
if (duplicateAdminMail) {
|
||||||
@ -531,7 +531,7 @@ export class TransferService {
|
|||||||
// usersFileLinesの行ループ
|
// usersFileLinesの行ループ
|
||||||
usersFileLines.forEach((user) => {
|
usersFileLines.forEach((user) => {
|
||||||
const duplicateUserEmail = newUsersFileLines.find(
|
const duplicateUserEmail = newUsersFileLines.find(
|
||||||
(u) => u.email === user.email
|
(u) => u.email.toLowerCase() === user.email.toLowerCase() // メールアドレスは大文字小文字を区別しない
|
||||||
);
|
);
|
||||||
|
|
||||||
if (duplicateUserEmail) {
|
if (duplicateUserEmail) {
|
||||||
@ -553,7 +553,7 @@ export class TransferService {
|
|||||||
}
|
}
|
||||||
// newAccountsFileLinesとの突合せ
|
// newAccountsFileLinesとの突合せ
|
||||||
const duplicateAdminUserEmail = newAccountsFileLines.find(
|
const duplicateAdminUserEmail = newAccountsFileLines.find(
|
||||||
(a) => a.adminMail === user.email
|
(a) => a.adminMail.toLowerCase() === user.email.toLowerCase() // メールアドレスは大文字小文字を区別しない
|
||||||
);
|
);
|
||||||
// 重複がある場合
|
// 重複がある場合
|
||||||
if (duplicateAdminUserEmail) {
|
if (duplicateAdminUserEmail) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user