후불제 정산처리 스케줄러 테스트용 컨트롤러 생성
This commit is contained in:
parent
79cd62e56b
commit
96a6ae2b0b
@ -3,11 +3,8 @@ package itn.let.mjo.test.web;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.math.BigDecimal;
|
||||
import java.math.RoundingMode;
|
||||
import java.net.URLEncoder;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
@ -23,7 +20,6 @@ import java.util.Map;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.imageio.ImageIO;
|
||||
import javax.mail.internet.ContentDisposition;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.servlet.http.HttpSession;
|
||||
@ -36,7 +32,6 @@ import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.core.env.SystemEnvironmentPropertySource;
|
||||
import org.springframework.core.io.ByteArrayResource;
|
||||
import org.springframework.core.io.FileSystemResource;
|
||||
import org.springframework.http.HttpEntity;
|
||||
@ -224,6 +219,10 @@ public class TestController {
|
||||
@Resource(name = "mberGrdService")
|
||||
MberGrdService mberGrdService;
|
||||
|
||||
/** 후불제 자동 충전 서비스 */
|
||||
@Resource (name = "userManageService")
|
||||
private EgovUserManageService egovUserManageService;
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(TestController.class);
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
@ -3276,4 +3275,20 @@ public class TestController {
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping(value="/web/mjon/test/insertAfterPayCashChargeSchedulerAjax.do")
|
||||
public void testAfterPayCashCharge() throws Exception{
|
||||
|
||||
System.out.println("=================================testAfterPayCashCharge Start==========================================");
|
||||
|
||||
try {
|
||||
|
||||
egovUserManageService.updateUserCashByAutoCash();
|
||||
|
||||
} catch (Exception e) {
|
||||
System.out.println("++++++++++++++ testAfterPayCashCharge Error!!! "+e);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user