Ver Fonte

海盐图片顺序更改

hu há 4 anos atrás
pai
commit
f932937d5a

+ 1 - 1
src/rest/openapi/restcontroller/hyworkorder/webapp/hyconfirmationorder/SQL/售后服务确认单列表.sql

@@ -1,6 +1,6 @@
 select t.fbillnum,t.fstatus,convert(varchar,t.createdate,120)createdate,convert(varchar,t.submitdate,120)submitdate,problemmsg,submitby,
 select t.fbillnum,t.fstatus,convert(varchar,t.createdate,120)createdate,convert(varchar,t.submitdate,120)submitdate,problemmsg,submitby,
        (
        (
-           select top 1 fobsurl from tattachment t3 where ownertable='HYCONFIRMATIONORDER' and ownerid=t.hyconfirmationorid and type='횅훰데渡응暠'
+           select top 1 fobsurl from tattachment t3 where ownertable='HYCONFIRMATIONORDER' and ownerid=t.hyconfirmationorid and type='횅훰데渡응暠' order by createdate desc
        )fobsurl
        )fobsurl
 from hyconfirmationorder t
 from hyconfirmationorder t
          join hyWorkorder t1 on t.fparentid=t1.hyWorkorderid
          join hyWorkorder t1 on t.fparentid=t1.hyWorkorderid