Commit 678ba47d authored by jiaorz's avatar jiaorz

Merge branch 'master-modify-cutAmount' into dev

# Conflicts:
#	xx-order/xx-order-api/src/main/java/com/xxfc/platform/order/pojo/order/OrderPageVO.java
#	xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/BaseOrderBiz.java
#	xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderVehicleCrosstownBiz.java
#	xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/inner/OrderCancelBiz.java
#	xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BaseOrderController.java
parent b8bc0924
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
<result column="deduction_cost" jdbcType="INTEGER" property="deductionCost"/> <result column="deduction_cost" jdbcType="INTEGER" property="deductionCost"/>
<result column="rest_deposit" jdbcType="INTEGER" property="restDeposit"/> <result column="rest_deposit" jdbcType="INTEGER" property="restDeposit"/>
<result column="user_license_id" jdbcType="VARCHAR" property="userLicenseId"/> <result column="user_license_id" jdbcType="VARCHAR" property="userLicenseId"/>
<result column="violate_amount_detail" jdbcType="VARCHAR" property="violateDetail"/>
</resultMap> </resultMap>
<resultMap id="orderMap" type="com.xxfc.platform.order.pojo.order.OrderVehicleCrosstownDto"> <resultMap id="orderMap" type="com.xxfc.platform.order.pojo.order.OrderVehicleCrosstownDto">
<result column="id" javaType="java.lang.Integer" property="id"/> <result column="id" javaType="java.lang.Integer" property="id"/>
...@@ -34,20 +35,20 @@ ...@@ -34,20 +35,20 @@
javaType="com.xxfc.platform.order.entity.DepositRefundRecord"/> javaType="com.xxfc.platform.order.entity.DepositRefundRecord"/>
</resultMap> </resultMap>
<select id="selectByOrderId" parameterType="com.xxfc.platform.order.pojo.order.OrderVehicleCrosstownDto" resultType="com.xxfc.platform.order.pojo.order.OrderVehicleCrosstownDto"> <select id="selectByOrderId" parameterType="com.xxfc.platform.order.pojo.order.OrderVehicleCrosstownDto" resultType="com.xxfc.platform.order.pojo.order.OrderVehicleCrosstownDto">
select * select o.*, o.violate_amount_detail violateDetail
from order_vehicle_crosstown from order_vehicle_crosstown o
<where> <where>
<if test="status != null"> <if test="status != null">
and status = #{status} and o.status = #{status}
</if> </if>
<if test="type != null"> <if test="type != null">
and type = #{type} and o.type = #{type}
</if> </if>
<if test="orderId != null"> <if test="orderId != null">
and order_id = #{orderId} and o.order_id = #{orderId}
</if> </if>
<if test="orderNo != null"> <if test="orderNo != null">
and order_no = #{orderNo} and o.order_no = #{orderNo}
</if> </if>
</where> </where>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment