diff --git a/business/jxstore/event/event_tcp_utils.go b/business/jxstore/event/event_tcp_utils.go index 57cacf4c8..701ecb15a 100644 --- a/business/jxstore/event/event_tcp_utils.go +++ b/business/jxstore/event/event_tcp_utils.go @@ -566,8 +566,8 @@ func int2h8l8(i int64) (h, l string) { } begin8 := origin2[:8] end8 := origin2[8:] - r1, _ := strconv.ParseInt(begin8, 2, 32) - r2, _ := strconv.ParseInt(end8, 2, 32) + r1, _ := strconv.ParseInt(begin8, 2, 64) + r2, _ := strconv.ParseInt(end8, 2, 64) h = fmt.Sprintf("%x", r1) l = fmt.Sprintf("%x", r2) if len(h) < 2 { diff --git a/business/jxstore/event/print_test.go b/business/jxstore/event/print_test.go index 40a7fd605..3498f114b 100644 --- a/business/jxstore/event/print_test.go +++ b/business/jxstore/event/print_test.go @@ -17,7 +17,7 @@ func TestPrintMsg(t *testing.T) { ModelIDCULD: model.ModelIDCULD{}, PrintNo: "20220707000002", Content: "6162", - OrderNo: "1", + OrderNo: "9999999991", // 2147483648111 Status: 0, Comment: "", MsgID: "1",