Browse Source

[停车][修改]:停车优化

release_toaliyun_real
Stormeye Wu 6 years ago
parent
commit
52ee16639a
2 changed files with 8 additions and 8 deletions
  1. +1
    -0
      mallinkCallback/src/main/java/com/iformall/controller/callback/WxCarCallBackController.java
  2. +7
    -8
      mallinkService/src/main/resources/mapper/WxCarCmdLogMapper.xml

+ 1
- 0
mallinkCallback/src/main/java/com/iformall/controller/callback/WxCarCallBackController.java View File

@@ -383,6 +383,7 @@ public class WxCarCallBackController extends BaseController {
if(StringUtils.isNotBlank(tenantId)) {
map.put("tenantId", tenantId);
}
map.put("plateNumber", carNumber);
map.put("orderId", orderId);
map.put("feeTime", etcpTime);
WxCarCmdLog carCmdLog = wxCarCmdLogService.getByOrderId(map);


+ 7
- 8
mallinkService/src/main/resources/mapper/WxCarCmdLogMapper.xml View File

@@ -12,7 +12,7 @@
</resultMap>

<sql id="allColumns">
`id`,`tenant_id`,`vendor_type`,`cmd_type`,`create_date`,`update_date`,`cmd_json`
`id`,`tenant_id`,`vendor_type`,`cmd_type`,`create_date`,`update_date`,`cmd_json`
</sql>
<sql id="dynamicWhereConditions">
@@ -20,37 +20,30 @@
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != tenantId ">
and `tenant_id` = #{tenantId}
</if>
<if test=" null != vendorType ">
and `vendor_type` = #{vendorType}
</if>
<if test=" null != cmdType ">
and `cmd_type` = #{cmdType}
</if>
<if test=" null != createDate ">
and `create_date` = #{createDate}
</if>
<if test=" null != updateDate ">
and `update_date` = #{updateDate}
</if>
<if test=" null != cmdJson ">
and `cmd_json` like concat('%', #{cmdJson},'%')
</if>
<if test=" null != ids ">
and id in
@@ -134,6 +127,9 @@
<if test=" null != tenantId">
and tenant_id = #{tenantId}
</if>
<if test=" null != plateNumber">
and plateNumber = #{plateNumber}
</if>
<if test=" null != orderId">
and order_id = #{orderId}
</if>
@@ -149,6 +145,9 @@
<if test=" null != tenantId">
and tenant_id = #{tenantId}
</if>
<if test=" null != plateNumber">
and plateNumber = #{plateNumber}
</if>
<if test=" null != cmdType">
and cmd_type = #{cmdType}
</if>


Loading…
Cancel
Save