package com.mortals.xhx.module.perform.service;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.perform.model.PerformEffectRecordEntity;
import com.mortals.xhx.module.perform.dao.PerformEffectRecordDao;
import com.mortals.xhx.module.perform.model.PerformEffectRecordQuery;
import org.springframework.web.bind.annotation.RequestBody;

/**
* PerformEffectRecordService
*
* 效能绩效记录信息 service接口
*
* @author zxfei
* @date 2023-07-11
*/
public interface PerformEffectRecordService extends ICRUDService<PerformEffectRecordEntity,Long>{

    PerformEffectRecordDao getDao();

    /**
     * 修改处理状态
     * @param id
     * @param status
     * @throws AppException
     */
    void updateProcessStatus(Long id,Integer status) throws AppException;


    void syncEffectRecord(PerformEffectRecordQuery query, Context context);


    void syncEffectRecordImgs(PerformEffectRecordQuery query, Context context);


    void getEffectRecordImgs(PerformEffectRecordEntity effectRecord, Context context);

}