Browse Source

查询我的履约增加出参

zhou.xiaoning 3 years ago
parent
commit
7cb49e2e5a
4 changed files with 14 additions and 0 deletions
  1. 4 0
      docs/docs.go
  2. 4 0
      docs/swagger.json
  3. 3 0
      docs/swagger.yaml
  4. 3 0
      models/guangzuan.go

+ 4 - 0
docs/docs.go

@@ -31247,6 +31247,10 @@ const docTemplate = `{
                     "description": "履约金额",
                     "description": "履约金额",
                     "type": "number"
                     "type": "number"
                 },
                 },
+                "buyaccountid": {
+                    "description": "买方账号",
+                    "type": "integer"
+                },
                 "buyerfreezeamount": {
                 "buyerfreezeamount": {
                     "description": "买方履约前冻结资金",
                     "description": "买方履约前冻结资金",
                     "type": "number"
                     "type": "number"

+ 4 - 0
docs/swagger.json

@@ -31238,6 +31238,10 @@
                     "description": "履约金额",
                     "description": "履约金额",
                     "type": "number"
                     "type": "number"
                 },
                 },
+                "buyaccountid": {
+                    "description": "买方账号",
+                    "type": "integer"
+                },
                 "buyerfreezeamount": {
                 "buyerfreezeamount": {
                     "description": "买方履约前冻结资金",
                     "description": "买方履约前冻结资金",
                     "type": "number"
                     "type": "number"

+ 3 - 0
docs/swagger.yaml

@@ -11356,6 +11356,9 @@ definitions:
       amount:
       amount:
         description: 履约金额
         description: 履约金额
         type: number
         type: number
+      buyaccountid:
+        description: 买方账号
+        type: integer
       buyerfreezeamount:
       buyerfreezeamount:
         description: 买方履约前冻结资金
         description: 买方履约前冻结资金
         type: number
         type: number

+ 3 - 0
models/guangzuan.go

@@ -1848,6 +1848,7 @@ type MyPerformanc struct {
 	OVERSHORTAMOUNT          float64 `json:"overshortamount" xorm:"OVERSHORTAMOUNT"`                   // 溢短金额
 	OVERSHORTAMOUNT          float64 `json:"overshortamount" xorm:"OVERSHORTAMOUNT"`                   // 溢短金额
 	BUYERINFO                string  `json:"buyerinfo" xorm:"BUYERINFO"`                               // 买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\隐藏字段,若数据不为JSON,则直接显示{    "ContactInfo": "xxxxxxxx",    "ReceiveInfo": "xxxxxxxxx",    "ReceiptInfo": "xxxxxxxxxxxx"}
 	BUYERINFO                string  `json:"buyerinfo" xorm:"BUYERINFO"`                               // 买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\隐藏字段,若数据不为JSON,则直接显示{    "ContactInfo": "xxxxxxxx",    "ReceiveInfo": "xxxxxxxxx",    "ReceiptInfo": "xxxxxxxxxxxx"}
 	SELLERINFO               string  `json:"sellerinfo" xorm:"SELLERINFO"`                             // 卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\隐藏字段,若数据不为JSON,则直接显示{    "ContactInfo": "xxxxxxxx"}
 	SELLERINFO               string  `json:"sellerinfo" xorm:"SELLERINFO"`                             // 卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\隐藏字段,若数据不为JSON,则直接显示{    "ContactInfo": "xxxxxxxx"}
+	BUYACCOUNTID             int64   `json:"buyaccountid" xorm:"BUYACCOUNTID"`                         // 买方账号
 
 
 	// PerformanceStep
 	// PerformanceStep
 	STEPTYPEID int32 `json:"steptypeid" xorm:"STEPTYPEID"` // 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结  10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款)   用于-1模板“
 	STEPTYPEID int32 `json:"steptypeid" xorm:"STEPTYPEID"` // 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结  10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款)   用于-1模板“
@@ -1917,6 +1918,7 @@ func (r *MyPerformanc) buildSql() string {
 		pp.OVERSHORTAMOUNT         ,
 		pp.OVERSHORTAMOUNT         ,
 		pp.BUYERINFO               ,
 		pp.BUYERINFO               ,
 		pp.SELLERINFO              ,
 		pp.SELLERINFO              ,
+		pp.BUYACCOUNTID,
 		ps.STEPTYPEID,
 		ps.STEPTYPEID,
 		ua.ACCOUNTNAME              ,
 		ua.ACCOUNTNAME              ,
 		wr.GOODSNO,
 		wr.GOODSNO,
@@ -1989,6 +1991,7 @@ func (r *MyPerformanc) buildSql_His() string {
 		pp.OVERSHORTAMOUNT         ,
 		pp.OVERSHORTAMOUNT         ,
 		pp.BUYERINFO               ,
 		pp.BUYERINFO               ,
 		pp.SELLERINFO              ,
 		pp.SELLERINFO              ,
+		pp.BUYACCOUNTID,
 		ps.STEPTYPEID,
 		ps.STEPTYPEID,
 		ua.ACCOUNTNAME              ,
 		ua.ACCOUNTNAME              ,
 		wr.GOODSNO,
 		wr.GOODSNO,