From c74dcb8dca7b9e3eded0d20299f19a26a6b70974 Mon Sep 17 00:00:00 2001 From: wujian <14790700720@163.com> Date: 星期三, 31 一月 2024 12:48:45 +0800 Subject: [PATCH] add 追溯报表 --- jcdm-main/src/main/java/com/jcdm/main/da/passingStationCollection/controller/DaPassingStationCollectionController.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 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 973d321..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,33 @@ 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); + } + /** * 鏌ヨ浜у搧杩囩珯閲囬泦鍒楄〃 */ -- Gitblit v1.9.3