Revert "Revert "fix:质检发货资料相关修复""

This reverts commit ddf31f3fbe.
This commit is contained in:
miguannan
2026-05-21 19:58:47 +08:00
parent ddf31f3fbe
commit 53589c2f4f
5 changed files with 538 additions and 364 deletions

View File

@@ -56,7 +56,7 @@ class Role extends Common
$results = db('system_router')->alias('router')
->join('system_role', 'system_role.router_id = router.id OR system_role.router_id LIKE concat(router.id, \',%\') OR system_role.router_id LIKE concat(\'%,\', router.id) OR system_role.router_id LIKE concat(\'%,\', router.id, \',%\') OR system_role.router_id LIKE concat(\'%,\', router.id, \',%\')', 'LEFT')
->field('router.*, GROUP_CONCAT(system_role.role_name) as roles')
->group('router.path')
->group('router.id')
->select();
$this->sendSuccess($results);
}