|
@@ -265,6 +265,11 @@ public class serviceorder extends Controller {
|
|
|
where.append("t1.isvoid ='").append(whereObject.getString("isvoid")).append("' ");
|
|
where.append("t1.isvoid ='").append(whereObject.getString("isvoid")).append("' ");
|
|
|
where.append(")");
|
|
where.append(")");
|
|
|
}
|
|
}
|
|
|
|
|
+ if (whereObject.containsKey("isinstalled") && !"".equals(whereObject.getString("isinstalled"))) {
|
|
|
|
|
+ where.append(" and(");
|
|
|
|
|
+ where.append(" case when ifnull(t1.cardno,'')='' then '未安装' else '已安装' end ='").append(whereObject.getString("isinstalled")).append("' ");
|
|
|
|
|
+ where.append(")");
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
SQLFactory sqlFactory = new SQLFactory(this, "序列号查询");
|
|
SQLFactory sqlFactory = new SQLFactory(this, "序列号查询");
|