订单业务模块

dev2
Aaaaaaaa 2024-08-27 20:54:00 +08:00
parent 8ba0adb3ff
commit 7eca52eb70
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ public interface OrderShowMapper {
/**
*
* (ordersNum ordersState startdate enddate)
* (productName ordersNum ordersState startdate enddate)
* @param req
* @return
*/

View File

@ -44,7 +44,7 @@
LEFT JOIN `product` ON `orders`.orders_product = `product`.product_id
LEFT JOIN `sys_user` ON `orders`.orders_user = `sys_user`.user_id
<where>
<if test="productName != null and productName != ''">AND product_name = #{productName}</if>
<if test="productName != null and productName != ''">AND instr( product_name , #{productName})</if>
<if test=" ordersNum != null and ordersNum !='' "> AND orders_num = #{ordersNum} </if>
<if test=" ordersState != null "> AND orders_state = #{ordersState} </if>
<if test="startDate!=null and startDate!=''"> AND orders_launchdate &gt;=#{startDate} </if>