摘要: 查找相同数据SQL: select * from table where name in (select name from table group by name having count(name) > 1); 阅读全文
posted @ 2022-08-12 11:18 才没有木头 阅读(47) 评论(0) 推荐(0)
摘要: //截取二个字符中间的信息String fileUrl ="22-CD-213123125.pdf";//获取第二个-的下标int i = fileUrl.indexOf("-", 3) + 1;//获取第一个.的下标int i1 = fileUrl.indexOf(".");//截取String 阅读全文
posted @ 2022-08-03 16:15 才没有木头 阅读(86) 评论(0) 推荐(0)
摘要: List<PdTechnologyCommunityComment> pdTechnologyCommunityComments = pdTechnologyCommunityCommentMapper.listAllByPdTechnologyCommunityComment(var); 需要组装 阅读全文
posted @ 2022-07-20 15:25 才没有木头 阅读(75) 评论(0) 推荐(0)
摘要: /** * 构建前端所需要树结构 * * @param menus 菜单列表 * @return 树结构列表 */public List<BOMBaseDict> buildMenuTree(List<BOMBaseDict> menus){ List<BOMBaseDict> returnList 阅读全文
posted @ 2022-05-18 14:02 才没有木头 阅读(31) 评论(0) 推荐(0)
摘要: SpringBoot打印MyBatis sql日志输出 默认情况下mybatis是不开启SQL日志输出,需要手动配置 方法一:(在mybatis整合在springboot框架的情况下) 只需要在配置文件【application.yml】中加入以下配置:(其中com.tj.mapper为项目mappe 阅读全文
posted @ 2022-05-18 09:19 才没有木头 阅读(2832) 评论(0) 推荐(0)
摘要: <insert id="insert" parameterType="com.Football.personal.model.FootballOrders" useGeneratedKeys="true" keyProperty="orderId" keyColumn="order_id"> ins 阅读全文
posted @ 2021-10-25 16:20 才没有木头 阅读(45) 评论(0) 推荐(0)
摘要: //将不需要的对象去掉Iterator<TableBean> it = list.iterator();int index = 0;while (it.hasNext()){ TableBean next = it.next(); if (next.getFIELDENNAME().equals(" 阅读全文
posted @ 2021-10-14 10:38 才没有木头 阅读(148) 评论(0) 推荐(0)
摘要: 1、开放端口 firewall-cmd --zone=public --add-port=5672/tcp --permanent # 开放5672端口 firewall-cmd --zone=public --remove-port=5672/tcp --permanent #关闭5672端口 f 阅读全文
posted @ 2021-10-13 18:13 才没有木头 阅读(288) 评论(0) 推荐(0)
摘要: 1 List -> Map 设个User类: public class User { private String userName; private String userId; private String userInfo; public User(){} public User(String 阅读全文
posted @ 2021-08-17 18:09 才没有木头 阅读(303) 评论(0) 推荐(0)
摘要: mybatis不能使用 <= >= > < 这些常用符号,要用替代符号判断 特殊字符 替代符号 & &amp; < &lt; > &gt; " &quot; ' &apos; 阅读全文
posted @ 2021-08-13 15:16 才没有木头 阅读(337) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示