| | |
| | | package com.zy.asrs.service.impl; |
| | | |
| | | import com.zy.asrs.mapper.AppVersionMapper; |
| | | import com.zy.asrs.entity.AppVersion; |
| | | import com.zy.asrs.service.AppVersionService; |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import com.zy.asrs.entity.AppVersion; |
| | | import com.zy.asrs.mapper.AppVersionMapper; |
| | | import com.zy.asrs.service.AppVersionService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | @Service("appVersionService") |
| | | public class AppVersionServiceImpl extends ServiceImpl<AppVersionMapper, AppVersion> implements AppVersionService { |
| | | |
| | | @Override |
| | | public int updateLatest(int latest, int type) { |
| | | return this.baseMapper.updateLatest(latest, type); |
| | | } |
| | | |
| | | @Override |
| | | public AppVersion getLatestApp(Integer type) { |
| | | return this.baseMapper.getLatestApp(type); |
| | | } |
| | | |
| | | } |