seqhex
This commit is contained in:
parent
c837858be9
commit
24f55a7626
@ -52,7 +52,8 @@ public class OrderDataLogic implements ServiceLogic {
|
|||||||
Map<String, Object> cacheGun = REDIS.getCacheMap(gunkey);
|
Map<String, Object> cacheGun = REDIS.getCacheMap(gunkey);
|
||||||
cacheGun.put("orderstoptime", cacheOrderData.getEndTime());
|
cacheGun.put("orderstoptime", cacheOrderData.getEndTime());
|
||||||
cacheGun.put("orderkey", null);
|
cacheGun.put("orderkey", null);
|
||||||
String resultStr = "6815".concat(req.get("seq").toString()).concat("0040").concat(orderNo).concat(ServiceResult.HEX_00);
|
String resultStr =
|
||||||
|
"6815".concat(req.get("seqhex").toString()).concat("0040").concat(orderNo).concat(ServiceResult.HEX_00);
|
||||||
resultStr = resultStr.concat(CRCCalculator.calcCrc(resultStr));
|
resultStr = resultStr.concat(CRCCalculator.calcCrc(resultStr));
|
||||||
pileOrderService.pileEndOrder(orderNo);
|
pileOrderService.pileEndOrder(orderNo);
|
||||||
return new ServiceResult(HexUtils.toBytes(resultStr), ServiceResult.OK);
|
return new ServiceResult(HexUtils.toBytes(resultStr), ServiceResult.OK);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user