Просмотр исходного кода

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

release_toaliyun_real
Stormeye Wu 6 лет назад
Родитель
Сommit
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>


Загрузка…
Отмена
Сохранить