package cokr.xit.fims.nxrp.service.bean;

import javax.annotation.Resource;

import org.junit.jupiter.api.Test;

import cokr.xit.foundation.test.TestSupport;
import cokr.xit.interfaces.sntris.prenotice.Bu18WebReturnInfoDTO;

public class SnisBeanTest extends TestSupport {
	@Resource(name = "snisBean")
	private SnisBean snisBean;

	@Test
	void update() {
		String str = """
{
	"buAfk": "1600090184",
	"enapbuNo": "1111023025500003463",
	"etcColmn1": "",
	"etcColmn2": "",
	"etcColmn3": "",
	"etcColmn4": "",
	"etcColmn5": "",
	"noticeAk": "1921813",
	"returnCode": "0",
	"returnMsg": "정상처리 되었습니다.",
	"paccountNo": "911004-80-021014",
	"qaccountNo": "700-0200-062-2785",
	"saccountNo": "562-050-02542555",
	"success": true,
	"waccountNo": "100-103415-65-254",
	"taccountNo": "171-50-030920-5",
	"kaccountNo": "4114-92-0268491-3",
	"oaccountNo": "9102-00-0622796",
	"naccountNo": "790-0748-5755-311",
	"caccountNo": "433-00845-92-8-65",
	"faccountNo": "085-40-000649719",
	"haccountNo": "120-812796-87237",
	"iaccountNo": "601-002684-97-915"
}""";
		Bu18WebReturnInfoDTO obj = json.parse(str, Bu18WebReturnInfoDTO.class);
		System.out.println(json.stringify(obj, true));
	}
}