Merge remote-tracking branch 'origin/master'

This commit is contained in:
Tankaikai
2025-02-20 10:27:50 +08:00
4 changed files with 29 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ public class ShopStaffController {
@SaAdminCheckPermission("shopStaff:detail")
@GetMapping("/detail")
public CzgResult<ShopStaff> detail(@RequestParam Long id) {
return CzgResult.success(shopStaffService.queryChain().eq(ShopStaff::getId, id).eq(ShopStaff::getShopId, StpKit.USER.getShopId()).one());
return CzgResult.success(shopStaffService.detail(StpKit.USER.getShopId(), id));
}
/**