From a9406b6b18ee5a8e29cad3248f46320a36ac9749 Mon Sep 17 00:00:00 2001 From: yyt <306727702@qq.com> Date: 星期三, 21 二月 2024 00:19:44 +0800 Subject: [PATCH] 批量数据采集方法更新 --- jcdm-main/src/main/java/com/jcdm/main/da/passingStationCollection/controller/DaPassingStationCollectionController.java | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/jcdm-main/src/main/java/com/jcdm/main/da/passingStationCollection/controller/DaPassingStationCollectionController.java b/jcdm-main/src/main/java/com/jcdm/main/da/passingStationCollection/controller/DaPassingStationCollectionController.java index 999b8e7..8405255 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/da/passingStationCollection/controller/DaPassingStationCollectionController.java +++ b/jcdm-main/src/main/java/com/jcdm/main/da/passingStationCollection/controller/DaPassingStationCollectionController.java @@ -3,9 +3,12 @@ import java.util.List; import javax.servlet.http.HttpServletResponse; +import com.jcdm.common.core.domain.R; import com.jcdm.common.utils.DateUtils; +import com.jcdm.main.bs.orderScheduling.domain.BsOrderScheduling; import com.jcdm.main.da.passingStationCollection.domain.DaPassingStationCollection; import com.jcdm.main.da.passingStationCollection.service.IDaPassingStationCollectionService; +import com.jcdm.main.da.passingStationCollection.vo.DaPassingStationVO; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; @@ -48,6 +51,43 @@ return getDataTable(list); } + @PreAuthorize("@ss.hasPermi('da:passingStationCollection:list')") + @GetMapping("/getTopProcess") + public TableDataInfo getTopProcess() + { + DaPassingStationCollection daPassingStationCollection = new DaPassingStationCollection(); + List<DaPassingStationVO> list = daPassingStationCollectionService.getTopProcess(daPassingStationCollection); + return getDataTable(list); + } + /** + * 鏌ヨ浜у搧杩囩珯閲囬泦鍒楄〃 + */ + @PreAuthorize("@ss.hasPermi('da:passingStationCollection:list')") + @GetMapping("/noPageList") + public TableDataInfo noPageList(DaPassingStationCollection daPassingStationCollection) + { + List<DaPassingStationCollection> list = daPassingStationCollectionService.selectDaPassingStationCollectionList(daPassingStationCollection); + return getDataTable(list); + } + + @PreAuthorize("@ss.hasPermi('da:passingStationCollection:list')") + @GetMapping("/getProduceNumToday") + public R getProduceNumToday(String fieldName) + { + Integer num = daPassingStationCollectionService.getProduceNumToday(fieldName); + return R.ok(num); + } + + /** + * 鏌ヨ浜у搧杩囩珯閲囬泦鍒楄〃 + */ + @GetMapping("/insertRepairRecordByIds") + public AjaxResult insertRepairRecordByIds(DaPassingStationCollection daPassingStationCollection) + { + daPassingStationCollectionService.insertRepairRecordByIds(daPassingStationCollection); + return AjaxResult.success(); + } + /** * 瀵煎嚭浜у搧杩囩珯閲囬泦鍒楄〃 */ -- Gitblit v1.9.3