package com.cku.oa.finance.dao;

import com.cku.oa.finance.entity.MemberAccount;
import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: lyy
 * Date: 2016/7/25
 * Time: 18:41
 */
@MyBatisDao
public interface MemberAccountDao extends CrudDao<MemberAccount> {
    String getCountPrice(MemberAccount memberAccount);
    int updateStatus(MemberAccount memberAccount);
    double getChongZhiMoney(MemberAccount memberAccount);
    double getHuaMoney(MemberAccount memberAccount);
    List<MemberAccount> findOrgPage( MemberAccount memberAccount);

    List<MemberAccount> findOne( MemberAccount memberAccount);

    String getOrgCountPrice(MemberAccount memberAccount);

    List<MemberAccount> findTrainingPage(MemberAccount memberAccount);
    String getTrainingCountPrice(MemberAccount memberAccount);


    List<MemberAccount> searchStatisticsDetailPage(MemberAccount memberAccount);
    String searchStatisticsDetailCountPrice(MemberAccount memberAccount);

    Integer savePaymentRemarks(@Param("runningNumber") String runningNumber, @Param("paymentRemarks") String paymentRemarks);
}
