package com.mandi.fendan.util; // 正式环境 和测试环境请注意 public class Contants { public static int XSTDlastSearchday = 120;// 销售提单分单查询最后时间 120天 public static String cpxsBtNo = "businesstype00002";// 成品销售业务类型编号 public static String kjSdepartNo = "04";//科技厂区 public static String zzSdepartNo = "03";//郑州厂区 public static String msSdepartNo = "06";//明晟厂区 public static String yrSdepartNo = "08";//义瑞厂区 public static String nc_ywdy_ZZ = "102";//郑州nc业务单元编号 public static String nc_ywdy_KJ = "103";//科技nc业务单元编号 public static String nc_ywdy_MS = "111";//明晟nc业务单元编号 public static String nc_ywdy_YR = "114";//义瑞nc业务单元编号 public static String nc_ywdy_MT = "101";//明泰nc业务单元编号 public static int scale = 4;// 小数保留位数 //分单打印地址 public static String GYPrintAdd = "/WebReport/ReportServer?reportlet=print%2Fprint_fd_ncxstd.cpt"; public static String GJTDALLPrintAdd = "/WebReport/ReportServer?reportlet=print%2Fprint_fd_ncxstdall.cpt"; //nc发货单推送分单系统action值 public static String NcactionCode_add = "1020"; public static String NcactionCode_del = "1022"; public static String NcactionCode_close = "1024"; // 关闭 public static String NcactionCode_open = "1026"; // 分单系统推送一卡通系统地址 // public static String yktLocalAdd = "http://10.0.12.11:8080";// 一卡通内网地址 // 分单回写nc系统 // public static String NCfdhx_url = "http://10.0.12.17:9088/api/Domain/mtcesb/servlet/PubAPIServlet"; // // NC数据源名字 // public static String NCds_name = "design"; // public static String NCuser_code = "ykt"; // public static String NCmethod_name = "WriteDetail"; // public static String Ncgroup_code = "01"; // public static String NcNosend = "";// 102 //分单系统推送一卡通测试地址 // public static String yktLocalAdd="http://10.0.12.9:8088";//一卡通外网测试地址 // public static String yktLocalAdd="http://125.46.81.106:8088";//一卡通外网测试地址 // 正式 public static String yktLocalAdd = "http://10.0.12.11:8080"; public static String yr_scanCodeNoticeUrl = yktLocalAdd + "/routine/app/notice/scan.htm"; // 通知义瑞装车的接口 public static String yr_canDoScanUrl = yktLocalAdd + "/routine/app/notice/canDoScan.htm"; // 通知义瑞装车的接口 //有可能变动的变量,切记不要写成final了,否则常量值编译到文件里面了;遇到一个final的问题,替换配置文件无效,很郁闷,原来是这里导致的问题;聪明反被聪明误; public static String msLedServiceAddr= "http://10.22.12.104:8080/APPService.asmx"; // 明晟装车 ABC区LED webservice public static String yr_zcLedUrl = "http://10.4.12.97:8080/APPService.asmx"; // 义瑞LED 装车 webservice //分单回写nc系统测试地址 // public static String NCfdhx_url = "http://10.0.13.20:9090/api/Domain/mtcesb/servlet/PubAPIServlet"; // 正式 public static String NCfdhx_url = "http://10.0.12.17:9088/api/Domain/mtcesb/servlet/PubAPIServlet"; // 获取一卡通编号,分单表头推送一卡通,取消分单删除一卡通业务单信息,业务单发送短信, public static String YKTgetPrefix_url = yktLocalAdd+"/ws/api/prefix"; public static String YKTaddYwd_url = yktLocalAdd+"/ws/api/addywd"; public static String YKTdelYwd_url = yktLocalAdd+"/ws/api/delywd"; public static String YKTsendMsg_url = yktLocalAdd+"/ws/api/sendmsg"; public static String NCds_name = "design"; public static String NCuser_code = "sc"; public static String NCmethod_name = "WriteDetail"; public static String Ncgroup_code = "01"; public static String NcNosend = ""; }