Commit be3de7cc authored by liuzeheng's avatar liuzeheng

排除已逻辑删除数据

parent 20bf942b
......@@ -2921,7 +2921,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
"SELECT",
"s.order_no as value",
"FROM",
" ( SELECT t.order_no FROM ecw_order t GROUP BY t.order_no ) s",
" ( SELECT t.order_no FROM ecw_order t where deleted =0 GROUP BY t.order_no ) s",
"WHERE",
"s.order_no LIKE concat('%',#{keyValue},'%')",
"</script>"
......@@ -2934,7 +2934,7 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
"SELECT",
"s.tidan_no as value",
"FROM",
" ( SELECT t.tidan_no FROM ecw_order t GROUP BY t.`tidan_no` ) s",
" ( SELECT t.tidan_no FROM ecw_order t WHERE deleted =0 GROUP BY t.`tidan_no` ) s",
"WHERE",
"s.tidan_no LIKE concat('%',#{keyValue},'%')",
"</script>"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment