From 8368ca0f6242f34a3c342998bf353312878fc7a1 Mon Sep 17 00:00:00 2001 From: lyx <2027667395@qq.com> Date: Fri, 22 Mar 2024 11:24:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=81=A2=E5=A4=8D=E4=B8=8D=E5=BF=85?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E5=88=A4=E6=96=AD=E5=86=99=E6=B3=95=EF=BC=8C?= =?UTF-8?q?valuse=E4=B8=8D=E5=8F=AF=E8=83=BD=E4=B8=BA=E7=A9=BA=EF=BC=8C?= =?UTF-8?q?=E4=B8=8D=E5=BF=85=E8=A6=81=E6=89=93=E9=97=AE=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../@hera/plugin-rental/src/server/services/record-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/@hera/plugin-rental/src/server/services/record-service.ts b/packages/plugins/@hera/plugin-rental/src/server/services/record-service.ts index dfaf2cc69..9abd10956 100644 --- a/packages/plugins/@hera/plugin-rental/src/server/services/record-service.ts +++ b/packages/plugins/@hera/plugin-rental/src/server/services/record-service.ts @@ -35,7 +35,7 @@ export class RecordService { return; } // 运输单的创建会走订单的update,如果存在waybill一定是在录运输单 - if (values?.waybill) return; + if (values.waybill) return; if (values.record_category === RecordTypes.purchaseDirect || values.record_category === RecordTypes.rentDirect) { const deleteDatas = await this.db.getRepository('records').find({ where: { direct_record_id: model.id } }); // 删除订单多对多项目表数据