未符合项整改回显
This commit is contained in:
+2
-1
@@ -61,7 +61,7 @@
|
|||||||
c.*
|
c.*
|
||||||
FROM
|
FROM
|
||||||
(
|
(
|
||||||
SELECT b.*,sar_standards_info.STAND_TYPE as standType FROM (
|
SELECT b.*,sar_standards_info.STAND_TYPE as standType , ts_user.UNAME as dutyEngineerName , ts_user.INSTITUTION_NAME as responsibleUnit FROM (
|
||||||
SELECT (@i:=@i+1) as rows,sar_stand_unqualified.* FROM
|
SELECT (@i:=@i+1) as rows,sar_stand_unqualified.* FROM
|
||||||
sar_stand_unqualified,(SELECT @i:=0)j
|
sar_stand_unqualified,(SELECT @i:=0)j
|
||||||
WHERE
|
WHERE
|
||||||
@@ -83,6 +83,7 @@
|
|||||||
limit #{start},#{end}
|
limit #{start},#{end}
|
||||||
)b
|
)b
|
||||||
left join sar_standards_info on b.STAND_ID = sar_standards_info.id
|
left join sar_standards_info on b.STAND_ID = sar_standards_info.id
|
||||||
|
left join ts_user on ts_user.USID = b.DUTY_ENGINEER
|
||||||
)c
|
)c
|
||||||
ORDER BY c.STAND_ID, CONVERT(SUBSTRING(c.ITEMS_NUM,1,(SELECT LOCATE('.',CONCAT(c.ITEMS_NUM,'.')))),SIGNED) ,c.rows
|
ORDER BY c.STAND_ID, CONVERT(SUBSTRING(c.ITEMS_NUM,1,(SELECT LOCATE('.',CONCAT(c.ITEMS_NUM,'.')))),SIGNED) ,c.rows
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user