package com.cf.imes.module.system.dal.mysql.funds.organamount;


import com.cf.imes.framework.mybatis.core.mapper.BaseMapperX;
import com.cf.imes.module.system.dal.dataobject.funds.organamount.OrganAmountDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;

@Mapper
public interface OrganAmountMapper extends BaseMapperX<OrganAmountDO> {


    @Select("select sum(amount) from organ_amount where deleted = false")
    BigDecimal selectAllOrganAmount();

}
