whycxzp
2022-01-12 e9f7312050bfefbd1afa6921a7ddd854fb4aff8f
src/main/java/com/whyc/mapper/ClearTableMapper.java
@@ -1,12 +1,20 @@
package com.whyc.mapper;
import com.whyc.pojo.User_inf;
import org.apache.ibatis.annotations.Select;
import com.whyc.dto.TableDTO;
import org.apache.ibatis.annotations.Update;
import java.util.List;
public interface ClearTableMapper{
    @Select("select * from db_user.tb_user_inf limit 1")
    List<User_inf> clearTable();
    void clearTable(List<TableDTO> tableList);
    void dropTable(List<TableDTO> tableList);
    List<TableDTO> findTableListLike(List<TableDTO> tableList);
    List<TableDTO> findAllTables();
    @Update("update db_battinf.tb_battinf set PublicKeyX = '',PublicKeyY = '',KeyID= '' where num !=0")
    void clearColumn();
}