上一页 1 ··· 5 6 7 8 9 10 下一页
动态返回mysql某张表指定列的名字 动态查询某个表的指定列数据 利用 if和foreach元素动态的拼接where 条件部分 传参数 ${} 和#{}区别 Mybatis 的Mapper.xml语句中parameterType向SQL语句传参有两种方式:#{}和${} 我们经常使用的是#{},一般 Read More
posted @ 2019-05-21 15:49 AlexZS Views(738) Comments(0) Diggs(0)
1.启用devtools插件 2.勾选Build==》compiler==》build project autoautomaticacally 3.快捷键shift+ctrl+alt+/ 勾选 compiler.automake.allow.when.app.running 4.在springboo Read More
posted @ 2019-05-17 22:33 AlexZS Views(151) Comments(0) Diggs(0)
@Configuration用于定义配置类,可替换xml配置文件,被注解的类内部包含有一个或多个被@Bean注解的方法 Read More
posted @ 2019-04-18 23:27 AlexZS Views(122) Comments(0) Diggs(0)
1、@controller 控制器(注入服务) 用于标注控制层,相当于struts中的action层2、@service 服务(注入dao) 用于标注服务层,主要用来进行业务的逻辑处理3、@repository(实现dao访问) 用于标注数据访问层,也可以说用于标注数据访问组件,即DAO组件.4、@ Read More
posted @ 2019-04-18 23:07 AlexZS Views(238) Comments(0) Diggs(1)
转换代码: Read More
posted @ 2019-04-09 17:17 AlexZS Views(12977) Comments(0) Diggs(0)
报出的错误 Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: T Read More
posted @ 2019-04-07 15:58 AlexZS Views(491) Comments(0) Diggs(0)
tableIns.reload({ page: { curr: 1 //重新从第 1 页开始 } }); tableIns为layui 表格定义的函数 var table... Read More
posted @ 2019-04-03 16:59 AlexZS Views(1286) Comments(0) Diggs(0)
String s="now it's sping,but today is so cold!"; String a=s.replaceAll("s\\w+","summer"); System.out.println("替换后 = "+a); 打印出来:替换后 = now it's summer,but today is summer cold! Read More
posted @ 2019-04-01 16:21 AlexZS Views(398) Comments(0) Diggs(0)
{{# if(d.status == 'xxx'){ }} xxx {{# } else { }} xxx {{# } }} Read More
posted @ 2019-03-26 14:05 AlexZS Views(1839) Comments(0) Diggs(0)
<th lay-data="{field:'opentime',width:'12%' , sort: true, align:'center',templet:'#roleTpl'}">显示</th> <script type="text/html" id="roleTpl"> {{# if (d Read More
posted @ 2019-03-22 17:19 AlexZS Views(911) Comments(0) Diggs(0)
上一页 1 ··· 5 6 7 8 9 10 下一页