package com.matrix.system.hive.service; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
import com.matrix.system.hive.bean.AchieveNew; 
 | 
import com.matrix.system.hive.bean.SysOrder; 
 | 
import com.matrix.system.hive.bean.SysProjServices; 
 | 
  
 | 
import com.matrix.core.pojo.PaginationVO; 
 | 
import com.matrix.system.hive.plugin.util.BaseServices; 
 | 
  
 | 
/** 
 | 
 * 
 | 
 * @date 2019-03-24 16:01 
 | 
 */ 
 | 
public interface AchieveNewService  extends BaseServices<AchieveNew> { 
 | 
     
 | 
    /** 
 | 
     * 新增AchieveNew 
 | 
     *  
 | 
     */ 
 | 
    public int add(AchieveNew achieveNew); 
 | 
        
 | 
       /** 
 | 
     * 批量新增AchieveNew 
 | 
     *  
 | 
     */ 
 | 
    public int batchAdd(List<AchieveNew> achieveNewList); 
 | 
        
 | 
       /** 
 | 
     * 根据map键值对 更新AchieveNew 
 | 
     *  
 | 
     */ 
 | 
    public int modifyByMap(AchieveNew oldAchieveNew, AchieveNew newAchieveNew); 
 | 
     
 | 
    /** 
 | 
     * 根据对象 更新AchieveNew 
 | 
     *  
 | 
     */ 
 | 
    public int modifyByModel(AchieveNew achieveNew); 
 | 
     
 | 
    /** 
 | 
     * 批量删除AchieveNew 
 | 
     *  
 | 
     */ 
 | 
    public int remove(List<Long> list); 
 | 
  
 | 
    /** 
 | 
     * 根据id删除AchieveNew 
 | 
     *  
 | 
     */ 
 | 
    public int removeById(Long id); 
 | 
     
 | 
    /** 
 | 
     * 根据对象删除AchieveNew 
 | 
     *  
 | 
     */ 
 | 
    public int removeByModel(AchieveNew achieveNew); 
 | 
     
 | 
    /** 
 | 
     * 分页查询AchieveNew 
 | 
     *  
 | 
     */ 
 | 
    public List<AchieveNew> findInPage(AchieveNew achieveNew, PaginationVO pageVo); 
 | 
  
 | 
    /** 
 | 
     * 根据对象查询AchieveNew 
 | 
     *  
 | 
     */ 
 | 
    public List<AchieveNew> findByModel(AchieveNew achieveNew); 
 | 
     
 | 
    /** 
 | 
     * 统计记录数AchieveNew 
 | 
     *  
 | 
     */ 
 | 
    public int  findTotal(AchieveNew achieveNew); 
 | 
     
 | 
    /** 
 | 
     * 根据id查询AchieveNew 
 | 
     *  
 | 
     */ 
 | 
    public AchieveNew  findById(Long id); 
 | 
  
 | 
    /** 
 | 
     * 根据订单添加业绩 
 | 
     * @author JIANGYOUYAO 
 | 
     * @email 935090232@qq.com 
 | 
     * @date Mar 24, 2019 
 | 
     * @param pageOrder 
 | 
     * @param sourceOrder 
 | 
     */ 
 | 
    public void addAchaeveByOrder(SysOrder pageOrder); 
 | 
  
 | 
    public void addAchieveByServiceOrder(SysProjServices projServices); 
 | 
  
 | 
    /** 
 | 
     * 查询每日单据明细表 
 | 
     * @author JIANGYOUYAO 
 | 
     * @email 935090232@qq.com 
 | 
     * @date Mar 26, 2019 
 | 
     * @param achieveNew 
 | 
     * @param pageVo 
 | 
     * @return 
 | 
     */ 
 | 
    public List<AchieveNew> findDayFlow(AchieveNew achieveNew, PaginationVO pageVo); 
 | 
    public int findDayFlowTotal(AchieveNew achieveNew, PaginationVO pageVo); 
 | 
    public List<AchieveNew> findSumDailyInfoNew(AchieveNew achieveNew, PaginationVO pageVo); 
 | 
  
 | 
    public void modifyAchieveTime(AchieveNew achieveNew); 
 | 
  
 | 
  
 | 
} 
 |