This commit is contained in:
linfso 2024-08-21 13:16:38 +08:00
parent 75cc42a48a
commit c8a3441545
2 changed files with 7 additions and 7 deletions

View File

@ -185,10 +185,10 @@ public class EmisSettleInvoiceRecordServiceImpl extends EmisBaseService implemen
EmisSettleBill newBill = new EmisSettleBill();
newBill.setId(oldBill.getId());
if(oldBill.getRecMoney().compareTo(totalMoney)>=0) {
newBill.setOpenBillStatus("1");
}else{
if(oldBill.getRecMoney().compareTo(totalMoney)>0) {
newBill.setOpenBillStatus("2");
}else{
newBill.setOpenBillStatus("1");
}
// 更新账单开票状态

View File

@ -57,9 +57,9 @@ public class Kd100Helper {
postDataMap.put("sign", genDigest(mgsData, KEY, CUSTOMER)); // 数字签名
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");
// log.debug("===KD100==REST==>{}",allResult);
log.debug("===KD100==REST==>{}",allResult);
// try {
// // 订阅轨迹
@ -194,8 +194,8 @@ public class Kd100Helper {
// String str=queryTraceByMainNoAndCom("SF080300002588","shunfeng","1234");
// emisWaybillTransfer.getTransferDate()
// [顺丰速运 SF3126166442439] 发往 [无锡]
String str=pollTraceByMainNoAndCom("SF3126166442439","shunfeng","缅甸-莫比","中国-无锡","18070144003");
// String str=queryTraceByMainNoAndCom("T7080398716","","");
// String str=pollTraceByMainNoAndCom("SF3126166442439","shunfeng","缅甸-莫比","中国-无锡","18070144003");
String str=queryTraceByMainNoAndCom("SF3126166442439","shunfeng","18070144003");
System.out.println(str);
// List<EmisTmsScanRecord> list=cvtTraceToScanRecord("12321",str);
// System.out.println(JSON.toJSONString(list));