瀏覽代碼

[停车][修改]:统计数据修改

release_toaliyun_real
Stormeye Wu 7 年之前
父節點
當前提交
fdb24be0d3
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      mallinkService/src/main/resources/mapper/WxCarCmdLogMapper.xml

+ 4
- 4
mallinkService/src/main/resources/mapper/WxCarCmdLogMapper.xml 查看文件

@@ -124,7 +124,7 @@

<select id="queryTenantIdBySynId" parameterType="hashmap" resultType="String">
select `tenant_id` from wx_car_cmd_log
where cmd_type = 601 and json_extract(cmd_json, "$.synId") = #{synId}
where cmd_type = 601 and syn_id = #{synId}
</select>

<select id="countPaidInfoByOrderId" parameterType="hashmap" resultType="Long">
@@ -135,14 +135,14 @@
and tenant_id = #{tenantId}
</if>
<if test=" null != orderId">
and json_extract(cmd_json, "$.orderId") = #{orderId}
and order_id = #{orderId}
</if>
</select>

<select id="countBySynId" parameterType="hashmap" resultType="Long">
select count(id)
from wx_car_cmd_log
where
where 1=1
<if test=" null != tenantId">
and tenant_id = #{tenantId}
</if>
@@ -150,7 +150,7 @@
and cmd_type = #{cmdType}
</if>
<if test=" null != synId">
and json_extract(cmd_json, "$.synId") = #{synId}
and syn_id = #{synId}
</if>
</select>


Loading…
取消
儲存