Skip to content

Service和Repo责任划分不清晰 #18

Description

@chenyanzz

很多Service直接继承了Repo的底层查询逻辑,而不涉及详细的业务封装,反而Controller里采用Service的底层查询接口,直接转发到Repo层查询,那么和直接使用Repo是没有区别的;反而多出来了一层无意义的架构,建议明确Service层的定位

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions