Przeglądaj źródła

供需广场状态查询错误修复

沈静伟 4 lat temu
rodzic
commit
48002b295b

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/customer/supplyanddemand/supplyanddemand.java

@@ -47,7 +47,7 @@ public class supplyanddemand extends Controller {
                 where.append(" and t1.fissupply =").append(whereObject.getBooleanValue("fissupply") ? 1 : 0);
             }
             if (whereObject.containsKey("fstatus") && !"".equals(whereObject.getString("fstatus"))) {
-                where.append(" and t1.fstatus ='").append(whereObject.getBooleanValue("fstatus")).append("' ");
+                where.append(" and t1.fstatus ='").append(whereObject.getString("fstatus")).append("' ");
             }
         }
         SQLFactory sqlFactory = new SQLFactory(this, "¹©ÐèÁбí²éѯ", pageSize, pageNumber, sort);