From 03a3edee9ff27fa9bb4b32dcda08e279c7c094c8 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期五, 28 十一月 2025 17:30:11 +0800
Subject: [PATCH] 功能修改
---
multi-system/src/main/java/com/gkhy/exam/system/service/impl/SupplierSureServiceImpl.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/SupplierSureServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/SupplierSureServiceImpl.java
index 597a75a..5b193d6 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/SupplierSureServiceImpl.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/SupplierSureServiceImpl.java
@@ -7,7 +7,10 @@
import com.gkhy.exam.common.utils.PageUtils;
import com.gkhy.exam.common.utils.SecurityUtils;
import com.gkhy.exam.system.domain.SupplierSure;
+import com.gkhy.exam.system.domain.SupplierSurePerformance;
import com.gkhy.exam.system.mapper.SupplierSureMapper;
+import com.gkhy.exam.system.mapper.SupplierSurePerformanceMapper;
+import com.gkhy.exam.system.mapper.SupplierSureQualityMapper;
import com.gkhy.exam.system.service.SupplierSureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -20,6 +23,10 @@
@Autowired
private SupplierSureMapper supplierSureMapper;
+ @Autowired
+ private SupplierSurePerformanceMapper performanceMapper;
+ @Autowired
+ private SupplierSureQualityMapper qualityMapper;
@Override
public CommonPage selectSupplierList(SupplierSure sure) {
@@ -38,6 +45,8 @@
sure.setCreateTime(LocalDateTime.now());
sure.setCreateBy(SecurityUtils.getUsername());
supplierSureMapper.insert(sure);
+ performanceMapper.savePerformance(sure.getId());
+ qualityMapper.saveQuality(sure.getId());
return CommonResult.success();
}
--
Gitblit v1.9.2