From 4024ef51a8d22d575dc929d806d49b30598b422d Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Fri, 10 Nov 2023 16:50:45 +0800 Subject: [PATCH] chore:推送修改提交 --- screen-api/src/main/java/com/moral/api/service/AllocationService.java | 88 ++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 84 insertions(+), 4 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 8fb6916..218cbfc 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 @@ -12,8 +12,11 @@ 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> { @@ -23,12 +26,20 @@ 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); @@ -42,14 +53,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); /** @@ -59,5 +94,50 @@ */ 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); + + } -- Gitblit v1.8.0