From 1eae2c9080c2ddefe254c797b13e50c593951013 Mon Sep 17 00:00:00 2001 From: erdanergou Date: Thu, 25 May 2023 14:29:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=EF=BC=8C=E6=AF=8F=E5=A4=A9=E5=87=8C=E6=99=A8=E6=B8=85?= =?UTF-8?q?=E9=99=A4=E5=87=BA=E5=BA=93=E6=95=B0=E9=87=8F=E4=B8=BA=E9=9B=B6?= =?UTF-8?q?=E7=9A=84=E5=87=BA=E5=BA=93=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/DepositoryRecordMapper.java | 6 ++++++ .../mapper/DepositoryRecordMapper.xml | 9 ++++++++- .../scheduled/SaticScheduleTask.java | 10 +++++++++- .../service/DepositoryRecordService.java | 5 +++++ .../impl/DepositoryRecordServiceImpl.java | 20 +++++++++++++++++++ 5 files changed, 48 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.java b/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.java index ea51cc11..519b6769 100644 --- a/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.java +++ b/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.java @@ -279,6 +279,12 @@ public interface DepositoryRecordMapper { */ List findApplicationOutRecordPByCondition(Map map); + /** + * 获取所有数量为0的出库单 + * @return + */ + List findApplicationOutRecordPForBad(); + /** * 查询当前用户出库记录及其管理仓库的出库记录 * @param map 查询条件 diff --git a/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml b/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml index 3e866603..13a54146 100644 --- a/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml +++ b/src/main/java/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml @@ -562,7 +562,7 @@ and applyRemark like CONCAT('%', #{applyRemark}, '%') - and aorcode = #{code} + and aorcode = #{aorcode} and departmenthead = #{departmenthead} @@ -618,6 +618,13 @@ + +