摘要: 将驱动换成 <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://localhost:3306/newtest" userId="root" password="root"> </jdbcCon 阅读全文
posted @ 2020-03-24 16:12 红尘沙漏 阅读(2462) 评论(0) 推荐(0) 编辑
摘要: 在pom.xml文件中配置 <!-- mybatis整合springboot起步依赖--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifac 阅读全文
posted @ 2020-03-23 22:23 红尘沙漏 阅读(18169) 评论(0) 推荐(0) 编辑
摘要: 在pom文件中 1.方法一 <!-- 引入tomcate内嵌的jsp解析包--> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId> </depend 阅读全文
posted @ 2020-03-23 18:31 红尘沙漏 阅读(542) 评论(0) 推荐(0) 编辑
摘要: 1.查询出编号为01的课程比02的课程的成绩高的人 select a.s_id,a.s_core s1,b.s_core s2,t.s_name FROM(select c_id,s_core,s_id from score where c_id='01')as aINNER JOIN(select 阅读全文
posted @ 2020-03-06 16:00 红尘沙漏 阅读(145) 评论(1) 推荐(0) 编辑
摘要: 1.列转行 select class_id,MAX(CASE kemu when '语文' then score ELSE 0 end)as '语文' ,MAX(CASE kemu when '数学' then score ELSE 0 end)as '数学' ,MAX(CASE kemu when 阅读全文
posted @ 2020-03-06 10:41 红尘沙漏 阅读(1060) 评论(0) 推荐(0) 编辑
摘要: $('#healthResultCorrelationCompanyAddForm').form('submit', { onSubmit: function () { $.messager.progress({ title: '提示', msg: '数据提交中,请稍候……', text: '' } 阅读全文
posted @ 2020-01-20 11:33 红尘沙漏 阅读(262) 评论(0) 推荐(0) 编辑
摘要: $('#xyData_healthList').datagrid({ width: 'auto', height: 'auto', striped: true, fit: true, pagination: true, scrollbarSize: 0, singleSelect: true, ur 阅读全文
posted @ 2020-01-14 14:58 红尘沙漏 阅读(2221) 评论(0) 推荐(0) 编辑
摘要: //产品名称 var productNameCategory=data.msg.productName; var listProductName={}, listProductName=productNameCategory.split(','); //加载多个产品类别名称 var productN 阅读全文
posted @ 2020-01-12 14:56 红尘沙漏 阅读(285) 评论(0) 推荐(0) 编辑
摘要: <table class="crud-content-info" id="showProductDialogFormstandrad"> </table> //请求路径 $('#showProductDialogFormstandrad').datagrid("options").url = '<% 阅读全文
posted @ 2020-01-12 13:09 红尘沙漏 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: <tr> <td align="right">所在省:</td> <td> <select id="unitProvince" name="unitProvince" onchange="selectCompanyAddress2();selectCompanyAddress3();"> <opti 阅读全文
posted @ 2020-01-12 13:03 红尘沙漏 阅读(223) 评论(0) 推荐(0) 编辑