This commit is contained in:
parent
2eebead81c
commit
081f5e002d
|
@ -2,7 +2,7 @@
|
||||||
"name": "huaxin-admin",
|
"name": "huaxin-admin",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@8.10.2",
|
"packageManager": "pnpm@9.1.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18",
|
"node": ">=18",
|
||||||
|
|
14510
pnpm-lock.yaml
14510
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -32,6 +32,7 @@ import { ProjectModule } from './modules/project/project.module';
|
||||||
import {VehicleUsageModule} from './modules/vehicle_usage/vehicle_usage.module';
|
import {VehicleUsageModule} from './modules/vehicle_usage/vehicle_usage.module';
|
||||||
import {SaleQuotationModule} from './modules/sale_quotation/sale_quotation.module';
|
import {SaleQuotationModule} from './modules/sale_quotation/sale_quotation.module';
|
||||||
import {DomainModule} from './modules/domian/domain.module';
|
import {DomainModule} from './modules/domian/domain.module';
|
||||||
|
import {BabyRecordModule} from "~/modules/baby_record/baby_record.module";
|
||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -80,7 +81,9 @@ import { DomainModule } from './modules/domian/domain.module';
|
||||||
//报价管理
|
//报价管理
|
||||||
SaleQuotationModule,
|
SaleQuotationModule,
|
||||||
//域
|
//域
|
||||||
DomainModule
|
DomainModule,
|
||||||
|
// 宝宝管理
|
||||||
|
BabyRecordModule
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
{provide: APP_FILTER, useClass: AllExceptionsFilter},
|
{provide: APP_FILTER, useClass: AllExceptionsFilter},
|
||||||
|
@ -95,4 +98,5 @@ import { DomainModule } from './modules/domian/domain.module';
|
||||||
],
|
],
|
||||||
controllers: []
|
controllers: []
|
||||||
})
|
})
|
||||||
export class AppModule {}
|
export class AppModule {
|
||||||
|
}
|
||||||
|
|
|
@ -46,3 +46,8 @@ export enum ResourceDeviceEnum {
|
||||||
APP = 0,
|
APP = 0,
|
||||||
PC = 1
|
PC = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 宝宝动作
|
||||||
|
export enum BabyActionEnum {
|
||||||
|
Pee, Shit, Breast, Bottle
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
import {Module} from '@nestjs/common';
|
||||||
|
import {TypeOrmModule} from '@nestjs/typeorm';
|
||||||
|
import {StorageModule} from '../tools/storage/storage.module';
|
||||||
|
import {ParamConfigModule} from '../system/param-config/param-config.module';
|
||||||
|
import {ProjectModule} from '../project/project.module';
|
||||||
|
import {ProjectEntity} from '../project/project.entity';
|
||||||
|
import {BabyRecordEntity} from "~/modules/baby_record/baby_record.entity";
|
||||||
|
import {BabyRecordService} from "~/modules/baby_record/baby_record.service";
|
||||||
|
import {BabyRecordController} from "~/modules/baby_record/baby_record.controller";
|
||||||
|
|
||||||
|
@Module({
|
||||||
|
imports: [
|
||||||
|
TypeOrmModule.forFeature([BabyRecordEntity,]),
|
||||||
|
ParamConfigModule,
|
||||||
|
StorageModule,
|
||||||
|
ProjectModule
|
||||||
|
],
|
||||||
|
controllers: [BabyRecordController],
|
||||||
|
providers: [BabyRecordService]
|
||||||
|
})
|
||||||
|
export class BabyRecordModule {
|
||||||
|
}
|
|
@ -10,10 +10,11 @@ import { MaterialsInOutEntity } from './in_out/materials_in_out.entity';
|
||||||
import { ParamConfigModule } from '../system/param-config/param-config.module';
|
import { ParamConfigModule } from '../system/param-config/param-config.module';
|
||||||
import { ProjectModule } from '../project/project.module';
|
import { ProjectModule } from '../project/project.module';
|
||||||
import { ProjectEntity } from '../project/project.entity';
|
import { ProjectEntity } from '../project/project.entity';
|
||||||
|
import {BabyRecordEntity} from "~/modules/baby_record/baby_record.entity";
|
||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
imports: [
|
imports: [
|
||||||
TypeOrmModule.forFeature([MaterialsInventoryEntity, MaterialsInOutEntity,ProjectEntity]),
|
TypeOrmModule.forFeature([MaterialsInventoryEntity, MaterialsInOutEntity,ProjectEntity,BabyRecordEntity]),
|
||||||
ParamConfigModule,
|
ParamConfigModule,
|
||||||
StorageModule,
|
StorageModule,
|
||||||
ProjectModule
|
ProjectModule
|
||||||
|
|
Loading…
Reference in New Issue