Parcourir la source

/Qhj/QueryBankAccountSign 接口增加出参

zhouxnsz il y a 9 mois
Parent
commit
4370679a3a
5 fichiers modifiés avec 17 ajouts et 4 suppressions
  1. 4 4
      controllers/guangzuan/tradeService.go
  2. 4 0
      docs/docs.go
  3. 4 0
      docs/swagger.json
  4. 3 0
      docs/swagger.yaml
  5. 2 0
      models/qhj.go

+ 4 - 4
controllers/guangzuan/tradeService.go

@@ -18,8 +18,8 @@ import (
 // @Security Group
 // @Param    userid   query    int    true  "用户ID"
 // @Param    executestatus query    int false "执行状态 - 1:未生效 2:进行中 3:已结束"
-// @Param    page     query    int    false "页码"
-// @Param    pagesize query    int    false "每页条数"
+// @Param    page          query    int false "页码"
+// @Param    pagesize      query    int false "每页条数"
 // @Success  200           {array}  models.GzcjjcorderM
 // @Failure  500     {object} app.Response
 // @Router   /Guangzuan/QueryGZCJJCOrder [get]
@@ -39,8 +39,8 @@ func QueryGZCJJCOrder(c *gin.Context) {
 // @Security Group
 // @Param    userid        query    int true  "用户ID"
 // @Param    orderid  query    string false "单据ID"
-// @Param    page          query    int false "页码"
-// @Param    pagesize      query    int false "每页条数"
+// @Param    page     query    int    false "页码"
+// @Param    pagesize query    int    false "每页条数"
 // @Success  200      {array}  models.GzcjjcorderdetailM
 // @Failure  500           {object} app.Response
 // @Router   /Guangzuan/QueryGZCJJCOrderDetail [get]

+ 4 - 0
docs/docs.go

@@ -49294,6 +49294,10 @@ const docTemplate = `{
                     "description": "扩展信息(JSON字符串)",
                     "type": "string"
                 },
+                "ismix": {
+                    "description": "是否混合渠道 - 0:否, 1:是(出入金不同外部接口)",
+                    "type": "integer"
+                },
                 "mobilephone": {
                     "description": "手机号",
                     "type": "string"

+ 4 - 0
docs/swagger.json

@@ -49285,6 +49285,10 @@
                     "description": "扩展信息(JSON字符串)",
                     "type": "string"
                 },
+                "ismix": {
+                    "description": "是否混合渠道 - 0:否, 1:是(出入金不同外部接口)",
+                    "type": "integer"
+                },
                 "mobilephone": {
                     "description": "手机号",
                     "type": "string"

+ 3 - 0
docs/swagger.yaml

@@ -18632,6 +18632,9 @@ definitions:
       extendinfo:
         description: 扩展信息(JSON字符串)
         type: string
+      ismix:
+        description: 是否混合渠道 - 0:否, 1:是(出入金不同外部接口)
+        type: integer
       mobilephone:
         description: 手机号
         type: string

+ 2 - 0
models/qhj.go

@@ -886,6 +886,7 @@ type QhjBankAccountSign struct {
 	REMARK           string `json:"remark"  xorm:"'REMARK'"`                   // Log备注
 
 	CUSBANKNAME string `json:"cusbankname"  xorm:"CUSBANKNAME"` // 托管银行名称
+	ISMIX       int32  `json:"ismix" xorm:"ISMIX"`              // 是否混合渠道 - 0:否, 1:是(出入金不同外部接口)
 
 	ACCOUNTNAME2     string `json:"accountname2"`     // 资金账号对应的账号名(UserName) - 密文
 	BANKACCOUNTNAME2 string `json:"bankaccountname2"` // 签约银行卡账号名 - 密文
@@ -941,6 +942,7 @@ func (r *QhjBankAccountSign) buildSql() string {
 		       ta.relateduserid,
 		       b.bankname,
 		       ci.cusbankname,
+			   ci.ISMIX,
 		       slog.dealstatus DEALSTATUS,
 		       slog.remark REMARK
 		  FROM BANK_ACCOUNTSIGN t