fix
wangpengfei
2023-08-16 9e08d1c00bff888277ab7ba10d35a422a9b7abbf
fix

fix followRecord query params
4个文件已修改
25 ■■■■ 已修改文件
docs/docs.go 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.json 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.yaml 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
model/request/followRecord.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/docs.go
@@ -15091,7 +15091,7 @@
                    "type": "integer"
                },
                "search_map": {
                    "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"跟进主题\", \"member_name\": \"跟进人\", \"client_name\": \"客户名称\", \"client_status\": \"客户状态\", \"follow_time\": \"跟进时间\", \"next_follow_time\": \"下次跟进时间\", \"record\": \"跟进记录\", \"phone\": \"联系人电话\", \"contact_name\": \"联系人姓名\"}",
                    "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"跟进主题\", \"member_name\": \"跟进人\", \"client_name\": \"客户名称\", \"client_status\": \"客户状态\", \"follow_time\": \"跟进时间\", \"next_follow_time\": \"下次跟进时间\", \"record\": \"跟进记录\", \"phone\": \"联系人电话\", \"contact_name\": \"联系人姓名\", \"sales_leads_id\": \"销售线索id\", \"sale_chance_id\": \"销售机会id\"}",
                    "type": "object",
                    "additionalProperties": true
                }
@@ -15582,6 +15582,10 @@
        },
        "request.SalesRefund": {
            "type": "object",
            "required": [
                "sourceId",
                "sourceType"
            ],
            "properties": {
                "bankAccountId": {
                    "description": "账户id",
@@ -15620,7 +15624,7 @@
                    "type": "integer"
                },
                "sourceType": {
                    "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)",
                    "description": "来源类型(1销售退款单)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.RefundSourceType"
docs/swagger.json
@@ -15079,7 +15079,7 @@
                    "type": "integer"
                },
                "search_map": {
                    "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"跟进主题\", \"member_name\": \"跟进人\", \"client_name\": \"客户名称\", \"client_status\": \"客户状态\", \"follow_time\": \"跟进时间\", \"next_follow_time\": \"下次跟进时间\", \"record\": \"跟进记录\", \"phone\": \"联系人电话\", \"contact_name\": \"联系人姓名\"}",
                    "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"跟进主题\", \"member_name\": \"跟进人\", \"client_name\": \"客户名称\", \"client_status\": \"客户状态\", \"follow_time\": \"跟进时间\", \"next_follow_time\": \"下次跟进时间\", \"record\": \"跟进记录\", \"phone\": \"联系人电话\", \"contact_name\": \"联系人姓名\", \"sales_leads_id\": \"销售线索id\", \"sale_chance_id\": \"销售机会id\"}",
                    "type": "object",
                    "additionalProperties": true
                }
@@ -15570,6 +15570,10 @@
        },
        "request.SalesRefund": {
            "type": "object",
            "required": [
                "sourceId",
                "sourceType"
            ],
            "properties": {
                "bankAccountId": {
                    "description": "账户id",
@@ -15608,7 +15612,7 @@
                    "type": "integer"
                },
                "sourceType": {
                    "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)",
                    "description": "来源类型(1销售退款单)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.RefundSourceType"
docs/swagger.yaml
@@ -3389,7 +3389,7 @@
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"topic": "跟进主题",
          "member_name": "跟进人", "client_name": "客户名称", "client_status": "客户状态", "follow_time":
          "跟进时间", "next_follow_time": "下次跟进时间", "record": "跟进记录", "phone": "联系人电话",
          "contact_name": "联系人姓名"}'
          "contact_name": "联系人姓名", "sales_leads_id": "销售线索id", "sale_chance_id": "销售机会id"}'
        type: object
    type: object
  request.GetMasterOrderList:
@@ -3763,7 +3763,10 @@
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.RefundSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        description: 来源类型(1销售退款单)
    required:
    - sourceId
    - sourceType
    type: object
  request.SalesReturn:
    properties:
model/request/followRecord.go
@@ -28,7 +28,7 @@
type GetFollowRecordList struct {
    PageInfo
    SearchMap map[string]interface{} `json:"search_map"` // 搜索条件: map[string]interface{}{"name": "xxx"}; {"topic": "跟进主题", "member_name": "跟进人", "client_name": "客户名称", "client_status": "客户状态", "follow_time": "跟进时间", "next_follow_time": "下次跟进时间", "record": "跟进记录", "phone": "联系人电话", "contact_name": "联系人姓名"}
    SearchMap map[string]interface{} `json:"search_map"` // 搜索条件: map[string]interface{}{"name": "xxx"}; {"topic": "跟进主题", "member_name": "跟进人", "client_name": "客户名称", "client_status": "客户状态", "follow_time": "跟进时间", "next_follow_time": "下次跟进时间", "record": "跟进记录", "phone": "联系人电话", "contact_name": "联系人姓名", "sales_leads_id": "销售线索id", "sale_chance_id": "销售机会id"}
}
type DeleteFollowRecord struct {