fix: rebuild MES as compilable go-zero+ent backend (renamed bj_power_mes), restore 3 workstation projects from pristine original, align naming; all Go projects go build clean

This commit is contained in:
SunYF
2026-08-27 10:56:41 +08:00
parent 380715f8a9
commit 371b494c54
523 changed files with 67923 additions and 24758 deletions
@@ -0,0 +1,30 @@
package scheduler
import (
"context"
"bj_power_mes/internal/svc"
"bj_power_mes/internal/types"
"github.com/zeromicro/go-zero/core/logx"
)
type ReadyJobsLogic struct {
logx.Logger
ctx context.Context
svcCtx *svc.ServiceContext
}
func NewReadyJobsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadyJobsLogic {
return &ReadyJobsLogic{
Logger: logx.WithContext(ctx),
ctx: ctx,
svcCtx: svcCtx,
}
}
func (l *ReadyJobsLogic) ReadyJobs() (*types.ReadyJobsReply, error) {
return &types.ReadyJobsReply{
Jobs: []types.ReadyJobReply{},
}, nil
}