eganwu 2 роки тому
батько
коміт
42ba6faed7

+ 1 - 0
src/custom/restcontroller/webmanage/sale/logiscomp/Logiscomp.java

@@ -101,6 +101,7 @@ public class Logiscomp extends Controller {
             JSONObject whereObject = content.getJSONObject("where");
             if (whereObject.containsKey("condition") && !"".equals(whereObject.getString("condition"))) {
                 where.append(" and (t1.kd100id like '%").append(whereObject.getString("condition")).append("%'");
+                where.append(" or t1.name like '%").append(whereObject.getString("condition")).append("%'");
                 where.append(" or t2.abbreviation like '%").append(whereObject.getString("condition")).append("%')");
             }
             if (whereObject.containsKey("isused") && !"".equals(whereObject.getString("isused"))) {