test 추가

This commit is contained in:
2026-04-24 14:08:54 +09:00
parent b1bcabaf6c
commit 9095b1e7a7
18 changed files with 617 additions and 7 deletions

View File

@@ -0,0 +1,21 @@
package com.owrawww.migration;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
@Mapper
public interface DataMigrationMapper {
/** 미암호화 레코드 조회 (phone 길이 30자 이하 = 평문) */
List<Map<String, Object>> selectPlainRecords();
/** phone, tel_hash, email, email_hash 일괄 업데이트 */
int updateEncrypted(@Param("id") Long id,
@Param("phone") String phone,
@Param("telHash") String telHash,
@Param("email") String email,
@Param("emailHash") String emailHash);
}