From f2f77f203fd6b054197ecaba0517a159e8b3ac8f Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Mon, 30 Oct 2023 15:48:24 +0800
Subject: [PATCH] fix:补偿0问题修改

---
 screen-api/src/main/java/com/moral/api/service/AllocationService.java |  120 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 115 insertions(+), 5 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 934a467..f98f7e4 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
@@ -4,11 +4,21 @@
 import java.util.Map;
 
 
-
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.baomidou.mybatisplus.extension.service.IService;
 import com.moral.api.entity.Allocation;
 import com.moral.api.entity.ResponsibilityUnit;
+import com.moral.api.pojo.ext.allocation.AllocationExt;
+import com.moral.api.pojo.ext.allocation.AllocationListExt;
+import com.moral.api.pojo.ext.allocation.AllocationPageExt;
+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.query.app.AppAllocationFileCond;
+import com.moral.api.pojo.query.app.AppAllocationPageCond;
+import com.moral.api.pojo.vo.allocation.AllocationFindVo;
+import com.moral.api.pojo.vo.allocation.AllocationPageVo;
+import com.moral.api.pojo.vo.app.AppAllocationFindVo;
 
 public interface AllocationService extends IService<Allocation> {
 
@@ -16,12 +26,112 @@
 
     List<ResponsibilityUnit> seleteUnit();
 
-    Integer insertAllocation(Allocation allocation);
+    Integer insertAllocation(AllocationAddCond allocation);
 
-    AllocationUnitDto check(Integer id);
+    void updateAll(AllocationUpdateCond allocationUpdateCond);
 
-    void updateAll(Allocation allocation);
+    /**
+     *  ������������������ 0������ ������������������
+     * @return
+     */
+    List<Integer> unitResult();
 
-    List<Allocation> selectAll(Map<String,Object> map);
+    /**
+     * ������������ ������������������������ 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);
+    /**
+     * ������id������������
+     * @param id
+     * @return AllocationExt
+     */
+    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);
+
+    /**
+     * ������������������
+     * @param allocationListCond
+     * @return AllocationListExt
+     */
+    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 allocationPageCond
+     * @return
+     */
+    Page<AllocationPageExt> pageApp(AppAllocationPageCond allocationPageCond);
+
+    boolean saveFile(AppAllocationFileCond appAllocationFileCond);
+
+    /**
+     * ���������������
+     * @param changeCond
+     */
+    void changeSmallRoutine(AllocationChangeCond changeCond);
+
+
+
+    /**
+     * ���������������
+     * @param checkCond
+     */
+    void checkSmallRoutine(AllocationCheckCond checkCond);
+
 
 }

--
Gitblit v1.8.0