提交 | 用户 | 时间
|
58d006
|
1 |
package com.mandi.fendan.util; |
A |
2 |
|
f6c2f1
|
3 |
// 正式环境 和测试环境请注意 |
58d006
|
4 |
public class Contants { |
A |
5 |
|
|
6 |
public static int XSTDlastSearchday = 120;// 销售提单分单查询最后时间 120天 |
|
7 |
public static String cpxsBtNo = "businesstype00002";// 成品销售业务类型编号 |
|
8 |
|
|
9 |
public static String kjSdepartNo = "04";//科技厂区 |
|
10 |
public static String zzSdepartNo = "03";//郑州厂区 |
|
11 |
public static String msSdepartNo = "06";//明晟厂区 |
|
12 |
public static String yrSdepartNo = "08";//义瑞厂区 |
|
13 |
|
|
14 |
public static String nc_ywdy_ZZ = "102";//郑州nc业务单元编号 |
|
15 |
public static String nc_ywdy_KJ = "103";//科技nc业务单元编号 |
|
16 |
public static String nc_ywdy_MS = "111";//明晟nc业务单元编号 |
|
17 |
public static String nc_ywdy_YR = "114";//义瑞nc业务单元编号 |
|
18 |
public static String nc_ywdy_MT = "101";//明泰nc业务单元编号 |
|
19 |
|
|
20 |
public static int scale = 4;// 小数保留位数 |
|
21 |
//分单打印地址 |
|
22 |
public static String GYPrintAdd = "/WebReport/ReportServer?reportlet=print%2Fprint_fd_ncxstd.cpt"; |
|
23 |
public static String GJTDALLPrintAdd = "/WebReport/ReportServer?reportlet=print%2Fprint_fd_ncxstdall.cpt"; |
|
24 |
//nc发货单推送分单系统action值 |
|
25 |
public static String NcactionCode_add = "1020"; |
|
26 |
public static String NcactionCode_del = "1022"; |
f6c2f1
|
27 |
public static String NcactionCode_close = "1024"; // 关闭 |
58d006
|
28 |
public static String NcactionCode_open = "1026"; |
A |
29 |
|
|
30 |
// 分单系统推送一卡通系统地址 |
|
31 |
// public static String yktLocalAdd = "http://10.0.12.11:8080";// 一卡通内网地址 |
|
32 |
// 分单回写nc系统 |
|
33 |
// public static String NCfdhx_url = "http://10.0.12.17:9088/api/Domain/mtcesb/servlet/PubAPIServlet"; |
|
34 |
// // NC数据源名字 |
|
35 |
// public static String NCds_name = "design"; |
|
36 |
// public static String NCuser_code = "ykt"; |
|
37 |
// public static String NCmethod_name = "WriteDetail"; |
|
38 |
// public static String Ncgroup_code = "01"; |
|
39 |
// public static String NcNosend = "";// 102 |
|
40 |
|
|
41 |
|
|
42 |
//分单系统推送一卡通测试地址 |
f6c2f1
|
43 |
// public static String yktLocalAdd="http://10.0.12.9:8088";//一卡通外网测试地址 |
H |
44 |
// public static String yktLocalAdd="http://125.46.81.106:8088";//一卡通外网测试地址 |
|
45 |
// 正式 |
|
46 |
public static String yktLocalAdd = "http://10.0.12.11:8080"; |
63fbfd
|
47 |
|
a966b5
|
48 |
public static String yr_scanCodeNoticeUrl = yktLocalAdd + "/routine/app/notice/scan.htm"; // 通知义瑞装车的接口 |
H |
49 |
public static String yr_canDoScanUrl = yktLocalAdd + "/routine/app/notice/canDoScan.htm"; // 通知义瑞装车的接口 |
301115
|
50 |
public static String ms_DoScanUrl = yktLocalAdd + "/routine/app/notice/msScan.htm"; // 通知明晟装车的接口 |
f6c2f1
|
51 |
|
H |
52 |
//有可能变动的变量,切记不要写成final了,否则常量值编译到文件里面了;遇到一个final的问题,替换配置文件无效,很郁闷,原来是这里导致的问题;聪明反被聪明误; |
|
53 |
public static String msLedServiceAddr= "http://10.22.12.104:8080/APPService.asmx"; // 明晟装车 ABC区LED webservice |
301115
|
54 |
public static String yr_zcLedUrl = "http://10.4.12.187:8080/APPService.asmx"; // 义瑞LED 装车 webservice |
H |
55 |
public static String kj_zcLedUrl = "http://10.3.5.55:8088/APPService.asmx"; // 科技LED 装车 webservice |
bb48ed
|
56 |
|
f6c2f1
|
57 |
//分单回写nc系统测试地址 |
H |
58 |
// public static String NCfdhx_url = "http://10.0.13.20:9090/api/Domain/mtcesb/servlet/PubAPIServlet"; |
|
59 |
// 正式 |
|
60 |
public static String NCfdhx_url = "http://10.0.12.17:9088/api/Domain/mtcesb/servlet/PubAPIServlet"; |
58d006
|
61 |
|
A |
62 |
// 获取一卡通编号,分单表头推送一卡通,取消分单删除一卡通业务单信息,业务单发送短信, |
|
63 |
public static String YKTgetPrefix_url = yktLocalAdd+"/ws/api/prefix"; |
|
64 |
public static String YKTaddYwd_url = yktLocalAdd+"/ws/api/addywd"; |
|
65 |
public static String YKTdelYwd_url = yktLocalAdd+"/ws/api/delywd"; |
|
66 |
public static String YKTsendMsg_url = yktLocalAdd+"/ws/api/sendmsg"; |
|
67 |
|
|
68 |
public static String NCds_name = "design"; |
|
69 |
public static String NCuser_code = "sc"; |
|
70 |
public static String NCmethod_name = "WriteDetail"; |
|
71 |
public static String Ncgroup_code = "01"; |
|
72 |
public static String NcNosend = ""; |
|
73 |
|
|
74 |
} |