Ver código fonte

查询出入库单列表添加typemx字段查询

hu 7 meses atrás
pai
commit
505cf17d90

+ 3 - 0
src/custom/restcontroller/webmanage/sale/stockbill/stockbill.java

@@ -192,6 +192,9 @@ public class stockbill extends Controller {
             if (whereObject.containsKey("type") && !"".equals(whereObject.getString("type"))) {
             if (whereObject.containsKey("type") && !"".equals(whereObject.getString("type"))) {
                 where.append(" and t1.type ='").append(whereObject.getString("type")).append("' ");
                 where.append(" and t1.type ='").append(whereObject.getString("type")).append("' ");
             }
             }
+            if (whereObject.containsKey("typemx") && !"".equals(whereObject.getString("typemx"))) {
+                where.append(" and t1.typemx ='").append(whereObject.getString("typemx")).append("' ");
+            }
             if (whereObject.containsKey("status") && !"".equals(whereObject.getString("status"))) {
             if (whereObject.containsKey("status") && !"".equals(whereObject.getString("status"))) {
                 where.append(" and t1.status ='").append(whereObject.getString("status")).append("' ");
                 where.append(" and t1.status ='").append(whereObject.getString("status")).append("' ");
             }
             }