|
@@ -99,6 +99,10 @@ |
|
@@ -99,6 +99,10 @@ |
|
99
|
<if test="vo.purchaseOrderId != null and vo.purchaseOrderId != ''">
|
99
|
<if test="vo.purchaseOrderId != null and vo.purchaseOrderId != ''">
|
|
100
|
AND tb.purchase_order_id = #{vo.purchaseOrderId}
|
100
|
AND tb.purchase_order_id = #{vo.purchaseOrderId}
|
|
101
|
</if>
|
101
|
</if>
|
|
|
|
102
|
+ <if test="vo.searchKey != null and vo.searchKey != ''">
|
|
|
|
103
|
+ AND (tb.order_no LIKE CONCAT('%', #{vo.searchKey}, '%')
|
|
|
|
104
|
+ OR cu.name LIKE CONCAT('%', #{vo.searchKey}, '%'))
|
|
|
|
105
|
+ </if>
|
|
102
|
</where>
|
106
|
</where>
|
|
103
|
ORDER BY tb.create_time DESC
|
107
|
ORDER BY tb.create_time DESC
|
|
104
|
</select>
|
108
|
</select>
|