src/main/resources/mapper/OrderMapper.xml
@@ -88,4 +88,13 @@ </if> </select> <select id="selectThreeCode" parameterType="string" resultType="string"> select top 50 three_code from three_code_view where 1=1 <if test="threeCode != null"> and three_code like '%' + #{threeCode} + '%' </if> </select> </mapper>