修改订单付款数据统计
This commit is contained in:
@@ -1060,6 +1060,13 @@ public class PayService {
|
|||||||
flow.setCreateTime(new Date());
|
flow.setCreateTime(new Date());
|
||||||
tbShopUserFlowMapper.insert(flow);
|
tbShopUserFlowMapper.insert(flow);
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject jsonObject = new JSONObject();
|
||||||
|
jsonObject.put("shopId", memberIn.getShopId());
|
||||||
|
jsonObject.put("type", "wxMemberIn");
|
||||||
|
jsonObject.put("amount",memberIn.getAmount());
|
||||||
|
producer.putOrderCollect(jsonObject.toJSONString());
|
||||||
|
|
||||||
}
|
}
|
||||||
return "success";
|
return "success";
|
||||||
}
|
}
|
||||||
@@ -1130,8 +1137,14 @@ public class PayService {
|
|||||||
flow.setBalance(tbShopUser.getAmount());
|
flow.setBalance(tbShopUser.getAmount());
|
||||||
flow.setCreateTime(new Date());
|
flow.setCreateTime(new Date());
|
||||||
tbShopUserFlowMapper.insert(flow);
|
tbShopUserFlowMapper.insert(flow);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject jsonObject = new JSONObject();
|
||||||
|
jsonObject.put("shopId", memberIn.getShopId());
|
||||||
|
jsonObject.put("type", "wxMemberIn");
|
||||||
|
jsonObject.put("amount",memberIn.getAmount());
|
||||||
|
producer.putOrderCollect(jsonObject.toJSONString());
|
||||||
return "SUCCESS";
|
return "SUCCESS";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user