|
|
@@ -4,11 +4,12 @@ import (
|
|
|
"context"
|
|
|
"database/sql"
|
|
|
"fmt"
|
|
|
+ "strings"
|
|
|
+ "time"
|
|
|
+
|
|
|
"git.i2edu.net/i2/i2-bill-erp/transform"
|
|
|
"git.i2edu.net/i2/i2-bill-erp/transformclient"
|
|
|
"github.com/xormplus/xorm"
|
|
|
- "strings"
|
|
|
- "time"
|
|
|
|
|
|
"git.i2edu.net/i2/go-zero/core/stores/cache"
|
|
|
"git.i2edu.net/i2/go-zero/core/stores/sqlc"
|
|
|
@@ -224,8 +225,9 @@ func GetI2bilUserInfo(userId int64, engine *xorm.Engine) (*UserXorm, error) {
|
|
|
}
|
|
|
|
|
|
func GetAcquirePerm(userId int64, rpcClient transformclient.Transform, engine *xorm.Engine, ctx context.Context) (*transform.GetErpRoleRes, error) {
|
|
|
-
|
|
|
partUser, err := GetPartTimeXormByUserId(userId, engine)
|
|
|
+ fmt.Println("----------", err)
|
|
|
+
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|