173 lines
4.2 KiB
Plaintext
173 lines
4.2 KiB
Plaintext
{
|
|
"properties" : { },
|
|
"id" : "copy1732497876949d77458",
|
|
"script" : null,
|
|
"groupId" : "4506c21162d24d4c81bad5bc8707672a",
|
|
"name" : "查询客户同步日志",
|
|
"createTime" : null,
|
|
"updateTime" : 1745307421060,
|
|
"lock" : null,
|
|
"createBy" : null,
|
|
"updateBy" : null,
|
|
"path" : "/queryCustomer",
|
|
"method" : "GET",
|
|
"parameters" : [ {
|
|
"name" : "sendType",
|
|
"value" : "TuiHuo",
|
|
"description" : null,
|
|
"required" : false,
|
|
"dataType" : "String",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : null,
|
|
"error" : null,
|
|
"expression" : null,
|
|
"children" : null
|
|
}, {
|
|
"name" : "sendStatus3",
|
|
"value" : "3",
|
|
"description" : null,
|
|
"required" : false,
|
|
"dataType" : "String",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : null,
|
|
"error" : null,
|
|
"expression" : null,
|
|
"children" : null
|
|
}, {
|
|
"name" : "crmId",
|
|
"value" : "665532391d23d0000111cab9",
|
|
"description" : null,
|
|
"required" : false,
|
|
"dataType" : "String",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : null,
|
|
"error" : null,
|
|
"expression" : null,
|
|
"children" : null
|
|
}, {
|
|
"name" : "sendSyn",
|
|
"value" : "0",
|
|
"description" : null,
|
|
"required" : false,
|
|
"dataType" : "String",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : null,
|
|
"error" : null,
|
|
"expression" : null,
|
|
"children" : null
|
|
} ],
|
|
"options" : [ ],
|
|
"requestBody" : "",
|
|
"headers" : [ ],
|
|
"paths" : [ ],
|
|
"responseBody" : "{\n \"code\": 200,\n \"message\": \"success\",\n \"data\": [],\n \"timestamp\": 1716889610473,\n \"executeTime\": 8\n}",
|
|
"description" : null,
|
|
"requestBodyDefinition" : null,
|
|
"responseBodyDefinition" : {
|
|
"name" : "",
|
|
"value" : "",
|
|
"description" : "",
|
|
"required" : false,
|
|
"dataType" : "Object",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : "",
|
|
"error" : "",
|
|
"expression" : "",
|
|
"children" : [ {
|
|
"name" : "code",
|
|
"value" : "200",
|
|
"description" : "",
|
|
"required" : false,
|
|
"dataType" : "Integer",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : "",
|
|
"error" : "",
|
|
"expression" : "",
|
|
"children" : [ ]
|
|
}, {
|
|
"name" : "message",
|
|
"value" : "success",
|
|
"description" : "",
|
|
"required" : false,
|
|
"dataType" : "String",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : "",
|
|
"error" : "",
|
|
"expression" : "",
|
|
"children" : [ ]
|
|
}, {
|
|
"name" : "data",
|
|
"value" : "",
|
|
"description" : "",
|
|
"required" : false,
|
|
"dataType" : "Array",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : "",
|
|
"error" : "",
|
|
"expression" : "",
|
|
"children" : [ ]
|
|
}, {
|
|
"name" : "timestamp",
|
|
"value" : "1716889610473",
|
|
"description" : "",
|
|
"required" : false,
|
|
"dataType" : "Long",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : "",
|
|
"error" : "",
|
|
"expression" : "",
|
|
"children" : [ ]
|
|
}, {
|
|
"name" : "executeTime",
|
|
"value" : "8",
|
|
"description" : "",
|
|
"required" : false,
|
|
"dataType" : "Integer",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : "",
|
|
"error" : "",
|
|
"expression" : "",
|
|
"children" : [ ]
|
|
} ]
|
|
}
|
|
}
|
|
================================
|
|
//查询本机mysql
|
|
return db.select(
|
|
"""
|
|
SELECT * FROM `send_syn_customer` where
|
|
send_type=#{sendType}
|
|
<if test="dataId != null">
|
|
and dsf_id=#{dataId}
|
|
</if>
|
|
<if test="datapId != null">
|
|
and dsfzhu_id=#{datapId}
|
|
</if>
|
|
<if test="sendSyn != null">
|
|
and send_syn=#{sendSyn}
|
|
</if>
|
|
<if test="sendStatus != null">
|
|
and send_status=#{sendStatus}
|
|
</if>
|
|
<if test="crmId != null">
|
|
and crm_id=#{crmId}
|
|
</if>
|
|
<if test="dsfId != null">
|
|
and dsf_id=#{dsfId}
|
|
</if>
|
|
<if test="sendStatus3 != null">
|
|
and send_status!=#{sendStatus3}
|
|
</if>
|
|
order by create_time desc
|
|
|
|
"""); |