Zin 에서 프로시저 스펙(SP_WAT_DEPLOYDATA_CRT_VER2) 변경으로 인해 SALES_ORG_CD 추가

This commit is contained in:
snoop 2019-07-08 18:23:55 +09:00
parent 75387bd286
commit 06eb78cb54
2 changed files with 3 additions and 1 deletions

View File

@ -290,9 +290,10 @@ public static void copyFileCommonsIO(String source, String dest) throws IOExcept
logger.info("[DEBUG] [procMSTINFOCRT] Begin"); logger.info("[DEBUG] [procMSTINFOCRT] Begin");
proc.put("SP_WAT_DEPLOYDATA_CRT_VER2", 8); proc.put("SP_WAT_DEPLOYDATA_CRT_VER2", 8);
//proc.put("SP_WAT_DEPLOYDATA_CRT", 8); //proc.put("SP_WAT_DEPLOYDATA_CRT", 8);
//IN_SALES_ORG_CD 추가해라
proc.setString(++i, (String)map.get("SALE_DT")); // tran_ymd proc.setString(++i, (String)map.get("SALE_DT")); // tran_ymd
proc.setString(++i, (String)map.get("CMP_CD")); // com_cd proc.setString(++i, (String)map.get("CMP_CD")); // com_cd
proc.setString(++i, (String)map.get("SALES_ORG_CD")); // salesorg CD
proc.setString(++i, (String)map.get("FILE_NM")); // FILE_NM proc.setString(++i, (String)map.get("FILE_NM")); // FILE_NM
proc.setString(++i, (String)map.get("STOR_CD")); // store_cd proc.setString(++i, (String)map.get("STOR_CD")); // store_cd
proc.setString(++i, (String)map.get("FILE_PATH")); // FILE_PATH proc.setString(++i, (String)map.get("FILE_PATH")); // FILE_PATH

View File

@ -353,6 +353,7 @@ public class FileAgentPollingAction extends PollingAction {
Map mapFile = new HashMap(); Map mapFile = new HashMap();
mapFile.put("SALE_DT", deploy_dt); mapFile.put("SALE_DT", deploy_dt);
mapFile.put("CMP_CD", cmp_cd); mapFile.put("CMP_CD", cmp_cd);
mapFile.put("SALES_ORG_CD", sales_org_cd);
mapFile.put("FILE_NM", fileName); mapFile.put("FILE_NM", fileName);
mapFile.put("STOR_CD", ""); mapFile.put("STOR_CD", "");
mapFile.put("FILE_PATH",uploadPath); mapFile.put("FILE_PATH",uploadPath);