package cn.com.lzt.arrangeduty.service; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import org.jeecgframework.core.common.service.CommonService; import org.jeecgframework.core.util.JeecgDataAutorUtils; import org.jeecgframework.minidao.annotation.Arguments; import org.jeecgframework.minidao.annotation.ResultType; import org.jeecgframework.minidao.pojo.MiniDaoPage; import cn.com.lzt.arrangeduty.dto.ArrangeDutyDto; import cn.com.lzt.arrangeduty.dto.MealsSubsidyDto; import cn.com.lzt.arrangeduty.dto.ProjectDepartDto; import cn.com.lzt.arrangeduty.dto.UserOrgDto; import cn.com.lzt.arrangeduty.entity.ArrangeDutyEntity; public interface ArrangeDutyServiceI extends CommonService{ public void delete(ArrangeDutyEntity entity) throws Exception; public Serializable save(ArrangeDutyEntity entity) throws Exception; public void saveOrUpdate(ArrangeDutyEntity entity) throws Exception; /** * 逻辑删除班次表 * @author zbw * 2017-10-20 * @param entity * @throws Exception */ public void logicDel(ArrangeDutyEntity entity) throws Exception; /** * 查询分页列表(MiniDao方式) * */ public MiniDaoPage getArrangeDutyDtoPage( ArrangeDutyDto arrangeDutyDto, int page, int rows, String authSql); /** * 班次设定导出 * @author zbw * 2017-11-27 * @param arrangeDutyDto * @param page * @param rows * @param authSql * @return */ public List getArrangeDutyDtoExport( ArrangeDutyDto arrangeDutyDto, String authSql); /** * 查询分页列表(MiniDao方式) * */ /* public MiniDaoPage getProjectPostDetail( ProjectPostDetailDto projectPostDetailMiniDaoEntity, int page, int rows, String authSql);*/ /** * 不分页写法(MiniDao方式) * */ public List getMealsSubsidyByIdList( MealsSubsidyDto mealsSubsidyDto, String authSql); /** * 班次选择页面不分页 * 月度排班 * @author zbw * 2017-11-5 * @param arrangeDutyDto * @param authSql * @return */ public List getArrangeDutyMonthNoPage( ArrangeDutyDto arrangeDutyDto, String authSql); /** * 班次选择页面不分页 * 轮流值班 * @author zbw * 2017-11-5 * @param arrangeDutyDto * @param authSql * @return */ @Arguments({"arrangeDutyDto","authSql"}) @ResultType(ArrangeDutyDto.class) public List getArrangeOnDutyNoPage( ArrangeDutyDto arrangeDutyDto, String authSql); /** * 根据班次idList查询班次信息 * @author zbw * 2017-11-10 * @param arrangeDutyDto * @param authSql * @return */ public List getArrangeDutyByIdList( ArrangeDutyDto arrangeDutyDto, String authSql); /** * 不分页写法 * 班次餐补选择 * @author zbw * 2017-11-27 * @param mealsSubsidyDto * @param authSql * @return */ public List getMealsSubsidySelect(MealsSubsidyDto mealsSubsidyDto, String authSql); /** * 用户与组织机构关系表 查询所有数据 * @author zbw * 2017-12-19 * @param userOrgDto * @param authSql * @return */ public List getUserOrgDtoAll( UserOrgDto userOrgDto, String authSql); /** * 查询班次为休息的id * @author zbw * 2017-12-29 * @return */ public String getDUTYTYPE_xiuxiId(); }