whycxzp
2021-07-03 838fbb5e0cf4eec4c51e74024a3b4a48a3adf25d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.whyc.service;
 
import com.whyc.mapper.ClearTableMapper;
import com.whyc.pojo.User_inf;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
import java.util.List;
 
@Service
public class ClearTableService {
 
    @Resource
    private ClearTableMapper mapper;
 
    public void clearTable(){
        List<User_inf> userInfList = mapper.clearTable();
        System.out.println(userInfList);
        System.out.println("清除表完成");
    }
 
}