JavaSource/com/mandi/fendan/test/Test12.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
JavaSource/com/mandi/fendan/util/Contants.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
JavaSource/com/mandi/fendan/util/Contants_Prod.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
JavaSource/com/mandi/fendan/util/Contants_Test.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
JavaSource/com/mandi/fendan/test/Test12.java
@@ -5,6 +5,7 @@ import java.util.List; import java.util.Map; import com.mandi.webservice.service.impl.FdXSTDService; import net.sf.json.JSONArray; import org.apache.log4j.Logger; @@ -49,8 +50,13 @@ VehicleXSTDMapper vx=c.getBean(VehicleXSTDMapper.class); Fd_XSTDMXMapper mxpers=c.getBean(Fd_XSTDMXMapper.class); Fd_fhdqMapper dqper=c.getBean(Fd_fhdqMapper.class); FdXSTDService fdXSTDService = c.getBean(FdXSTDService.class); @Test public void TestKj () { fdXSTDService.sendToKjLed(null); } @Test public void test_ccr(){ List<Ncfhdq> l=this.dqper.getLikebydqNo("11"); JavaSource/com/mandi/fendan/util/Contants.java
@@ -1,74 +1,6 @@ package com.mandi.fendan.util; // æ£å¼ç¯å¢ åæµè¯ç¯å¢è¯·æ³¨æ public class Contants { public class Contants extends Contants_Test{ 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"; // éç¥ä¹çè£ è½¦çæ¥å£ public static String ms_DoScanUrl = yktLocalAdd + "/routine/app/notice/msScan.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.187:8080/APPService.asmx"; // ä¹çLED è£ è½¦ webservice public static String kj_zcLedUrl = "http://10.3.5.55:8088/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 = ""; } JavaSource/com/mandi/fendan/util/Contants_Prod.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,74 @@ package com.mandi.fendan.util; // æ£å¼ç¯å¢ åæµè¯ç¯å¢è¯·æ³¨æ public class Contants_Prod { 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"; // éç¥ä¹çè£ è½¦çæ¥å£ public static String ms_DoScanUrl = yktLocalAdd + "/routine/app/notice/msScan.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.187:8080/APPService.asmx"; // ä¹çLED è£ è½¦ webservice public static String kj_zcLedUrl = "http://10.3.5.55:8088/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 = ""; } JavaSource/com/mandi/fendan/util/Contants_Test.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,67 @@ package com.mandi.fendan.util; public class Contants_Test { 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://127.0.0.1:8080"; // "http://10.1.1.9:8088";//ä¸å¡éå¤ç½æµè¯å°å public static String msLedServiceAddr = "http://192.168.200.211:8077/APPService.asmx"; // ææABCåºLED public static String yr_zcLedUrl = "http://192.168.200.211:8077/APPService.asmx"; // ä¹çLED è£ è½¦ webservice public static String kj_zcLedUrl = "http://192.168.200.211:8077/APPService.asmx"; // ä¹çLED è£ è½¦ webservice public static String yr_scanCodeNoticeUrl = yktLocalAdd + "/routine/app/notice/scan.htm"; // éç¥ä¹çè£ è½¦çæ¥å£ åºå¼ public static String yr_canDoScanUrl = yktLocalAdd + "/routine/app/notice/canDoScan.htm"; // éç¥ä¹çè£ è½¦çæ¥å£ public static String ms_DoScanUrl = yktLocalAdd + "/routine/app/notice/msScan.htm"; // éç¥ä¹çè£ è½¦çæ¥å£ // public static String yktLocalAdd="http://125.46.81.106:8088";//ä¸å¡éå¤ç½æµè¯å°å //ååååncç³»ç»æµè¯å°åNCfdhx_url public static String NCfdhx_url = "http://10.0.13.20: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 = ""; }