Skip to content

update方法返回统一 #131

@ruei0325

Description

@ruei0325

image

src/Dao/GeneralDaoImpl.php 中update方法会调用updateById()和updateByConditions(),前者返回更新后的资源,后者确返回生效条数。

期望都返回更新后的资源。

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