07 2019 档案

摘要:https://blog.csdn.net/G0_hw/article/details/78326359 阅读全文
posted @ 2019-07-31 15:46 ThisCall 阅读(5966) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/BADAO_LIUMANG_QIZHI/column/info/37194 http://www.imooc.com/article/details/id/74058 阅读全文
posted @ 2019-07-31 13:53 ThisCall 阅读(479) 评论(0) 推荐(0) 编辑
摘要:isEmpty()判断有没有元素而size()返回有几个元素如果判断一个集合有无元素建议用isEmpty()方法.这清晰,简明 https://blog.csdn.net/Noocl/article/details/77531085(常用复杂函数) https://www.cnblogs.com/I 阅读全文
posted @ 2019-07-31 13:42 ThisCall 阅读(1806) 评论(0) 推荐(0) 编辑
摘要:添加查询条件 https://www.cnblogs.com/okong/p/mybatis-plus-guide-one.html (通用) https://www.jianshu.com/p/ceb1df475021?utm_source=oschina-app(入门) https://www. 阅读全文
posted @ 2019-07-31 11:52 ThisCall 阅读(3897) 评论(0) 推荐(0) 编辑
摘要:先看看表名是不是有下划线,再看看实体类有没有@TableName("tb_user") 逆向生成代码里添加设置 阅读全文
posted @ 2019-07-30 18:06 ThisCall 阅读(1848) 评论(0) 推荐(0) 编辑
摘要:自己写的方法没有,但是逆向生成的server类会有继承maybatis-plus的框架 与下图的配置有关 阅读全文
posted @ 2019-07-30 12:01 ThisCall 阅读(2093) 评论(0) 推荐(0) 编辑
摘要:1在数据库连接的url中添加useSSL=false;2.url中添加useSSL=true,并且提供服务器的验证证书 1 阅读全文
posted @ 2019-07-29 04:29 ThisCall 阅读(153) 评论(0) 推荐(0) 编辑
摘要:int i=1/0; 阅读全文
posted @ 2019-07-27 17:39 ThisCall 阅读(417) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/zzzgd_666/article/details/81544098(copy) 详细看此 所以结合上面我们可以知道,使用@ExceptionHandler,可以处理异常, 但是仅限于当前Controller中处理异常, @ControllerAdvice 阅读全文
posted @ 2019-07-27 17:38 ThisCall 阅读(748) 评论(0) 推荐(0) 编辑
摘要:区别 今天在撸SpringBoot的时候,突然对注解产生了混淆,@MapperScan和@ComponentScan都是扫描包,二者之间有什么区别呢? 首先,@ComponentScan是组件扫描注解,用来扫描@Controller @Service @Repository这类,主要就是定义扫描的路 阅读全文
posted @ 2019-07-27 15:30 ThisCall 阅读(2045) 评论(0) 推荐(0) 编辑
摘要:1、@controller 控制器(注入服务) 2、@service 服务(注入dao) 3、@repository dao(实现dao访问) 4、@component (把普通pojo实例化到spring容器中,相当于配置文件中的<bean id="" class=""/>) @Component 阅读全文
posted @ 2019-07-26 16:25 ThisCall 阅读(285) 评论(0) 推荐(0) 编辑
摘要:http://www.imooc.com/learn/1141 阅读全文
posted @ 2019-07-26 13:34 ThisCall 阅读(123) 评论(0) 推荐(0) 编辑
摘要:long lNum = 1234L; float fNum = 1.23f; double dNum = 1.23d; 阅读全文
posted @ 2019-07-26 11:52 ThisCall 阅读(686) 评论(0) 推荐(0) 编辑
摘要:(1)删除注册表中以proxy开头的项目再次重启 regedit进入[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings] ,删除注册表中以proxy开头的项目 阅读全文
posted @ 2019-07-26 09:04 ThisCall 阅读(664) 评论(0) 推荐(0) 编辑
摘要:通常有两种原因,配置原因,或者是mapper相关文件,mapper.java或 mapper.xml内部错误 如果是配置原因 解决方式1 统一配置mapper 解决方式2 每个mapper文件配置@Mapper 两者可以结合使用 阅读全文
posted @ 2019-07-25 18:08 ThisCall 阅读(3368) 评论(0) 推荐(0) 编辑
摘要:UserBaseInfo selectByMobile(@Param("mobile")String mobile,@Param("isDeleted")Integer isDeleted,@Param("isEnable")Integer isEnable); List getTwoLevels(@Param("ids") List ids); UserBaseInfo getByMo... 阅读全文
posted @ 2019-07-25 17:55 ThisCall 阅读(1226) 评论(0) 推荐(0) 编辑
摘要:/** * 账单金额 */ private BigDecimal money; public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone == null ? n 阅读全文
posted @ 2019-07-25 16:25 ThisCall 阅读(697) 评论(0) 推荐(0) 编辑
摘要:复杂参数,实体类参数 springMVC中的注解@RequestParam与@PathVariable的区别 在SpringMVC后台控制层获取参数的方式主要有两种: 一种是request.getParameter("name"),另外一种是用注解@RequestParam直接获取 这里主要讲这个注 阅读全文
posted @ 2019-07-25 15:11 ThisCall 阅读(711) 评论(0) 推荐(0) 编辑
摘要:复杂参数,自定义实体类 阅读全文
posted @ 2019-07-25 14:45 ThisCall 阅读(586) 评论(0) 推荐(0) 编辑
摘要:复杂参数,自定义实体类参数 阅读全文
posted @ 2019-07-25 14:41 ThisCall 阅读(1273) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/yu_hongrun/article/details/81708762 阅读全文
posted @ 2019-07-25 14:25 ThisCall 阅读(298) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/scode2/p/8718553.html 阅读全文
posted @ 2019-07-25 11:56 ThisCall 阅读(171) 评论(0) 推荐(0) 编辑
摘要:我们关注核心的一句报错:No qualifying bean of type [com.dotwin.client.api.Human] is defined: expected single matching bean but found 2: manImpl,womanImpl。意思就是我们有两 阅读全文
posted @ 2019-07-25 11:43 ThisCall 阅读(151) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_15071263/article/details/78459087 1. 警告解读 1如果你的springboot项目报了这个警告,那么你的项目会无法正常运行。 // 该警告解释为 : ApplicationContext 不能从一个组件的默认包启动 阅读全文
posted @ 2019-07-25 10:51 ThisCall 阅读(324) 评论(0) 推荐(0) 编辑
摘要:import React, { Component } from 'react'; import { Text } from 'react-native'; export default class MoreContainer extends Component { render() { return ( MoreContainer ) } } ... 阅读全文
posted @ 2019-07-24 16:25 ThisCall 阅读(669) 评论(0) 推荐(0) 编辑
摘要:https://gitee.com/baomidou/mybatis-plus-samples https://blog.csdn.net/luxv4523510/article/details/81626870(配置 https://www.cnblogs.com/yui66/p/9621115. 阅读全文
posted @ 2019-07-23 14:06 ThisCall 阅读(421) 评论(0) 推荐(0) 编辑
摘要:yml 阅读全文
posted @ 2019-07-23 11:43 ThisCall 阅读(160) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/suprezheng/article/details/90037702 以下是不用创建直接可用的 阅读全文
posted @ 2019-07-23 11:29 ThisCall 阅读(1018) 评论(0) 推荐(0) 编辑
摘要:就是因为没有对应的依赖 加上对应依赖就好了 阅读全文
posted @ 2019-07-23 07:47 ThisCall 阅读(1631) 评论(0) 推荐(0) 编辑
摘要:说明缺少依赖 阅读全文
posted @ 2019-07-22 20:55 ThisCall 阅读(5793) 评论(0) 推荐(0) 编辑
摘要:包名和配置文件路径必须一样 并且 阅读全文
posted @ 2019-07-22 17:23 ThisCall 阅读(761) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/lqtbk/p/9843401.html https://blog.csdn.net/yelllowcong/article/details/79216889 阅读全文
posted @ 2019-07-22 16:53 ThisCall 阅读(563) 评论(0) 推荐(0) 编辑
摘要:错误一 原因@Service 忘记加了 阅读全文
posted @ 2019-07-22 15:57 ThisCall 阅读(4923) 评论(0) 推荐(0) 编辑
摘要:VO 即value object值对象。主要体现在视图的对象,对于一个WEB页面将整个页面的属性封装成一个对象。然后用一个VO对象在控制层与视图层进行传输交换。 DTO 经过处理后的PO,可能增加或者减少PO的属性:Data Transfer Object数据传输对象主要用于远程调用等需要大量传输对 阅读全文
posted @ 2019-07-22 13:47 ThisCall 阅读(6152) 评论(0) 推荐(0) 编辑
摘要:修改配置 运行 然后刷新 如果想再生成,要把原有生成过的删除,因为生成是在原有基础上增加 阅读全文
posted @ 2019-07-20 09:59 ThisCall 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-20 09:19 ThisCall 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-20 09:18 ThisCall 阅读(458) 评论(0) 推荐(0) 编辑
摘要:下面的对缓存服务器有弊端,不行 下面的几乎没人用 阅读全文
posted @ 2019-07-20 08:55 ThisCall 阅读(391) 评论(0) 推荐(0) 编辑
摘要:1 2 3 4 5 阅读全文
posted @ 2019-07-20 08:46 ThisCall 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-20 08:34 ThisCall 阅读(460) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/hello321/p/7821400.html 阅读全文
posted @ 2019-07-19 12:33 ThisCall 阅读(6585) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-18 20:50 ThisCall 阅读(113) 评论(0) 推荐(0) 编辑
摘要:只有public方法,外部调用才有用,与异步相似 优化后 只有一个参数时,默认的key就参数,可以不写,比如这里写#id和不写key是一样的, 这里第二个如果不写,和其他两个指向就不是一回事了,现在三个方法指向相同,作用不同 阅读全文
posted @ 2019-07-18 20:41 ThisCall 阅读(10571) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-18 19:54 ThisCall 阅读(274) 评论(0) 推荐(0) 编辑
摘要:使用的前提条件 @Async使用的是外部代理,所以内部调用和是有方法都不会起作用,但不会报错,只是没效果 阅读全文
posted @ 2019-07-18 07:46 ThisCall 阅读(153) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/u010963948/article/details/79208328 https://ask.csdn.net/questions/718905 https://blog.csdn.net/zdyueguanyun/article/details/802 阅读全文
posted @ 2019-07-16 19:11 ThisCall 阅读(241) 评论(0) 推荐(0) 编辑
摘要:是新版本的问题 解决办法 阅读全文
posted @ 2019-07-16 18:12 ThisCall 阅读(96) 评论(0) 推荐(0) 编辑
摘要:安装模块 阅读全文
posted @ 2019-07-16 18:01 ThisCall 阅读(109) 评论(0) 推荐(0) 编辑
摘要:package com.自定义.mall.admin.system; import java.util.List; import java.util.Map; import javax.annotation.Resource; import org.junit.Test; import com.zjdfwl.mall.admin.base.BaseJunit; impor... 阅读全文
posted @ 2019-07-14 08:23 ThisCall 阅读(1531) 评论(0) 推荐(0) 编辑
摘要:SpringBoot在没配置@ComponentScan的情况下,默认只扫描和主类处于同包下的Class。 主类Application.java: 不加的可用情况 必须要加的情况 阅读全文
posted @ 2019-07-14 07:49 ThisCall 阅读(1622) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-14 07:19 ThisCall 阅读(150) 评论(0) 推荐(0) 编辑
摘要:后者可读性更好,建议创建类的形式传递 使用场景 PO数据访问层,把数据存到数据库 DTO输出数据库对象 VO用与MVC分离了时渲染层,或子对象,层级之间传递 POJO用于纯java对象之间 DO,DO用于逻辑层 DAO是对数据库曾删改查 pojo JavaBean 简化方案,不实用,不够规范,建议不 阅读全文
posted @ 2019-07-14 06:24 ThisCall 阅读(1759) 评论(0) 推荐(0) 编辑
摘要:dao是访问数据层,dto是数据传出层,po实体类 阅读全文
posted @ 2019-07-14 06:18 ThisCall 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-14 06:11 ThisCall 阅读(242) 评论(0) 推荐(0) 编辑
摘要:校验规范 最基本的 常用验证注解 举例 阅读全文
posted @ 2019-07-13 18:21 ThisCall 阅读(1040) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-13 17:51 ThisCall 阅读(144) 评论(0) 推荐(0) 编辑
摘要:实体类,bean文件,pojo文件夹,model文件夹都一样,这些都是编写实体类,这是我暂时看到的项目文件 阅读全文
posted @ 2019-07-13 16:45 ThisCall 阅读(1572) 评论(0) 推荐(0) 编辑
摘要:https://zhidao.baidu.com/question/428013630.html hhttps://blog.csdn.net/tianmaxingkonger/article/details/84851206(copy 阅读全文
posted @ 2019-07-13 16:35 ThisCall 阅读(13867) 评论(0) 推荐(0) 编辑
摘要:双击点亮数据库 导入数据库 点击开始 阅读全文
posted @ 2019-07-13 16:09 ThisCall 阅读(829) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/magi1201/article/details/82226289(copy) 最近学习看一些代码,发现对于发送请求这件事,有的地方用@RequestMapping,有的地方用@PostMapping,为了搞清楚区别,特意查了下spring 源代码,现在特 阅读全文
posted @ 2019-07-13 14:58 ThisCall 阅读(1121) 评论(0) 推荐(0) 编辑
摘要:如果热部署不行先看一眼 Project——》Build Automatically 看这个有没有打对勾,这是热部署的依赖 阅读全文
posted @ 2019-07-13 14:16 ThisCall 阅读(146) 评论(0) 推荐(0) 编辑
摘要:错误 正确 阅读全文
posted @ 2019-07-13 11:08 ThisCall 阅读(1458) 评论(0) 推荐(0) 编辑
摘要:@RunWith(SpringRunner.class) @SpringBootTest public class RabbitMqTest { @Autowired RabbitMqSender rabbitMqSender; @Autowired IUserBaseInfoService userBaseInfoService; ... 阅读全文
posted @ 2019-07-13 10:49 ThisCall 阅读(3529) 评论(0) 推荐(0) 编辑
摘要:把包安装好,然后配好,然后运行就可以了 阅读全文
posted @ 2019-07-13 10:45 ThisCall 阅读(492) 评论(0) 推荐(0) 编辑
摘要:作用:在json序列化时将java bean中的一些属性忽略掉,序列化和反序列化都受影响。 使用方法:一般标记在属性或者方法上,返回的json数据即不包含该属性。 场景模拟: 需要把一个List<HistoryOrderBean>转换成json格式的数据传递给前台。但实体类中基本属性字段的值都存储在 阅读全文
posted @ 2019-07-11 17:16 ThisCall 阅读(399) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/u014044812/article/details/84256764( 阅读全文
posted @ 2019-07-11 15:40 ThisCall 阅读(172) 评论(0) 推荐(0) 编辑
摘要:1.Window—Preferences—Java—Compiler—右侧面板设置为1.6 2.Window—Preferences—Java—Installed JREs—右侧面板“Add”本地的1.6版本jdk路径,并勾上 以上已经完成eclipse的jdk的变更3.在你需要变更jdk版本的项目 阅读全文
posted @ 2019-07-11 13:51 ThisCall 阅读(891) 评论(0) 推荐(0) 编辑
摘要:关于Springboot打包错误的问题 | Failed to execute goal org.springframework.boot:spring-boot-maven-plugin https://blog.csdn.net/qq_30553235/article/details/79094 阅读全文
posted @ 2019-07-11 10:02 ThisCall 阅读(21821) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/mousede/article/details/81285693 https://blog.csdn.net/weixin_42194143/article/details/80350623 这个更重要,都要看 配置环境需要的插件 https://www. 阅读全文
posted @ 2019-07-11 09:31 ThisCall 阅读(196) 评论(0) 推荐(0) 编辑
摘要:ECLipse软件需要安装 YEdit (支持yml文件),和spring tool https://blog.csdn.net/IBLiplus/article/details/82193114 阅读全文
posted @ 2019-07-10 14:15 ThisCall 阅读(131) 评论(0) 推荐(0) 编辑
摘要:先本地下载tomcat 参考 https://www.cnblogs.com/limn/p/9358657.html 下载后参考 https://jingyan.baidu.com/article/3065b3b6efa9d7becff8a4c6.html 阅读全文
posted @ 2019-07-10 14:14 ThisCall 阅读(294) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/limn/p/9358657.html 阅读全文
posted @ 2019-07-10 13:34 ThisCall 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-08 21:04 ThisCall 阅读(106) 评论(0) 推荐(0) 编辑
摘要:屏幕渲染跟不上canvas,所以延后canvas的draw可以解决问题 阅读全文
posted @ 2019-07-08 18:08 ThisCall 阅读(351) 评论(0) 推荐(0) 编辑
摘要:http://www.360doc.com/content/16/0711/23/34978982_574835465.shtml 阅读全文
posted @ 2019-07-08 10:00 ThisCall 阅读(134) 评论(0) 推荐(0) 编辑
摘要:httpclient:模拟浏览器发送请求,服务器会响应数据,用心区域网内 不同系统间的请求调用 依赖 httpclient.jar和httpcore.jar需要同时纯在 阅读全文
posted @ 2019-07-07 10:07 ThisCall 阅读(305) 评论(0) 推荐(0) 编辑
摘要:1 阅读全文
posted @ 2019-07-06 17:56 ThisCall 阅读(1837) 评论(0) 推荐(0) 编辑
摘要:@Controller public class ItemController { @Autowired private ItemService itemService; @RequestMapping("/item/{itemId}") //@ResponseBody public void getItemById(@PathVariab... 阅读全文
posted @ 2019-07-06 11:52 ThisCall 阅读(524) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/liaoYu1887/article/details/82714727(其他) 同上 阅读全文
posted @ 2019-07-06 11:48 ThisCall 阅读(1485) 评论(0) 推荐(0) 编辑
摘要:报错1 报错举例 阅读全文
posted @ 2019-07-06 11:07 ThisCall 阅读(342) 评论(0) 推荐(0) 编辑
摘要:创建接口类时,注意 阅读全文
posted @ 2019-07-06 09:37 ThisCall 阅读(114) 评论(0) 推荐(0) 编辑
摘要:1,转义方法 @JsonProperty("n") 阅读全文
posted @ 2019-07-06 09:17 ThisCall 阅读(399) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/zeping891103/article/details/85860149 (copy VSCode是一款代码编辑器,是微软的产品,这款编辑器非常受欢迎的一个原因是它支持很多插件,当然也包括RN开发的插件。VSCode的下载页是:https://code. 阅读全文
posted @ 2019-07-05 16:00 ThisCall 阅读(147) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/skylor/p/5783824.html 阅读全文
posted @ 2019-07-03 11:58 ThisCall 阅读(145) 评论(0) 推荐(0) 编辑
摘要:cover比较安全 cover模式只求在显示比例不失真的情况下填充整个显示区域。可以对图片进行放大或者缩小,超出显示区域的部分不显示, 也就是说,图片可能部分会显示不了。contain模式是要求显示整张图片, 可以对它进行等比缩小, 图片会显示完整,可能会露出Image控件的底色。 如果图片宽高都小 阅读全文
posted @ 2019-07-02 15:36 ThisCall 阅读(3056) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/ab7eb90034fd 阅读全文
posted @ 2019-07-02 11:15 ThisCall 阅读(606) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/eb489fc040dc 阅读全文
posted @ 2019-07-01 17:08 ThisCall 阅读(115) 评论(0) 推荐(0) 编辑
摘要:React Native 项目常用第三方组件汇总 https://www.jianshu.com/p/d9cd9a868764?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation 阅读全文
posted @ 2019-07-01 14:42 ThisCall 阅读(168) 评论(0) 推荐(0) 编辑
摘要:https://github.com/liyinglihuannan/react-native-swiper https://www.jianshu.com/p/4dba338ef37a(中文版 阅读全文
posted @ 2019-07-01 13:43 ThisCall 阅读(282) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示