From 08a781b2938354108a77ddd3796cd4a237097621 Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Fri, 20 Oct 2023 14:54:42 +0800
Subject: [PATCH] 补充提交

---
 screen-api/src/main/java/com/moral/api/service/AllocationService.java |   74 +++++++++++++++++++++++++++++++++++-
 1 files changed, 71 insertions(+), 3 deletions(-)

diff --git a/screen-api/src/main/java/com/moral/api/service/AllocationService.java b/screen-api/src/main/java/com/moral/api/service/AllocationService.java
index 680e161..58f721f 100644
--- a/screen-api/src/main/java/com/moral/api/service/AllocationService.java
+++ b/screen-api/src/main/java/com/moral/api/service/AllocationService.java
@@ -14,6 +14,8 @@
 import com.moral.api.pojo.query.allocation.*;
 import com.moral.api.pojo.dto.allocation.AllocationUnitDto;
 import com.moral.api.pojo.query.allocationextension.AllocationExtensionAddCond;
+import com.moral.api.pojo.vo.allocation.AllocationFindVo;
+import com.moral.api.pojo.vo.allocation.AllocationPageVo;
 
 public interface AllocationService extends IService<Allocation> {
 
@@ -23,11 +25,24 @@
 
     Integer insertAllocation(AllocationAddCond allocation);
 
-    AllocationUnitDto check(Integer id);
-
     void updateAll(AllocationUpdateCond allocationUpdateCond);
 
-    List<Allocation> selectAll(Map<String,Object> map);
+    /**
+     *  ������������������ 0������ ������������������
+     * @return
+     */
+    List<Integer> unitResult();
+
+    /**
+     * ������������ ������������������������ 1������������������2���������������0������������
+     * ������������������������������
+     * @return
+     */
+    Integer unitAreaCode();
+
+    Map<String, Object> selectUnitView(Map<String,Object> map);
+
+    List<Map<String,Object>> unitExel(Map<String,Object> map);
 
     Page<AllocationPageExt> extPage(AllocationPageCond allocationPageCond);
     /**
@@ -37,14 +52,38 @@
      */
     AllocationExt extOne(Integer id);
 
+    /**
+     * ������������
+     * @param id
+     * @return
+     */
      AllocationExt oneAllocation(Integer id);
 
+    /**
+     * ������
+     * @param changeCond
+     */
     void changeAllocation(AllocationChangeCond changeCond);
 
+    /**
+     * ������
+     * @param checkCond
+     */
     void checkAllocation(AllocationCheckCond checkCond);
 
+    /**
+     * ������
+     * @param id
+     * @return
+     */
     boolean removeById(Integer id);
 
+    /**
+     * ������
+     * @param id
+     * @param invalidReason
+     * @return
+     */
     boolean invalidResult (Integer id,String invalidReason);
 
     /**
@@ -54,5 +93,34 @@
      */
     List<AllocationListExt> extList(AllocationListCond allocationListCond);
 
+    /**
+     * ������������
+     * @param allocationExtensionAddCond
+     * @return
+     */
     boolean applyFor (AllocationExtensionAddCond allocationExtensionAddCond);
+
+    /**
+     * ���������������
+     * @param state
+     * @return
+     */
+    List<AllocationFindVo> selectSmallRoutine(Integer state,String startTime,String endTime);
+
+
+    /**
+     * ���������������
+     * @param changeCond
+     */
+    void changeSmallRoutine(AllocationChangeCond changeCond);
+
+
+
+    /**
+     * ���������������
+     * @param checkCond
+     */
+    void checkSmallRoutine(AllocationCheckCond checkCond);
+
+
 }

--
Gitblit v1.8.0