From a3b34f9f092e1aeacfe6bd4c9e80b7464dcd5912 Mon Sep 17 00:00:00 2001 From: cjl <276999030@qq.com> Date: Tue, 07 Nov 2023 16:45:07 +0800 Subject: [PATCH] fix:小程序添加流程状态变更 --- screen-api/src/main/java/com/moral/api/service/AllocationService.java | 80 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 80 insertions(+), 0 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 16f4f0f..abdb545 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,11 @@ 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> { @@ -25,7 +30,18 @@ void updateAll(AllocationUpdateCond allocationUpdateCond); + /** + * ������������������ 0������ ������������������ + * @return + */ List<Integer> unitResult(); + + /** + * ������������ ������������������������ 1������������������2���������������0������������ + * ������������������������������ + * @return + */ + Integer unitAreaCode(); Map<String, Object> selectUnitView(Map<String,Object> map); @@ -39,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); /** @@ -56,5 +96,45 @@ */ 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); + + + boolean authority(String allocationNum,Integer userId); + + } -- Gitblit v1.8.0