package com.xcgl.projecttask.service; import com.xcgl.projecttask.entity.ProjecttaskEntity; import com.xcgl.taskresult.entity.TaskResultEntity; import org.jeecgframework.core.common.service.CommonService; import java.io.Serializable; public interface ProjecttaskServiceI extends CommonService{ public void delete(ProjecttaskEntity entity) throws Exception; public Serializable save(ProjecttaskEntity entity) throws Exception; public void saveOrUpdate(ProjecttaskEntity entity) throws Exception; /** * 完成后任务后,处理操作,比如发信息 * @param task */ void afterDone(ProjecttaskEntity task,TaskResultEntity taskResult); void sendMsg(ProjecttaskEntity entity); String getMaxLocalCode(); }