| | |
| | | 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; |
| | | |
| | | public interface AllocationService extends IService<Allocation> { |
| | | |
| | |
| | | |
| | | List<ResponsibilityUnit> seleteUnit(); |
| | | |
| | | Integer insertAllocation(Allocation allocation); |
| | | Integer insertAllocation(AllocationAddCond allocation); |
| | | |
| | | AllocationUnitDto check(Integer id); |
| | | |
| | | void updateAll(Allocation allocation); |
| | | void updateAll(AllocationUpdateCond allocationUpdateCond); |
| | | |
| | | List<Allocation> selectAll(Map<String,Object> map); |
| | | |
| | | Page<AllocationPageExt> extPage(AllocationPageCond allocationPageCond); |
| | | /** |
| | | * 根据id查询详情 |
| | | * @param id |
| | | * @return AllocationExt |
| | | */ |
| | | AllocationExt extOne(Integer id); |
| | | |
| | | void changeAllocation(AllocationChangeCond changeCond); |
| | | |
| | | void checkAllocation(AllocationCheckCond checkCond); |
| | | |
| | | boolean removeById(Integer id); |
| | | |
| | | boolean invalidResult (Integer id,String invalidReason); |
| | | |
| | | /** |
| | | * 查询列表详情 |
| | | * @param allocationListCond |
| | | * @return AllocationListExt |
| | | */ |
| | | List<AllocationListExt> extList(AllocationListCond allocationListCond); |
| | | |
| | | boolean applyFor (AllocationExtensionAddCond allocationExtensionAddCond); |
| | | } |