zhengfangyuan 3 лет назад
Родитель
Сommit
41386546c9
1 измененных файлов: 11 добавлений и 1 удалений
  1. +11
    -1
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml

+ 11
- 1
mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml Просмотреть файл

@@ -224,6 +224,9 @@
<if test=" null != shippingStatus"> <if test=" null != shippingStatus">
,`shipping_status` = #{shippingStatus} ,`shipping_status` = #{shippingStatus}
</if> </if>
<if test=" null != bTenantId">
,`b_tenant_id` = #{bTenantId}
</if>
where id=#{id} and `b_user_id` is null where id=#{id} and `b_user_id` is null
<if test=" null != tenantId and '' != tenantId"> <if test=" null != tenantId and '' != tenantId">
and `tenant_id` = #{tenantId} and `tenant_id` = #{tenantId}
@@ -248,6 +251,9 @@
<if test=" null != shippingStatus"> <if test=" null != shippingStatus">
,`shipping_status` = #{shippingStatus} ,`shipping_status` = #{shippingStatus}
</if> </if>
<if test=" null != bTenantId">
,`b_tenant_id` = #{bTenantId}
</if>
where id=#{id} where id=#{id}
<if test=" null != tenantId and '' != tenantId"> <if test=" null != tenantId and '' != tenantId">
and `tenant_id` = #{tenantId} and `tenant_id` = #{tenantId}
@@ -278,6 +284,9 @@
<if test=" null != shippingStatus"> <if test=" null != shippingStatus">
,`shipping_status` = #{shippingStatus} ,`shipping_status` = #{shippingStatus}
</if> </if>
<if test=" null != bTenantId">
,`b_tenant_id` = #{bTenantId}
</if>
where 1=1 where 1=1
<if test=" null != tenantId and '' != tenantId"> <if test=" null != tenantId and '' != tenantId">
and `tenant_id` = #{tenantId} and `tenant_id` = #{tenantId}
@@ -294,7 +303,8 @@
`b_user_id` = null, `b_user_id` = null,
`b_merchant_id` = null, `b_merchant_id` = null,
`update_date` = #{updateDate}, `update_date` = #{updateDate},
`verify_type` = null
`verify_type` = null,
`b_tenant_id` = null
where id=#{id} where id=#{id}
<if test=" null != tenantId and '' != tenantId"> <if test=" null != tenantId and '' != tenantId">
and `tenant_id` = #{tenantId} and `tenant_id` = #{tenantId}


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