md
This commit is contained in:
parent
75cc42a48a
commit
c8a3441545
@ -185,10 +185,10 @@ public class EmisSettleInvoiceRecordServiceImpl extends EmisBaseService implemen
|
|||||||
EmisSettleBill newBill = new EmisSettleBill();
|
EmisSettleBill newBill = new EmisSettleBill();
|
||||||
newBill.setId(oldBill.getId());
|
newBill.setId(oldBill.getId());
|
||||||
|
|
||||||
if(oldBill.getRecMoney().compareTo(totalMoney)>=0) {
|
if(oldBill.getRecMoney().compareTo(totalMoney)>0) {
|
||||||
newBill.setOpenBillStatus("1");
|
|
||||||
}else{
|
|
||||||
newBill.setOpenBillStatus("2");
|
newBill.setOpenBillStatus("2");
|
||||||
|
}else{
|
||||||
|
newBill.setOpenBillStatus("1");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 更新账单开票状态
|
// 更新账单开票状态
|
||||||
|
|||||||
@ -57,9 +57,9 @@ public class Kd100Helper {
|
|||||||
postDataMap.put("sign", genDigest(mgsData, KEY, CUSTOMER)); // 数字签名
|
postDataMap.put("sign", genDigest(mgsData, KEY, CUSTOMER)); // 数字签名
|
||||||
postDataMap.put("param", mgsData);
|
postDataMap.put("param", mgsData);
|
||||||
|
|
||||||
// log.debug("===KD100==POST==>{}",JSON.toJSONString(postDataMap));
|
log.debug("===KD100==POST==>{}",JSON.toJSONString(postDataMap));
|
||||||
String allResult=HTTPHelperV3.post(POLL_QUERY_URL,postDataMap,"application/x-www-form-urlencoded");
|
String allResult=HTTPHelperV3.post(POLL_QUERY_URL,postDataMap,"application/x-www-form-urlencoded");
|
||||||
// log.debug("===KD100==REST==>{}",allResult);
|
log.debug("===KD100==REST==>{}",allResult);
|
||||||
|
|
||||||
// try {
|
// try {
|
||||||
// // 订阅轨迹
|
// // 订阅轨迹
|
||||||
@ -194,8 +194,8 @@ public class Kd100Helper {
|
|||||||
// String str=queryTraceByMainNoAndCom("SF080300002588","shunfeng","1234");
|
// String str=queryTraceByMainNoAndCom("SF080300002588","shunfeng","1234");
|
||||||
// emisWaybillTransfer.getTransferDate()
|
// emisWaybillTransfer.getTransferDate()
|
||||||
// [顺丰速运 SF3126166442439] 发往 [无锡]
|
// [顺丰速运 SF3126166442439] 发往 [无锡]
|
||||||
String str=pollTraceByMainNoAndCom("SF3126166442439","shunfeng","缅甸-莫比","中国-无锡","18070144003");
|
// String str=pollTraceByMainNoAndCom("SF3126166442439","shunfeng","缅甸-莫比","中国-无锡","18070144003");
|
||||||
// String str=queryTraceByMainNoAndCom("T7080398716","","");
|
String str=queryTraceByMainNoAndCom("SF3126166442439","shunfeng","18070144003");
|
||||||
System.out.println(str);
|
System.out.println(str);
|
||||||
// List<EmisTmsScanRecord> list=cvtTraceToScanRecord("12321",str);
|
// List<EmisTmsScanRecord> list=cvtTraceToScanRecord("12321",str);
|
||||||
// System.out.println(JSON.toJSONString(list));
|
// System.out.println(JSON.toJSONString(list));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user