| | |
| | | package com.vci.ubcs.code.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.InterceptorIgnore; |
| | | import org.apache.ibatis.annotations.MapKey; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | |
| | | |
| | | List<Map> selectBySql(@Param("inSql") String inSql); |
| | | |
| | | List<Map<String,String>> queryByOnlySqlForMap(@Param("inSql") String inSql); |
| | | |
| | | /** |
| | | * 传入表名,map,list<map>完成批量更新操作 |
| | | * @param tableName 表名 |
| | | * @param columnMap 单条map用于获取key作为字段 |
| | | * @param mapList 需要插入的所有记录 |
| | | * @return 插入成功的条数 |
| | | */ |
| | | Integer insertByBaseModel(String tableName,Map<String,String> columnMap,List<Map<String,String>> mapList);/** |
| | | * 传入表名,map,list<map>完成批量更新操作 |
| | | * @param tableName 表名 |
| | | * @param mapList 需要更新的所有记录 |
| | | * @return 插入成功的条数 |
| | | */ |
| | | @InterceptorIgnore(tenantLine = "true") |
| | | Integer updateBatchByBaseModel(String tableName,List<Map<String,String>> mapList); |
| | | |
| | | } |