未符合项整改回显
This commit is contained in:
+2
-1
@@ -61,7 +61,7 @@
|
||||
c.*
|
||||
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
|
||||
sar_stand_unqualified,(SELECT @i:=0)j
|
||||
WHERE
|
||||
@@ -83,6 +83,7 @@
|
||||
limit #{start},#{end}
|
||||
)b
|
||||
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
|
||||
ORDER BY c.STAND_ID, CONVERT(SUBSTRING(c.ITEMS_NUM,1,(SELECT LOCATE('.',CONCAT(c.ITEMS_NUM,'.')))),SIGNED) ,c.rows
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user