whycxzp
2022-01-12 39ea9c6918f33c37ddd0441a7e98f6fc9aec8662
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();
}