whyclxw
7 天以前 326468e5ce8f9f69eb461f483cdd3a1c0575ad3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.whyc.service;
 
import com.whyc.mapper.AlarmInspectionIdMapper;
import com.whyc.pojo.web_site.AlarmInspectionId;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
 
@Service
public class AlarmInspectionIdService {
 
    @Resource
    private AlarmInspectionIdMapper mapper;
 
    public AlarmInspectionId get(){
        return mapper.selectById(1);
    }
 
    public void update(AlarmInspectionId inspectionId){
        mapper.updateById(inspectionId);
    }
 
}