liujiandao
2024-04-17 5cf3151ec11165b150bf6c77a02aef4f161929b1
controllers/product_controller.go
@@ -480,6 +480,7 @@
      OperationDate:     time.Now().Format("2006-01-02 15:04:05"),
      Details:           []*models.OperationDetails{detail},
      BaseOperationType: constvar.BaseOperationTypeDisuse,
      OperationTypeName: "库存报废",
   }
   if err := models.NewOperationSearch().Create(&operation); err != nil {
      logx.Errorf("Operation create err: %v", err)