Преглед изворни кода

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

release_toaliyun_real
hupeng пре 7 година
родитељ
комит
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="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="c_user_id" jdbcType="BIGINT" property="cUserId" /> <result column="c_user_id" jdbcType="BIGINT" property="cUserId" />
<result column="merchant_id" jdbcType="BIGINT" property="merchantId" /> <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="b_user_id" jdbcType="BIGINT" property="bUserId" />
<result column="payment_type" jdbcType="INTEGER" property="paymentType" /> <result column="payment_type" jdbcType="INTEGER" property="paymentType" />
<result column="payment" jdbcType="INTEGER" property="payment" /> <result column="payment" jdbcType="INTEGER" property="payment" />
@@ -53,8 +53,13 @@
<if test=" null != bUserId "> <if test=" null != bUserId ">
and `b_user_id` = #{bUserId} and `b_user_id` = #{bUserId}
</if>
</if>

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

</if>

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

Loading…
Откажи
Сачувај