|
@@ -4,14 +4,14 @@ import (
|
|
|
"context"
|
|
|
"errors"
|
|
|
"fmt"
|
|
|
- operationPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/operation"
|
|
|
- "gitee.com/xuyiping_admin/pkg/xerr"
|
|
|
- "github.com/xormplus/xorm"
|
|
|
- "go.uber.org/zap"
|
|
|
"strconv"
|
|
|
"tmr-watch/http/handle/restful"
|
|
|
"tmr-watch/models"
|
|
|
- "tmr-watch/pkg/logger/zaplog"
|
|
|
+
|
|
|
+ operationPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/operation"
|
|
|
+ "gitee.com/xuyiping_admin/pkg/xerr"
|
|
|
+ "github.com/xormplus/xorm"
|
|
|
+ // "tmr-watch/pkg/logger/zaplog"
|
|
|
)
|
|
|
|
|
|
// SearchTrmGearByTmrId 查询撒料电机档位数据
|
|
@@ -88,7 +88,7 @@ func UseTmrGear(ctx context.Context, req *operationPb.UseGearRequest) ([]*models
|
|
|
return nil, xerr.WithStack(err)
|
|
|
}
|
|
|
|
|
|
- zaplog.Info("UseTmrGear", zap.Any("resultList", resultList), zap.Any("sqlName", sqlName))
|
|
|
+ // zaplog.Info("UseTmrGear", zap.Any("resultList", resultList), zap.Any("sqlName", sqlName))
|
|
|
|
|
|
tmrGearDetailList := make([]*models.TmrGearDetail, 0)
|
|
|
for _, v := range resultList {
|