|
|
|
|
@ -340,13 +340,14 @@ public class NisIndivBean extends AbstractBean {
|
|
|
|
|
|
|
|
|
|
public List<DataObject> makeRandomJeju01Targets(int dataCnt){
|
|
|
|
|
List<DataObject> result = new ArrayList<>();
|
|
|
|
|
int MAX_YEAR = 9999;
|
|
|
|
|
|
|
|
|
|
for(int i=0;i<dataCnt;i++) {
|
|
|
|
|
DataObject tagets = new DataObject();
|
|
|
|
|
//APRV_ID
|
|
|
|
|
LocalDateTime now = LocalDateTime.now();
|
|
|
|
|
String hms = now.format(DateTimeFormatter.ofPattern("HHmmss"));
|
|
|
|
|
tagets.put("APRV_ID", "9999"+hms);
|
|
|
|
|
tagets.put("APRV_ID", Integer.toString(MAX_YEAR - i)+hms);
|
|
|
|
|
|
|
|
|
|
//랜덤
|
|
|
|
|
tagets.put("VHRNO", shuffleAndGet(Arrays.asList("11가1111", "22가2222", "33가3333")));
|
|
|
|
|
|