From ea3c33c8561df39d4f123d1424fda99dd0f0c51d Mon Sep 17 00:00:00 2001 From: wujian <14790700720@163.com> Date: 星期四, 14 十一月 2024 08:15:41 +0800 Subject: [PATCH] add - panel --- jcdm-main/src/main/java/com/jcdm/main/bs/orderScheduling/mapper/BsOrderSchedulingMapper.java | 46 ++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 38 insertions(+), 8 deletions(-) diff --git a/jcdm-main/src/main/java/com/jcdm/main/bs/orderScheduling/mapper/BsOrderSchedulingMapper.java b/jcdm-main/src/main/java/com/jcdm/main/bs/orderScheduling/mapper/BsOrderSchedulingMapper.java index 4456fa7..b803998 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/bs/orderScheduling/mapper/BsOrderSchedulingMapper.java +++ b/jcdm-main/src/main/java/com/jcdm/main/bs/orderScheduling/mapper/BsOrderSchedulingMapper.java @@ -1,23 +1,36 @@ package com.jcdm.main.bs.orderScheduling.mapper; -import java.util.List; +import com.jcdm.main.bs.orderScheduling.Query.PrepareOnlineQuery; import com.jcdm.main.bs.orderScheduling.domain.BsOrderScheduling; +import com.jcdm.main.da.passingStationCollection.domain.ProductNumVO; +import org.apache.ibatis.annotations.Param; + +import java.time.LocalDate; +import java.util.List; /** * 璁㈠崟鎺掍骇Mapper鎺ュ彛 * * @author jiang - * @date 2024-01-09 + * @date 2024-01-13 */ public interface BsOrderSchedulingMapper { /** * 鏌ヨ璁㈠崟鎺掍骇 * - * @param orderNumber 璁㈠崟鎺掍骇涓婚敭 + * @param id 璁㈠崟鎺掍骇涓婚敭 * @return 璁㈠崟鎺掍骇 */ - public BsOrderScheduling selectBsOrderSchedulingByOrderNumber(String orderNumber); + public BsOrderScheduling selectBsOrderSchedulingById(Long id); + + /** + * 鏌ヨ璁㈠崟鎺掍骇 + * + * @param sncode 璁㈠崟鎺掍骇鍙戝姩鏈哄彿 + * @return 璁㈠崟鎺掍骇 + */ + public BsOrderScheduling selectBsOrderSchedulingSNCode(String sncode); /** * 鏌ヨ璁㈠崟鎺掍骇鍒楄〃 @@ -26,6 +39,21 @@ * @return 璁㈠崟鎺掍骇闆嗗悎 */ public List<BsOrderScheduling> selectBsOrderSchedulingList(BsOrderScheduling bsOrderScheduling); + public List<BsOrderScheduling> selectBsOrderSchedulingForReport(BsOrderScheduling bsOrderScheduling); + public List<BsOrderScheduling> selectBsOrderSchedulingListForNum(@Param("queryDate") String queryDate,@Param("addQueryDate") String addQueryDate); + + public List<BsOrderScheduling> selectBsOrderSchedulingPage(BsOrderScheduling bsOrderScheduling); + + + public Integer getProduceNumToday(BsOrderScheduling bsOrderScheduling); + + /** + * 鏌ヨ鍚堢涓婄嚎鍒楄〃 + * + * @param prepareOnlineQuery 璁㈠崟鎺掍骇 + * @return 鍚堢涓婄嚎鍒楄〃 + */ + public List<BsOrderScheduling> getPrepareOnlineList(PrepareOnlineQuery prepareOnlineQuery); /** * 鏂板璁㈠崟鎺掍骇 @@ -46,16 +74,18 @@ /** * 鍒犻櫎璁㈠崟鎺掍骇 * - * @param orderNumber 璁㈠崟鎺掍骇涓婚敭 + * @param id 璁㈠崟鎺掍骇涓婚敭 * @return 缁撴灉 */ - public int deleteBsOrderSchedulingByOrderNumber(String orderNumber); + public int deleteBsOrderSchedulingById(Long id); /** * 鎵归噺鍒犻櫎璁㈠崟鎺掍骇 * - * @param orderNumbers 闇�瑕佸垹闄ょ殑鏁版嵁涓婚敭闆嗗悎 + * @param ids 闇�瑕佸垹闄ょ殑鏁版嵁涓婚敭闆嗗悎 * @return 缁撴灉 */ - public int deleteBsOrderSchedulingByOrderNumbers(String[] orderNumbers); + public int deleteBsOrderSchedulingByIds(Long[] ids); + + public List<ProductNumVO> getProductNum(@Param("queryDate") String queryDate,@Param("addQueryDate") String addQueryDate); } -- Gitblit v1.9.3