301011
301012
301013
301020
301021
301022
301023
301030
appid=301011
select max(id) from apparatustype where id like '"+appid.substring(0,5)+"%'
                  我想取301011的最大值 也就是301013
0,6也不对