Dockerfile

This commit is contained in:
2026-03-18 10:18:03 +08:00
parent 5c5dbc7420
commit b65f3439f3
189 changed files with 19027 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
// 库存预警控制器
// 职责:预警查询接口(无Create/Update/Delete由系统自动生成)
// 调用服务service.InventoryWarning
// 注意:只读接口,无写操作
package controller
import (
dto "assets/model/dto/stock"
service "assets/service/stock"
"context"
)
type inventoryWarning struct{}
var InventoryWarning = new(inventoryWarning)
func init() {
}
func (c *inventoryWarning) GetInventoryWarning(ctx context.Context, req *dto.GetInventoryWarningReq) (res *dto.GetInventoryWarningRes, err error) {
return service.InventoryWarning.GetOne(ctx, req)
}
func (c *inventoryWarning) ListInventoryWarnings(ctx context.Context, req *dto.ListInventoryWarningReq) (res *dto.ListInventoryWarningRes, err error) {
return service.InventoryWarning.List(ctx, req)
}