equipment.go 295 B

1234567891011121314
  1. package equipment
  2. import "lims_adapter/dao"
  3. // Service 设备
  4. type Service struct {
  5. Dao *dao.BaseEquipmentQualificationDao
  6. Tenant string
  7. }
  8. // NewSrv 服务初始化
  9. func NewSrv(tenant string) Service {
  10. return Service{Dao: dao.NewBaseEquipmentQualificationDao(tenant), Tenant: tenant}
  11. }