|
|
@@ -459,16 +459,18 @@ public class serviceorder extends Controller {
|
|
|
querySQL.setPage(pageSize, pageNumber);
|
|
|
Rows rows = querySQL.query();
|
|
|
|
|
|
+ return getSucReturnObject().setData(rows).toString();
|
|
|
+ }
|
|
|
+
|
|
|
+ @API(title = "服务申请单状态统计", apiversion = R.ID2025111809442603.v1.class)
|
|
|
+ public String queryserviceorderStatusList() throws YosException {
|
|
|
|
|
|
SQLFactory sqlFactory2 = new SQLFactory(this, "服务申请单状态统计");
|
|
|
sqlFactory2.addParameter("siteid", siteid);
|
|
|
sqlFactory2.addParameter_SQL("where", " 1=1 ");
|
|
|
Rows rows_total = dbConnect.runSqlQuery(sqlFactory2.getSQL());
|
|
|
|
|
|
- if (!rows.isEmpty()) {
|
|
|
- rows.get(0).put("rows_total", rows_total);
|
|
|
- }
|
|
|
- return getSucReturnObject().setData(rows).toString();
|
|
|
+ return getSucReturnObject().setData(rows_total).toString();
|
|
|
}
|
|
|
|
|
|
|