自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

珊瑚海的博客

坚持梦想,十年不变

  • 博客(5)
  • 收藏
  • 关注

原创 mybatis元素类型为 "resultMap" 的内容必须匹配 "(constructor?,id*,result*,association报错解决

今天在解决mybatis一对多的时候遇到如下问题:一时百思不得其解,不知道如何下手,还在怀疑自己一对多关系是不是写错了。百度并试验后发现错误如下:后来在网上搜索答案才发现:“必须匹配”也包括了括号内元素的顺序,也就是必须按照先写constructor,再写id,再写result,再写association……这样的顺序,在此association必须在collection前

2018-01-24 15:25:58 5072

原创 spring 启多线程执行程序

import javax.annotation.PostConstruct;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.contex

2018-01-17 09:44:54 261

原创 开发中mybatis查询过程的一些注意事项

mapper层 @Param("startDate") String startDate@Param表示xml里输入的值如下代表startDateselectid="queryByCondition"resultMap="map">selectincluderefid="Base_Column "/>from eb_pm_cont where 1=1iftest="stat

2018-01-10 18:23:07 274

原创 tensorflow的一些用法(矩阵初始化,变量定义,运算)

必导入的2个包import tensorflow astfimport numpy asnp #情形1 矩阵运算#构建3*4的0矩阵matrix_1 = np.zeros((3,4))x=tf.constant([[2,2],[2,1]],name='a')y=tf.constant([[0,1],[3,5]],name='b')with tf.Se

2018-01-09 15:56:09 4840

原创 tensorflow报AttributeError: __enter__错误解决

今天运行tensorflow遇到一个很棘手的问题AttributeError: __enter__,找了半天不知道哪里的问题查了下自己的代码x=tf.constant(3,name='x')y=tf.constant(5,name='y')z=tf.add(x,y)with tf.Session as sess: print(sess.run(z))貌似没什么问题,

2018-01-09 14:57:14 20952

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除