查询主单

This commit is contained in:
kuang.yifei@iwhalecloud.com 2022-06-09 14:35:13 +08:00
parent 40e1761f38
commit 10be655d16
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@
<result property="deptId" column="dept_id"/>
<result property="code" column="code"/>
<result property="customerId" column="customer_id"/>
<result property="addressId" column="address_id"/>
<result property="orderType" column="order_type"/>
<result property="orderStatus" column="order_status"/>
<result property="payType" column="pay_type"/>
@ -28,6 +29,7 @@
dept_id,
code,
customer_id,
address_id,
order_type,
order_status,
pay_type,
@ -110,6 +112,7 @@
<if test="deptId != null and deptId != 0">dept_id,</if>
<if test="code != null and code != ''">code,</if>
<if test="customerId != null and customerId != 0">customer_id,</if>
<if test="addressId != null and addressId != 0">address_id,</if>
<if test="orderType != null">order_type,</if>
<if test="orderStatus != null">order_status,</if>
<if test="payType != null">pay_type,</if>
@ -123,6 +126,7 @@
<if test="deptId != null and deptId != 0">#{deptId},</if>
<if test="code != null">#{code},</if>
<if test="customerId != null and customerId != 0">#{customerId},</if>
<if test="addressId != null and addressId != 0">#{address_id},</if>
<if test="orderType != null">#{orderType},</if>
<if test="orderStatus != null">#{orderStatus},</if>
<if test="payType != null">#{payType},</if>