Investigate the SQLConfig class, specifically the getUserIdKey method and how it interacts with the auto fill logic for created by and update by fields. Review the comments in the issue (https://github.com/Tencent/APIJSON/issues/376) for any maintainer responses. Look at the insert handling code in the relevant ORM mapper to understand how the auto fill is triggered and why overriding getUserIdKey causes the loss of created by.
重写SQLConfig的getUserIdKey方法后,insert自动充填会丢失created_by字段 · Tencent/APIJSON#376 | Good First Issue