• 2024-06-11微信小程序支付、接单、取消订单和拒单都没在后端接收到参数,可能原因:
    原因是:支付要用到微信的接口weChatPayUtil进行pay操作接单、取消订单和拒单后,将进行退款,也要用到微信的接口weChatPayUtil退款//付款payJSONObjectjsonObject=weChatPayUtil.pay(ordersPaymentDTO.getOrderNumber(),//商户订单号newBigDecimal(0.01)
  • 2024-04-29mysql按季度统计数量金额
    需求:oms_order-订单表:order_code-订单号,sales_time-销售时间oms_order_shopify_refund-订单退款表:order_code-订单号,refund_time-退款时间oms_order_product:order_code-订单号,seller_sku-商品编码,buy_quantity-售出数量,refund_quantity-退货数量查询订单时间按季度统计售出数量,并
  • 2024-03-22mysql用视图union多表
    订单表xfc_orderDROPTABLEIFEXISTS`xfc_order`;CREATETABLE`xfc_order`(`order_id`int(11)unsignedNOTNULLAUTO_INCREMENT,`order_code`varchar(32)NOTNULLCOMMENT'订单号',`pay_time`int(11)unsignedNOTNULLCOMMENT'付款时间',
  • 2024-01-13thinkphp 便捷关联简写
    /**   *关联会员表   */   publicfunctionmember(){return$this->hasOne(Member::class,'member_id','member_id');}关联写法/***详情*@paramint$order_id*@returnarray*/publicfunc
  • 2023-09-2620230925
    //charge,designate,duration,duty,gross,guarantee,invoice,net,penalty,refund,specification,statement,stipulation,supplier,tare,billofladingcharge-费用Ingeneral,achargereferstotheamountofmoneythatisrequiredtobepaidforap
  • 2023-09-22Django 聚合查询中 加减操作
    查询订单的定金+支付金额-支付金额错误写法Order.objects.aggregate(sum=Sum(F('final_amt')+F('deposit_amt')-F('refund_amt'))))正确的信息Order.objects.aggregate(sum=Sum(('final_amt')+Sum('
  • 2023-08-08从零玩转系列之微信支付实战PC端支付微信退款接口搭建 | 技术创作特训营第一期
    一、前言从零玩转系列之微信支付实战PC端支付微信退款接口搭建|技术创作特训营第一期继前文章取消订单接口和查询订单接口此篇为申请退款流程,此篇文章过长我将分几个阶段的文章发布(项目源码都有,小程序和PC端)在此之前已经更新了微信支付开篇、微信支付安全、微信实战基础
  • 2023-06-05Json解析字符串报错syntax error, expect {, actual string, pos 0, fastjson-version 1.2.62解决
    ExpectedBEGIN_OBJECTbutwasSTRINGatline1column2path$syntaxerror,expect{,actualstring,pos0,fastjson-version1.2.62syntaxerror,expect{,actualstring,pos0,fastjson-version1.2.62以上的报错都是Json字符串格式错误,比如缺少{},比如两头多了
  • 2023-01-13sql语句总结
    1、优秀sql语句:SELECT r.refund_code退单编号, r.order_code订单编号, g.product_full_name_cn商品名称, g.product_variant_code商品编码, CASE WHENlength(g.pro
  • 2022-08-30解决:AttributeError: 'GovernmentApiClient' object has no attribute 're_fund'
    代码如下:1classGovernmentApiClient:23defrefund(self):4print('123456')5'''退款返销'''6body={7"t