This commit is contained in:
zz 2021-09-15 18:01:42 +08:00
parent c837858be9
commit 24f55a7626

View File

@ -52,7 +52,8 @@ public class OrderDataLogic implements ServiceLogic {
Map<String, Object> cacheGun = REDIS.getCacheMap(gunkey);
cacheGun.put("orderstoptime", cacheOrderData.getEndTime());
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));
pileOrderService.pileEndOrder(orderNo);
return new ServiceResult(HexUtils.toBytes(resultStr), ServiceResult.OK);