From 6992aaf0587c09f7c511c1afd12e1519d91363d3 Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Thu, 14 Dec 2023 15:38:45 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/cjl' into qa

---
 screen-api/src/main/java/com/moral/api/service/AllocationService.java |  107 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 106 insertions(+), 1 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 51278e3..18b9bcb 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
@@ -7,13 +7,18 @@
 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.AllocationLog;
 import com.moral.api.entity.ResponsibilityUnit;
+import com.moral.api.pojo.ext.allocation.AllocationExcelExt;
 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.app.AppAuthority;
 
 public interface AllocationService extends IService<Allocation> {
 
@@ -25,8 +30,17 @@
 
     void updateAll(AllocationUpdateCond allocationUpdateCond);
 
+    /**
+     *  ������������������ 0������ ������������������
+     * @return
+     */
     List<Integer> unitResult();
 
+    /**
+     * ������������ ������������������������ 1������������������2���������������0������������
+     * ������������������������������
+     * @return
+     */
     Integer unitAreaCode();
 
     Map<String, Object> selectUnitView(Map<String,Object> map);
@@ -41,14 +55,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);
 
     /**
@@ -58,5 +96,72 @@
      */
     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);
+
+    /**
+     * ������������ 1 ������������������  2.������������������ 3.���������
+     * @param allocationNum
+     * @param userId
+     * @return
+     */
+    AppAuthority authority(String allocationNum, Integer userId);
+
+    /**
+     * ������������������
+     * @param id
+     * @param unitId
+     */
+    void updataUnit(Integer id,Integer unitId,Integer polluteType);
+
+    /**
+     * ������������������
+     * @param allocationNum
+     * @return
+     */
+    List<AllocationLog> getLog(String allocationNum);
+
+    /**
+     * ������������������������������   ���������������������������
+     * @param code
+     * @return
+     */
+    List<Integer> getUnitAuthority(String code);
+
+
+    List<AllocationExcelExt> listExcel(List<Integer> id);
 }

--
Gitblit v1.8.0