Aktivity „nabass“

Odpoveď

i already did it and all is good

Otázka

hi sir, i have a big problem now i made a query and used jsTree to make tree view and it works good but it works for just one level what i mean is one parent has 2 child what if one of these child is parent for another child what should i do? i want to make a view like image 1 and this is my query which is working good but just for one level of parent like image 2 is ABP support this feature and has a documentation link to do that or not??

ALTER PROCEDURE [dbo].[GetAccountTreeStructure2] AS BEGIN SET NOCOUNT ON;

WITH RecursiveCTE AS (
    -- Anchor member: Select root nodes (accounts with no parent)
    SELECT
        A.Id,
        A.AccountName AS ChildName,
        A.ParentAccountId,
        A.AccountLevelId,
        AL.AccountLevelTitle AS ParentName,
        0 AS Level
    FROM
        Acc_Account A
    INNER JOIN
        Acc_AccountLevel AL ON A.AccountLevelId = AL.Id
    WHERE
        A.ParentAccountId IS  NULL 

    UNION ALL

    -- Recursive member: Select child nodes recursively
    SELECT
        A.Id,
        A.AccountName AS ChildName,
        A.ParentAccountId,
        A.AccountLevelId,
        AL.AccountLevelTitle AS ParentName,
        Level + 1 AS Level
    FROM
        Acc_Account A
    INNER JOIN
        Acc_AccountLevel AL ON A.AccountLevelId = AL.Id
    INNER JOIN
        RecursiveCTE R ON A.ParentAccountId = R.Id
)

-- Final query to retrieve the tree structure with account and level information
SELECT
    Id,
    ChildName,
    ParentAccountId,
    AccountLevelId,
    ParentName,
    Level  -- Include the Level column to display the level of each node
FROM
    RecursiveCTE;

END;

  • ABP Framework version: v8
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
Odpoveď

hi no , no errors when build

Odpoveď

thanks sir it works

Otázka

hello sir, when i tried to give an input id to catch it and make some logic it doesn't work i attached some screenshots for the problem is that a bug in framework??

  • ABP Framework version: v8
  • UI Type: MVCr
  • Database System: EF Core (SQL Server)
Odpoveď

hi sir, i catch the problem it's when i get the project from AZURE and started to build entities using Suite error message (build failed check solution) will show but when i started to build project from scratch using suite it works good so how can i fix this error because i cant push my updates into server to Co-workers

hi sir i have a problem into my manager class in Domain Application according to your documentation you use DomainService which includes GuidGenerator.create to create Guid but what if my class is from (int) type like image below what should i do??

  • ABP Framework version: v8
  • UI Type:MVC
  • Database System: EF Core (SQL Server)
Odpoveď

hi sir no errors in build and it works very very very good thanks to amazing framework despite there are some features hope to customize it in new version my abp v8, cli 8.0.2 let's jumping steps 1- domain project and put my entity 2- domain shared and put my enum 3- entity framework and put my builder and updated database 4- app.contract and add Dto + createUpdate + Interface 5- app and add service 6- create mapping 7- did my UI all is working good and lets considered steps above is for master class now i want to do detail class using ABP suite after choosing add existing solution and add my new entity & property it shows me that error i think that is because suite generate deffrient classes OMG i afraid that if i want to make master detail i should and must do master using suite then do detail

Odpoveď

hi sir it doesn't work i tried to give id display block but it still hidden see this datapicker i want when it date is changed to alert something just for try if it works or not i took your code response but still not working i even catch all form control to make any change but no javascript

Otázka

Hi sir i generated project using abp suite but i created my master page using normal steps like book tutorial i didn't use suite to customize my code because it generate a lot of classes so... want to generate detail page using abp suite i already have master like i mentioned before doing it by my self using auto CrudAppService method and these are steps that i did to do detail page

  • ABP Framework version: v8
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
Zobrazených 51 až 60 z 72 záznamov
Made with ❤️ on ABP v8.2.0-preview Updated on marca 25, 2024, 15:11