xuhy
2024-05-28 5470d21a35286abe41fafc25a7deaabefd7c55da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.stylefeng.guns.modular.system.service.impl;
 
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.system.dao.VersionManagementMapper;
import com.stylefeng.guns.modular.system.model.VersionManagement;
import com.stylefeng.guns.modular.system.service.IVersionManagementService;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
import java.util.Map;
 
 
@Service
public class VersionManagementServiceImpl extends ServiceImpl<VersionManagementMapper, VersionManagement> implements IVersionManagementService {
 
    @Resource
    private VersionManagementMapper versionManagementMapper;
 
 
 
    /**
     * 获取最新版本数据
     * @param type
     * @return
     * @throws Exception
     */
    @Override
    public Map<String, Object> queryNewVersion(Integer type) throws Exception {
        return versionManagementMapper.queryNewVersion(type);
    }
}