|
|
@@ -370,5 +370,15 @@ public class Serviceform extends Controller {
|
|
|
return getReturnObject_suc(rows,true).toString();
|
|
|
}
|
|
|
|
|
|
+ /**服务单提醒**/
|
|
|
+ public String remind(){
|
|
|
+ DBConnect dbConnect=new DBConnect();
|
|
|
+ Rows rows = dbConnect.runSqlQuery("select t.fservernum from Serviceform t\n" +
|
|
|
+ "where t.siteid='"+siteid+"' and t.FAGENTNUM='"+fagentnum+"' and EXISTS(select 1 from Workorder t1 where t1.servernum=t.fservernum and t1.ftype='施工' and fstatus='已完成')\n" +
|
|
|
+ "and not EXISTS(select 1 from Workorder t1 where t1.servernum=t.fservernum and t1.ftype='验收')");
|
|
|
+
|
|
|
+ return getReturnObject_suc(rows,false).toString();
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|