解决单据中按条码查询商品带空格无法匹配的bug
This commit is contained in:
@@ -411,6 +411,7 @@ public class MaterialService {
|
|||||||
}
|
}
|
||||||
if(StringUtil.isNotEmpty(q)) {
|
if(StringUtil.isNotEmpty(q)) {
|
||||||
q = q.replace("'", "");
|
q = q.replace("'", "");
|
||||||
|
q = q.trim();
|
||||||
}
|
}
|
||||||
list= materialMapperEx.findBySelectWithBarCode(idList, q, offset, rows);
|
list= materialMapperEx.findBySelectWithBarCode(idList, q, offset, rows);
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
|
|||||||
Reference in New Issue
Block a user