Explorar el Código

诊断依据bug处理

zhoutg hace 5 años
padre
commit
d19ac0f733

+ 1 - 1
knowledgeman-service/src/main/resources/mapper/DiagnoseMapper.xml

@@ -69,7 +69,7 @@
                 #{item}
             </foreach>
         </if>
-        AND (a.NAME LIKE  #{name} OR a.spell LIKE #{name})
+        AND (a.NAME LIKE  concat('%',#{name},'%') OR a.spell LIKE concat('%',#{name},'%'))
     </select>
 
 </mapper>