liyong
4 天以前 274a61f398e1d7b4ae63208897b70b3a73b30805
src/main/java/com/ruoyi/common/config/MybatisHandler.java
@@ -12,7 +12,7 @@
    @Override
    public void insertFill(MetaObject metaObject) {
        Integer userId = null;
        Integer tenantId = null;
        Long tenantId = null;
        try {
            userId = SecurityUtils.getUserId().intValue();
            tenantId = SecurityUtils.getLoginUser().getTenantId();
@@ -23,7 +23,7 @@
        this.strictInsertFill(metaObject, "updateTime",  LocalDateTime.class, LocalDateTime.now());
        this.strictInsertFill(metaObject, "createUser", Integer.class, userId);
        this.strictInsertFill(metaObject, "updateUser", Integer.class, userId);
        this.strictInsertFill(metaObject, "tenantId", Integer.class, tenantId);
        this.strictInsertFill(metaObject, "tenantId", Long.class, tenantId);
    }
    @Override