Browse Source

更新

master
huangjiajun 6 months ago
parent
commit
70950eda65
4 changed files with 8 additions and 2 deletions
  1. +1
    -1
      go.mod
  2. +3
    -1
      go.sum
  3. +2
    -0
      rule/installment_payment/installment_payment.go
  4. +2
    -0
      rule/installment_payment/md/installment_payment_list.go

+ 1
- 1
go.mod View File

@@ -7,7 +7,7 @@ go 1.15


require ( require (
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.3 code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.3
code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240618104112-42ff22d419df
code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240619111913-4540786aa565
github.com/gin-gonic/gin v1.9.1 github.com/gin-gonic/gin v1.9.1
github.com/go-redis/redis v6.15.9+incompatible github.com/go-redis/redis v6.15.9+incompatible
github.com/gomodule/redigo v1.8.9 github.com/gomodule/redigo v1.8.9


+ 3
- 1
go.sum View File

@@ -2,8 +2,10 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.3 h1:SPp5AswPmkDO2ML6WwGlzhIuls+/1dUfU40iOeH0dh4= code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.3 h1:SPp5AswPmkDO2ML6WwGlzhIuls+/1dUfU40iOeH0dh4=
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.3/go.mod h1:TTcCnFn/LhBGapnutpezlW+GXkLRNPMWkziOoCsXQqY= code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.3/go.mod h1:TTcCnFn/LhBGapnutpezlW+GXkLRNPMWkziOoCsXQqY=
code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.3/go.mod h1:C8Cnjh+TKbSqhsbENGgVg17byUhsn6+SsSAEww0eBak=
code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240618104112-42ff22d419df h1:2rSTK/V4sEJWa1Rf+sc0nWixTbRThGsQs60cozAfU/w=
code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240618104112-42ff22d419df/go.mod h1:ssMD5Wh5IRmd06P4DSIWtKWwlfAIjfLSkK0Xp9ZyE00= code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240618104112-42ff22d419df/go.mod h1:ssMD5Wh5IRmd06P4DSIWtKWwlfAIjfLSkK0Xp9ZyE00=
code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240619111913-4540786aa565 h1:KLbCiwdd/STDY8MTV2Gaqayrzi9Ai43pZe8LfF3UUa8=
code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240619111913-4540786aa565/go.mod h1:ssMD5Wh5IRmd06P4DSIWtKWwlfAIjfLSkK0Xp9ZyE00=
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a h1:lSA0F4e9A2NcQSqGqTOXqu2aRi/XEQxDCBwM8yJtE6s= gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a h1:lSA0F4e9A2NcQSqGqTOXqu2aRi/XEQxDCBwM8yJtE6s=


+ 2
- 0
rule/installment_payment/installment_payment.go View File

@@ -42,6 +42,8 @@ func AddInstallmentPaymentList(engine *xorm.Engine, masterId string, args md.Add
GoodsId: args.GoodsId, GoodsId: args.GoodsId,
OrdId: args.OrdId, OrdId: args.OrdId,
TotalAmount: args.TotalAmount, TotalAmount: args.TotalAmount,
GoodsTitle: args.GoodsTitle,
GoodsImg: args.GoodsImg,
InstallmentNums: scheme.InstallmentNums, InstallmentNums: scheme.InstallmentNums,
AlreadyRepaidInstallmentNums: 0, AlreadyRepaidInstallmentNums: 0,
RepaymentAmountPerInstallment: repaymentAmountPerInstallment, RepaymentAmountPerInstallment: repaymentAmountPerInstallment,


+ 2
- 0
rule/installment_payment/md/installment_payment_list.go View File

@@ -7,6 +7,8 @@ type AddInstallmentPaymentListStruct struct {
OrdId int64 `json:"ord_id"` OrdId int64 `json:"ord_id"`
TotalAmount string `json:"total_amount"` //总金额 TotalAmount string `json:"total_amount"` //总金额
SchemeId int `json:"scheme_id"` //分期方案Id SchemeId int `json:"scheme_id"` //分期方案Id
GoodsTitle string `json:"goods_title"`
GoodsImg string `json:"goods_img"`
} }


type InstallmentPaymentManualRepaid struct { type InstallmentPaymentManualRepaid struct {


Loading…
Cancel
Save