修改交易订单编号数据类型和通讯条件时间间隔判断
diff --git a/supwisdom/sp_data.c b/supwisdom/sp_data.c
index 020b476..a6bad45 100644
--- a/supwisdom/sp_data.c
+++ b/supwisdom/sp_data.c
@@ -4,8 +4,8 @@
#include "sp_constant.h"
#include "sp_display.h"
-#define record_behalf_len 25
-#define record_below_len 7
+#define record_behalf_len 19
+#define record_below_len 13
//Ñ»·¼Ç¼ÿһ±ÊÁ÷Ë®¼Ç¼µÄµØÖ·
static uint16 sp_write_last_record(sp_pos_t* pos)
@@ -83,7 +83,7 @@
memcpy(record->devphyid, pos->devphyid, sizeof(pos->devphyid));
memcpy(record->transdate, ctime, 3);
memcpy(record->transtime, ctime+3, 3);
- memcpy(record->billno, card->billno, sizeof(card->billno));
+ record->cobillno = card->cobillno;
memcpy(record->cardphyid, card->cardphyid, sizeof(card->cardphyid));
if(pos->paymode == PAYMODE_QRCODE)
{