本节涉及SQL语句: -- MYSQL 基础操作 1.插入insert语句 INSERT INTO t_dept(deptno,dname,loc) VALUES(70,"后勤部","北京"),(80,"保安部","北京"); 2.向技术部插入一条员工信息 INSERT INTO t_emp (empno,ename,job,mgr,hiredate,sal,comm,deptno) VALUES(8001,"刘娜&
获取当前时间的代码:xml文件中 <td><div align="center"><br/><strong>送检时间</strong></div></td><td><br/> <script type="text/javascript"> function getNowFormatDate() { var date = new Date(); va
今天遇到一个问题,原来是mapper.xml文件出了问题,是使用MyBatis最常见的一种错误 报错的结果是这样的: A query was run and no Result Maps were found for the Mapped Statement 'cn.zrgk.dao.RoleMapper.getRoleList'. It's likely that neither a Result Type nor a Result Map was specified. org.apache.
错误日记我就网上随便找个贴着: 错误一: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.springf