src/main/resources/mapper/data/DictMapper.xml
@@ -9,7 +9,7 @@ and ns = #{ns} </if> <if test="tab != null"> and tab like #{tab} and upper(tab) like #{tab} </if> </where> </select> @@ -22,7 +22,7 @@ and ns = #{ns} </if> <if test="tab != null"> and tab like #{tab} and upper(tab) like #{tab} </if> </where> order by ns,tab,id @@ -39,7 +39,7 @@ <where> field = #{field} and status = 0 <if test="name != null"> and (tab like #{name} or tab_desc like #{name}) and (upper(tab) like #{name} or upper(tab_desc) like #{name}) </if> </where> order by id;