| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.dingtalk.api.response.OapiV2DepartmentListsubResponse; |
| | | import com.doumee.service.business.third.model.LoginUserInfo; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.admin.request.UpdateCompanySortDTO; |
| | | import com.doumee.dao.admin.response.CompanyDTO; |
| | | import com.doumee.dao.business.model.Company; |
| | | import com.taobao.api.ApiException; |
| | | import shade.com.alibaba.fastjson2.JSONObject; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | * |
| | | * @param id 主键 |
| | | */ |
| | | void deleteById(Integer id); |
| | | void deleteById(Integer id, LoginUserInfo user); |
| | | |
| | | /** |
| | | * 删除 |
| | |
| | | * |
| | | * @param ids 主键集 |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | void deleteByIdInBatch(List<Integer> ids,LoginUserInfo user); |
| | | |
| | | /** |
| | | * 主键更新 |
| | |
| | | List<Company> companyTree(Integer type); |
| | | |
| | | void updateSort(UpdateCompanySortDTO dto); |
| | | |
| | | void ddPushCompanyInfo(String eventType, JSONObject eventData) throws ApiException; |
| | | |
| | | String syncDDCompany()throws ApiException; |
| | | } |