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

[仓库][修复]:修复仓库代码不能运行的问题

release_toaliyun_real
hupeng 7 лет назад
Родитель
Сommit
7981b3522c
1 измененных файлов: 8 добавлений и 18 удалений
  1. +8
    -18
      mallinkService/src/main/resources/mapper/WxOrderMapper.xml

+ 8
- 18
mallinkService/src/main/resources/mapper/WxOrderMapper.xml Просмотреть файл

@@ -7,7 +7,7 @@
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="c_user_id" jdbcType="BIGINT" property="cUserId" />
<result column="merchant_id" jdbcType="BIGINT" property="merchantId" />
<result column="order_id" jdbcType="BIGINT" property="orderId" />
<result column="coupon_id" jdbcType="BIGINT" property="couponId" />
<result column="b_user_id" jdbcType="BIGINT" property="bUserId" />
<result column="payment_type" jdbcType="INTEGER" property="paymentType" />
<result column="payment" jdbcType="INTEGER" property="payment" />
@@ -53,8 +53,13 @@
<if test=" null != bUserId ">
and `b_user_id` = #{bUserId}
</if>
</if>

<if test=" null != couponId ">
and `coupon_id` = #{couponId}

</if>

<if test=" null != paymentType ">
and `payment_type` = #{paymentType}
@@ -196,19 +201,4 @@
</if>
AND order_status = '0'
</select>

<select id="findListOfUnpaidOrderByDate" parameterType="map" resultMap="BaseResultMap">
select <include refid="allColumns" /> from wx_order
where 1=1
<if test="startDate != null">
AND create_date &gt; #{startDate,jdbcType=TIMESTAMP}
</if>
<if test="startDate != null">
AND create_date &lt; #{endDate,jdbcType=TIMESTAMP}
</if>
AND order_status = '0'
</select>
</mapper>

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