mysql test== 坑
摘要:错误 <if test="status == '1'"> 正确 <if test="status == '1'.toString()">
阅读全文
posted @
2018-07-31 15:01
dm3344
阅读(176)
推荐(0) 编辑
mybatis There is no getter for property named '*' in 'class java.lang.String
摘要:1、原因 server层 xxxx.get("1234") map <if test="aaa != null and aaa.id != null and aaa.id != ''"> AND a.aaa = #{aaa.id} </if> 强行把字符串当作实体对象来判断了,所以是笔误 应该改为
阅读全文
posted @
2018-07-31 10:16
dm3344
阅读(131)
推荐(0) 编辑
Caused by: org.xml.sax.SAXParseException; lineNumber: 1
摘要:百分百是你的MYBATIS 的xml 里面的 xml节点没写对,或者忘记关闭,或者格式不对
阅读全文
posted @
2018-07-30 17:19
dm3344
阅读(138)
推荐(0) 编辑
Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds
摘要:Servers -->双击你的启动服务--》 对话框左下角切换选项卡为 Overview --》中东找到Timeouts 把Start(in seconds)改为 100 ,然后按ctrl+s保存下重启即可
阅读全文
posted @
2018-07-28 10:12
dm3344
阅读(216)
推荐(0) 编辑
javascript history.go(-1) 返回刷新不起作用
摘要:js返回刷新两种方式: 方式一:有提示框 <input type="button" onClick="javascript:history.go(-1);location.reload();"value="返回" /> 方式二:直接返回 <input type="button" onClick="j
阅读全文
posted @
2018-07-25 09:41
dm3344
阅读(4561)
推荐(0) 编辑
mysql format函数对数字类型转化的坑
摘要:原值param = 1234.5678 format(param, 2) (不建议) 结果,字符串类型,123,4.57 会导致你图表char 生成失败,直接变0 convert(param, decimal(12,2))(建议) 结果, 数值类型 1234.57 cast(param as dec
阅读全文
posted @
2018-07-24 11:01
dm3344
阅读(342)
推荐(0) 编辑
mysql case when 判断null
摘要:select name,case WHEN m.NAME is null THEN '' else m.NAME end NAME1 from sys_users
阅读全文
posted @
2018-07-24 10:23
dm3344
阅读(3311)
推荐(0) 编辑
get改post
摘要://原模式,get 入参只能小于260字符 location.href = hrefStr; localhost/getinfo/UUSDDJSKDJSJKJK 后台 getinfo(string id) //以下是改为post $("<form id='formLocation' style='d
阅读全文
posted @
2018-07-06 09:36
dm3344
阅读(373)
推荐(0) 编辑
打印机无法访问打印机怎么连
摘要:打印机电脑 1、设置Guest 用户 禁止状态(win7) 控制面板→管理工具→计算机管理,接着依次展开“计算机管理(本地)→系统工具→本地用户和组→用户”,找到Guest账户。如果Guest账户出现一个红色的叉号,表明该账户已被停用,右键单击该账号,在Guest属性对话框中,去除 “账户已禁用”的
阅读全文
posted @
2018-07-02 10:56
dm3344
阅读(900)
推荐(0) 编辑