cms 데몬

brkr 5000 - 던킨용으로 수정
This commit is contained in:
asinayo 2019-07-08 00:17:02 +09:00
parent 6453e0bb1e
commit f86965d923
3 changed files with 45 additions and 14 deletions

View File

@ -501,7 +501,7 @@ public static void copyFileCommonsIO(String source, String dest) throws IOExcept
String today = sdf.format(calendar.getTime());
try {
connect("PCKR");
connect("BRKR");
//SEL_CALENDAR_DATE
sql.put(findQuery("nhssysinq-sql", "SEL_CALENDAR_DATE"));
sql.setString(++i, cmp_cd);
@ -582,7 +582,7 @@ public static void copyFileCommonsIO(String source, String dest) throws IOExcept
int i = 0;
try {
connect("PCKR");
connect("BRKR");
sql.put(findQuery("pos-sql", "SEL_SALESORG_LST"));
sql.setString(++i, cmp_cd);
@ -607,7 +607,7 @@ public static void copyFileCommonsIO(String source, String dest) throws IOExcept
int i = 0;
try {
connect("PCKR");
connect("BRKR");
//logger.info("[SQL file div ] " + File_div);
// 파일명 관리 테이블 파일명 그대로 select
if ("03".equals(File_div)){ // customer file
@ -689,7 +689,7 @@ public static void copyFileCommonsIO(String source, String dest) throws IOExcept
try {
begin();
connect("PCKR");
connect("BRKR");
sql = new SqlWrapper();
Calendar calendar = new GregorianCalendar(Locale.KOREA);
@ -807,7 +807,7 @@ public static void copyFileCommonsIO(String source, String dest) throws IOExcept
int i = 0;
try {
connect("PCKR");
connect("BRKR");
//begin();
if("03".equals(file_div.toString()) ){ //customer image

View File

@ -151,15 +151,23 @@ public class FileAgentPollingAction extends PollingAction {
//file div 11: item 12: optn 13: CATE 14 :cate 15: screen 16: present 17: PRD_TAG 18: LOGO
makeItemImageCreate("PCKR","002",deploy_dt,"ITEM","ITEM",ls,hm,"11");
makeItemImageCreate("PCKR","002",deploy_dt,"OPTN","OPTN",ls,hm,"12");
makeItemImageCreate("PCKR","002",deploy_dt,"CAMPN","CAMPN",ls,hm,"13");
makeItemImageCreate("PCKR","002",deploy_dt,"CATE","CATE",ls,hm,"14");
makeItemImageCreate("PCKR","002",deploy_dt,"SCREEN","SCREEN",ls,hm,"15");
makeItemImageCreate("PCKR","002",deploy_dt,"PRESENT","PRESENT",ls,hm,"16");
makeItemImageCreate("PCKR","002",deploy_dt,"TAG","TAG",ls,hm,"17");
makeItemImageCreate("PCKR","002",deploy_dt,"LOGO","LOGO",ls,hm,"18");
// makeItemImageCreate("PCKR","002",deploy_dt,"ITEM","ITEM",ls,hm,"11");
// makeItemImageCreate("PCKR","002",deploy_dt,"OPTN","OPTN",ls,hm,"12");
// makeItemImageCreate("PCKR","002",deploy_dt,"CAMPN","CAMPN",ls,hm,"13");
// makeItemImageCreate("PCKR","002",deploy_dt,"CATE","CATE",ls,hm,"14");
// makeItemImageCreate("PCKR","002",deploy_dt,"SCREEN","SCREEN",ls,hm,"15");
// makeItemImageCreate("PCKR","002",deploy_dt,"PRESENT","PRESENT",ls,hm,"16");
// makeItemImageCreate("PCKR","002",deploy_dt,"TAG","TAG",ls,hm,"17");
// makeItemImageCreate("PCKR","002",deploy_dt,"LOGO","LOGO",ls,hm,"18");
makeItemImageCreate("BRKR","5000",deploy_dt,"ITEM","ITEM",ls,hm,"11");
makeItemImageCreate("BRKR","5000",deploy_dt,"OPTN","OPTN",ls,hm,"12");
makeItemImageCreate("BRKR","5000",deploy_dt,"CAMPN","CAMPN",ls,hm,"13");
makeItemImageCreate("BRKR","5000",deploy_dt,"CATE","CATE",ls,hm,"14");
makeItemImageCreate("BRKR","5000",deploy_dt,"SCREEN","SCREEN",ls,hm,"15");
makeItemImageCreate("BRKR","5000",deploy_dt,"PRESENT","PRESENT",ls,hm,"16");
makeItemImageCreate("BRKR","5000",deploy_dt,"TAG","TAG",ls,hm,"17");
makeItemImageCreate("BRKR","5000",deploy_dt,"LOGO","LOGO",ls,hm,"18");
//makeOptnImageCreate("PCKR","OPTN",hm); //부가옵션이미지

View File

@ -170,6 +170,29 @@
<validation-query>SELECT SYSDATE FROM DUAL</validation-query>
</dbcp>
</database>
<database name="BRKR" >
<dbcp>
<default-auto-commit>false</default-auto-commit>
<default-transaction-isolation>
TRANSACTION_READ_COMMITED
</default-transaction-isolation>
<driver-class>
oracle.jdbc.driver.OracleDriver
</driver-class>
<initial-size>1</initial-size>
<log-abandoned>true</log-abandoned>
<max-active>50</max-active>
<max-idle>45</max-idle>
<max-wait>10000</max-wait>
<min-idle>10</min-idle>
<url>jdbc:oracle:thin:@10.0.50.147:1521:spcdev01</url>
<user>sbp</user>
<password>sbp</password>
<remove-abandoned>true</remove-abandoned>
<remove-abandoned-timeout>0</remove-abandoned-timeout>
<validation-query>SELECT SYSDATE FROM DUAL</validation-query>
</dbcp>
</database>
</model>