create_staff_assess_test.go 505 字节
package service

import (
	"testing"

	"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/domain"
)

func TestXxx(t *testing.T) {
	srv := StaffAssessServeice{}
	taskRecord, err := srv.buildTaskRecord(&domain.StaffAssess{
		CompanyId:           8,
		CycleId:             1667093923689926656,
		EvaluationProjectId: 1675753960259981312,
		Executor: domain.StaffDesc{
			UserId: 3255361876566784,
		},
	})
	if err != nil {
		t.Error(err)
	}
	for _, val := range taskRecord {
		t.Logf("%+v", *val)
	}

}