第一种 stockapplycode like '%${item}%' 第二种,为了防止sql注入最好使用第二种 itemcode like concat(concat('%',#{itemcode}),'%')