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

Commit fd60109d authored by 胡佳晨's avatar 胡佳晨

order 项目 如果是pos机扫码出货,则 skuvo状态也改为4

parent 143a8a49
......@@ -825,6 +825,9 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
logVo.setStoreId(orderVo.getStoreId());
if (orderSkuVo.getSkuId().indexOf(GoblinStatusConst.MarketPreStatus.MARKET_PRE_ZHENGZAI.getValue()) > 0) {
logVo.setOrderType("zhengzai");
if (orderVo.getDeviceFrom().equals("micropay")) {
orderSkuVo.setStatus(GoblinStatusConst.Status.ORDER_STATUS_4.getValue());
}
} else {
logVo.setOrderType("order");
}
......@@ -840,7 +843,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
mongoUtils.insertGoblinOrderLogVo(logVo);
//mysql
sqlDataSku.add(new Object[]{
GoblinStatusConst.Status.ORDER_STATUS_2.getValue(), now,
orderSkuVo.getStatus(), now,
orderSkuVo.getOrderSkuId(), now, now
});
}
......
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