|
@@ -79,9 +79,12 @@ public class HyWorkOrder extends Controller {
|
|
|
String wherestr="t.fstatus='进行中' ";
|
|
String wherestr="t.fstatus='进行中' ";
|
|
|
if(where!=null){
|
|
if(where!=null){
|
|
|
DBConnect dbConnect=new DBConnect();
|
|
DBConnect dbConnect=new DBConnect();
|
|
|
- if(where.containsKey("customerphone")&&!StringUtils.isBlank(where.getString("customerphone"))){
|
|
|
|
|
|
|
+ if(where.containsKey("projectleader")&&!StringUtils.isBlank(where.getString("projectleader"))){
|
|
|
wherestr+=" and PROJECTLEADER = '"+where.getString("projectleader")+"'";
|
|
wherestr+=" and PROJECTLEADER = '"+where.getString("projectleader")+"'";
|
|
|
}
|
|
}
|
|
|
|
|
+ if(where.containsKey("customerphone")&&!StringUtils.isBlank(where.getString("customerphone"))){
|
|
|
|
|
+ wherestr+=" and SCENEPHONE = '"+where.getString("customerphone")+"'";
|
|
|
|
|
+ }
|
|
|
SQLFactory factory=new SQLFactory(this,"服务人员行程列表查询",pageSize,pageNumber,"t.fworknum desc");
|
|
SQLFactory factory=new SQLFactory(this,"服务人员行程列表查询",pageSize,pageNumber,"t.fworknum desc");
|
|
|
//factory.addParameter("fagentnum",fagentnum);
|
|
//factory.addParameter("fagentnum",fagentnum);
|
|
|
factory.addParameter("siteid",siteid);
|
|
factory.addParameter("siteid",siteid);
|