|
|
@@ -747,7 +747,11 @@ public class HyWorkOrder extends Controller {
|
|
|
factory.addParameter("fworknum",where.getString("fworknum"));
|
|
|
Rows rows = dbConnect.runSqlQuery(factory.getSQL());
|
|
|
if(rows.isEmpty())return getReturnObject_err("ûÓд˹¤µ¥").toString();
|
|
|
- return getReturnObject_suc(rows.get(0),false).toString();
|
|
|
+ Row row = rows.get(0);
|
|
|
+ Rows url = dbConnect.runSqlQuery("select tattachmentid,fdocument,fobsurl,type,UPPER(postfix) postfix from tattachment where ownertable='HYWORKORDER' and ownerid=" + row.getInteger("ownerid"));
|
|
|
+ row.put("url",url);
|
|
|
+
|
|
|
+ return getReturnObject_suc(row,false).toString();
|
|
|
}
|
|
|
|
|
|
|