1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| import { Inject } from '@midwayjs/core';
| import { CoolController, BaseController } from '@cool-midway/core';
| import { RecycleAppointmentLogEntity } from '../../entity/recycleappointmentlog';
| import { RecycleAppointmentLogService } from '../../service/recycleappointmentlog';
|
| /**
| * 回收物品预约信息详细日志控制器
| */
| @CoolController({
| api: ['add', 'delete', 'update', 'info', 'list', 'page'],
| entity: RecycleAppointmentLogEntity,
| service: RecycleAppointmentLogService,
| pageQueryOp: {
| fieldEq: [
| 'a.appointmentId',
| 'a.action',
| 'a.operatorType',
| 'a.operatorId',
| ],
| },
| })
| export class AdminRecycleAppointmentLogController extends BaseController {
| @Inject()
| recycleAppointmentLogService: RecycleAppointmentLogService;
| }
|
|