From f1c809bfd2f0b6b0431a767c2a04e7a924392410 Mon Sep 17 00:00:00 2001 From: tikkhun Date: Sat, 10 Jan 2026 11:52:04 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=9C=AA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=E5=AF=BC=E5=85=A5=E5=92=8C=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E6=8E=89=E7=9A=84=E7=94=9F=E5=91=BD=E5=91=A8=E6=9C=9F?= =?UTF-8?q?=E9=92=A9=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entity/order_sale.entity.ts | 4 ++-- src/service/order.service.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/entity/order_sale.entity.ts b/src/entity/order_sale.entity.ts index 96913d6..5ceb758 100644 --- a/src/entity/order_sale.entity.ts +++ b/src/entity/order_sale.entity.ts @@ -1,8 +1,8 @@ import { ApiProperty } from '@midwayjs/swagger'; import { Exclude, Expose } from 'class-transformer'; import { - BeforeInsert, - BeforeUpdate, + // BeforeInsert, + // BeforeUpdate, Column, CreateDateColumn, Entity, diff --git a/src/service/order.service.ts b/src/service/order.service.ts index 0a88264..3b4a826 100644 --- a/src/service/order.service.ts +++ b/src/service/order.service.ts @@ -39,7 +39,6 @@ import * as path from 'path'; import * as os from 'os'; import { UnifiedOrderDTO } from '../dto/site-api.dto'; import { CustomerService } from './customer.service'; -import { DictItem } from '../entity/dict_item.entity'; import { ProductService } from './product.service'; @Provide() export class OrderService {