rev:工单查询sql
This commit is contained in:
@@ -31,8 +31,7 @@
|
||||
and find_in_set(ShiftOrder.workorder_status, #{query.order_status})
|
||||
</if>
|
||||
<if test="query.device_code != null and query.device_code != ''">
|
||||
and (ShiftOrder.device_code like concat('%',${query.device_code},'%') or ShiftOrder.device_name like concat('%',${query.device_code},'%'))
|
||||
</if>
|
||||
and ShiftOrder.device_code like '%${query.device_code}%' </if>
|
||||
<if test="query.shift_type_scode != null and query.shift_type_scode != ''">
|
||||
and ShiftOrder.shift_type_scode = #{query.shift_type_scode}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user