|
|
|
|
@ -67,13 +67,13 @@
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<update id="updateById" parameterType="OrderDO">
|
|
|
|
|
UPDATE `order`
|
|
|
|
|
UPDATE `orders`
|
|
|
|
|
<include refid="updateFieldSql" />
|
|
|
|
|
WHERE id = #{id}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
<update id="updateByIdAndStatus">
|
|
|
|
|
UPDATE `order`
|
|
|
|
|
UPDATE `orders`
|
|
|
|
|
<set>
|
|
|
|
|
<if test="updateObj.payAmount != null">
|
|
|
|
|
, pay_amount = #{updateObj.payAmount}
|
|
|
|
|
@ -92,7 +92,7 @@
|
|
|
|
|
<select id="selectById" resultType="cn.iocoder.mall.order.biz.dataobject.OrderDO">
|
|
|
|
|
SELECT
|
|
|
|
|
<include refid="FIELDS" />
|
|
|
|
|
FROM `order`
|
|
|
|
|
FROM `orders`
|
|
|
|
|
WHERE id = #{id}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
@ -121,7 +121,7 @@
|
|
|
|
|
<select id="selectPageCount" resultType="java.lang.Integer">
|
|
|
|
|
SELECT
|
|
|
|
|
COUNT(*)
|
|
|
|
|
FROM `order`
|
|
|
|
|
FROM `orders`
|
|
|
|
|
<where>
|
|
|
|
|
<include refid="selectWhere" />
|
|
|
|
|
</where>
|
|
|
|
|
@ -130,7 +130,7 @@
|
|
|
|
|
<select id="selectPage" resultType="cn.iocoder.mall.order.biz.dataobject.OrderDO">
|
|
|
|
|
SELECT
|
|
|
|
|
<include refid="FIELDS" />
|
|
|
|
|
FROM `order`
|
|
|
|
|
FROM `orders`
|
|
|
|
|
<where>
|
|
|
|
|
<include refid="selectWhere" />
|
|
|
|
|
</where>
|
|
|
|
|
|