完善市场法规库清单删除
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ public class MarketStandardController {
|
|||||||
return Result.error("请选择数据!");
|
return Result.error("请选择数据!");
|
||||||
}
|
}
|
||||||
this.marketStandardService.deleteById(map.get("id"));
|
this.marketStandardService.deleteById(map.get("id"));
|
||||||
return Result.OK("批量删除成功!");
|
return Result.OK("删除成功!");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@
|
|||||||
from laws_market_standard ms
|
from laws_market_standard ms
|
||||||
JOIN (
|
JOIN (
|
||||||
SELECT manifest_no as manifest_no_max, MAX(manifest_version) AS manifest_version_max
|
SELECT manifest_no as manifest_no_max, MAX(manifest_version) AS manifest_version_max
|
||||||
FROM laws_market_standard
|
FROM laws_market_standard where del_flag = 0
|
||||||
GROUP BY manifest_no
|
GROUP BY manifest_no
|
||||||
) ms1 on ms1.manifest_version_max = ms.manifest_version and ms1.manifest_no_max = ms.manifest_no
|
) ms1 on ms1.manifest_version_max = ms.manifest_version and ms1.manifest_no_max = ms.manifest_no
|
||||||
left join sys_user as u on u.id = ms.author
|
left join sys_user as u on u.id = ms.author
|
||||||
|
|||||||
Reference in New Issue
Block a user