3 changed files with 40 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||
package cn.chjyj.szwh.service; |
|||
|
|||
import cn.chjyj.szwh.bean.AccountRatioSetting; |
|||
|
|||
public interface AccountRatioSettingService { |
|||
/** |
|||
* 获取启用中的结算设置 |
|||
* @return |
|||
*/ |
|||
AccountRatioSetting getUsingAccRationSetting(); |
|||
} |
|||
@ -0,0 +1,18 @@ |
|||
package cn.chjyj.szwh.service.impl; |
|||
|
|||
import cn.chjyj.szwh.bean.AccountRatioSetting; |
|||
import cn.chjyj.szwh.mapper.AccountRatioSettingMapper; |
|||
import cn.chjyj.szwh.service.AccountRatioSettingService; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
|||
public class AccountRatioSettingServiceImpl implements AccountRatioSettingService { |
|||
@Autowired |
|||
private AccountRatioSettingMapper accountRatioSettingMapper; |
|||
|
|||
@Override |
|||
public AccountRatioSetting getUsingAccRationSetting() { |
|||
return accountRatioSettingMapper.getUsingAccRatioSetting(); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue