模糊查询

This commit is contained in:
张江玮
2023-01-28 19:53:26 +08:00
parent 9be218f673
commit 8d5faa2651

View File

@@ -95,16 +95,16 @@ IF 输入.flag = "2"
task.task_status = 输入.status task.task_status = 输入.status
ENDOPTION ENDOPTION
OPTION 输入.vehicle_code <> "" OPTION 输入.vehicle_code <> ""
task.vehicle_code = 输入.vehicle_code task.vehicle_code LIKE CONCAT ( '%', 输入.vehicle_code, '%' )
ENDOPTION ENDOPTION
OPTION 输入.material_type <> "" OPTION 输入.material_type <> ""
task.material = 输入.material_type task.material = 输入.material_type
ENDOPTION ENDOPTION
OPTION 输入.point_code <> "" OPTION 输入.point_code <> ""
( (
task.start_point_code = 输入.point_code task.start_point_code LIKE CONCAT ( '%', 输入.point_code, '%' )
OR OR
task.next_point_code = 输入.point_code task.next_point_code LIKE CONCAT ( '%', 输入.point_code, '%')
) )
ENDOPTION ENDOPTION
OPTION 输入.create_time <> "" OPTION 输入.create_time <> ""