码迷,mamicode.com
首页 >  
搜索关键字:column    ( 6576个结果
7-3 出租 (20分)
7-3 出租 (20分) 下面是新浪微博上曾经很火的一张图: 一时间网上一片求救声,急问这个怎么破。其实这段代码很简单,index数组就是arr数组的下标,index[0]=2 对应 arr[2]=1,index[1]=0 对应 arr[0]=8,index[2]=3 对应 arr[3]=0,以此类 ...
分类:其他好文   时间:2020-08-02 16:17:20    阅读次数:82
STS使用lombok插件导致的Error attempting to get column 'type' from result set
1、拉取一个项目的代码在本地运行,调用接口时报错: org.springframework.dao.DataIntegrityViolationException: Error attempting to get column 'type' from result set. Cause: java. ...
分类:其他好文   时间:2020-08-01 21:36:18    阅读次数:317
2、mapper.xml将jdbcType写错为javaType
错误的写法: <resultMap id="BaseResultMap" type="com.dong.springcloud.entities.Payment"> <id column="id" property="id" ></id> <id column="serial" property=" ...
分类:移动开发   时间:2020-07-31 14:13:46    阅读次数:112
Oracle 查询表的索引包含的字段
字段保留在 dba_ind_columns视图中 select a.uniqueness 索引类型,b.index_name 索引名称,b.column_name 字段 from user_indexes a ,user_ind_columns b where a.table_name=b.tabl ...
分类:数据库   时间:2020-07-30 18:27:10    阅读次数:135
flex九宫格一点小思考
看到一道面试题,用flex布局九宫格,决定自己实现一下 ###基础版 .father { display: flex; /*必须给宽高把盒子撑起来,然后调整width可看是否要正方形*/ width: 300px; height: 300px; flex-direction: column; } . ...
分类:其他好文   时间:2020-07-29 21:45:05    阅读次数:57
mybatis 注解@Results、@Result、@ResultMap、@One的使用
mybatis 注解@Results、@Result、@ResultMap、@One的使用 column是数据库列名 property是实体类的属性名 javaType是实体类的类名(全路径格式) one对应的是一对一 many对应的是一对多 ...
分类:其他好文   时间:2020-07-29 12:36:35    阅读次数:81
MySql新增列的时候判断是否存在
drop procedure if exists schema_change; delimiter ';;'; create procedure schema_change() begin if not exists( select * from information_schema.`COLUMN ...
分类:数据库   时间:2020-07-28 17:23:22    阅读次数:92
修改表结构
修改表结构 语法: 1. 修改表名 ALTER TABLE 表名 RENAME 新表名; 2. 增加字段 ALTER TABLE 表名 ADD 字段名 数据类型 [完整性约束条件…], ADD 字段名 数据类型 [完整性约束条件…]; 3. 删除字段 ALTER TABLE 表名 DROP 字段名; ...
分类:其他好文   时间:2020-07-28 14:14:21    阅读次数:65
Vue Element-UI 中列表单选的实现
el-table中单选的实现 引用场景: 选择单条数据进行业务操作 实现方式: 给el-table-column设置el-radio Template 代码 <div class="result-container"> <el-table :data="producList" border> <el ...
分类:其他好文   时间:2020-07-28 13:57:17    阅读次数:139
add一列
if not exists(select * from sys.columns where [object_id] = object_id('szydytglhyytb') and name = 'SZYDYTGLHYYTB_HYBM') BEGINalter table szydytglhyytb ...
分类:其他好文   时间:2020-07-28 13:54:54    阅读次数:56
6576条   上一页 1 ... 16 17 18 19 20 ... 658 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!