| | |
| | | package org.jeecg.common.system.api; |
| | | |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import org.jeecg.common.api.CommonAPI; |
| | | import org.jeecg.common.api.dto.DataLogDTO; |
| | | import org.jeecg.common.api.dto.OnlineAuthDTO; |
| | | import org.jeecg.common.api.dto.message.*; |
| | | import org.jeecg.common.system.base.entity.DataVersion; |
| | | import org.jeecg.common.system.base.entity.SysUpload; |
| | | import org.jeecg.common.system.base.entity.SysUploadRela; |
| | | import org.jeecg.common.system.vo.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | * @param userId |
| | | */ |
| | | void sendAppChatSocket(String userId); |
| | | List<SysUploadRela> listByBusIdAndBusType(String busId, String busType); |
| | | |
| | | |
| | | SysUpload getUploadById(String id); |
| | | |
| | | boolean saveOrUpdateBatchUploadRela(List<SysUploadRela> sysUploadRelaList); |
| | | |
| | | boolean updateBatchUploadById(List<SysUpload> sysUploadList); |
| | | |
| | | List<SysUpload> batchUploadFile(String fileType, List<MultipartFile> multipartFileList, String description) throws Exception; |
| | | |
| | | void saveOrUpdateUploadRale(String busId, String busType, String uploadId); |
| | | |
| | | // Unit getUnitById(id); |
| | | |
| | | void removeDataVersionByBusinessId(String businessId); |
| | | |
| | | void removeUploadById(String id); |
| | | |
| | | void removeUploadRelaById(String id); |
| | | |
| | | void delSysUploadRelaByBusIdAndBusType(String busId, String busType); |
| | | |
| | | String getUnitNameById(String unitId); |
| | | |
| | | String queryDictTextByKey(String dictCode, String key); |
| | | |
| | | String getVersionStatusByVersionAndBusinessType(Integer version, String businessType); |
| | | |
| | | void saveDataVersion(DataVersion dataVersion); |
| | | |
| | | DataVersion getDataVersionByBusinessId(String id); |
| | | |
| | | void removeDataVersionById(String id); |
| | | |
| | | String getEnterpriseNameById(String enterpriseId); |
| | | |
| | | List<DataVersion> getLastDataVersion(String businessType, String enterpriseId, String isLastusable); |
| | | |
| | | |
| | | List<DataVersion> getDataVersionList(String businessType,String enterpriseId,String versionStatus, String version); |
| | | |
| | | /**根据ids 批量删除 数据版本 |
| | | * |
| | | * @param ids |
| | | */ |
| | | void removeDataVersionByIds(String ids); |
| | | |
| | | void updateBatchDataVersion(List<DataVersion> dataVersionList); |
| | | |
| | | |
| | | void closeJobByClassName(String className); |
| | | |
| | | /** |
| | | * 发送系统消息 |
| | | * @param fromUser 发送人(用户登录账户) |
| | | * @param toUser 发送给(用户登录账户) |
| | | * @param title 消息主题 |
| | | * @param msgContent 消息内容 |
| | | */ |
| | | public void sendAnnouncement(String fromUser, String toUser, String title, String msgContent, String category); |
| | | } |