package com.yd.dal.service.meta.impl;

import com.yd.dal.entity.meta.MdGoalsCalculateExpression;
import com.yd.dal.mapper.meta.MdGoalsCalculateExpressionMapper;
import com.yd.dal.service.meta.MdGoalsCalculateExpressionDALService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("MdGoalsCalculateExpressionDALService")
public class MdGoalsCalculateExpressionDALServiceImpl implements MdGoalsCalculateExpressionDALService {
    @Resource
    private MdGoalsCalculateExpressionMapper mdGoalsCalculateExpressionMapper;
    @Override
    public List<MdGoalsCalculateExpression> findByMasterCodeAndIsActive(String masterCode, Integer isActive) {
        return mdGoalsCalculateExpressionMapper.findByMasterCodeAndIsActive(masterCode,isActive);
    }
}
