select * from MES_MACHINE_RECORD t where length(t.bar_code2)<10 ; 转载于:https://www.cnblogs.com/wangzh1guo/p/9773634.html