记得上下班打卡 | git大法好,push需谨慎

Commit 7083d273 authored by jiangxiulong's avatar jiangxiulong

error

parent 28f588df
......@@ -287,20 +287,20 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
List<String> ids = performanceExpressSearchAdminParam.getIds();
Integer[] expressStatus = {KylinTableStatusConst.ORDER_EXPRESS_STATUS1, KylinTableStatusConst.ORDER_EXPRESS_STATUS3};
for (String orderTicketsId : ids) {
log.debug("id {}", orderTicketsId);
log.error("id {}", orderTicketsId);
KylinOrderExpress orderExpressInfo = kylinOrderExpressMapper.selectOne(
new QueryWrapper<KylinOrderExpress>().eq("order_tickets_id", orderTicketsId)
.notIn("express_status", expressStatus)
);
if (null != orderExpressInfo) {
log.debug("orderExpressInfo {}", "true");
log.error("orderExpressInfo {}", "true");
Map<String, String> hBody = new HashMap<>();
hBody.put("orderId", orderExpressInfo.getOrderExpressCode());
// 生成签名并请求
String result = shunfengSignUtils.generateSignatureAndRequestNew(hBody, "/public/order/v1/cancelOrder");
HashMap hashMap = JsonUtils.fromJson(result, HashMap.class);
log.debug("result {}", result);
log.error("result {}", result);
if (hashMap.get("succ").equals("fail")) {
String msg = (String) hashMap.get("msg");
return ResponseDto.failure(msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment