自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 Mybatis--动态SQL

在Web开发中开发人员通常根据需求手动拼接SQL语句,这是一个及其麻烦的工作,而Mybatis提供了对SQL语句进行动态组装的功能,恰能解决这一问题。Mybatis的动态SQL元素与JSTL或XML文本处理器相似,常用< if >、< when >、< otherwise >、< trim >、< where >、< set >、< foreach >和< bind >等元素。 if元素 <!-- if元素

2021-12-04 00:53:57 1103

原创 Mybatis学习-映射器

通过Map接口传递多个参数 在usermapper.xml中加入标签 <select id="seletctUserLike" resultType="tradition_user_package.MyUser" parameterType="map"> select * from user where uname like concat('%',#{uname},'%') and usex=#{usex} </select> 在userdao中加入函数 public List&l

2021-12-03 17:05:32 151

原创 SSM学习-Mybatis开发入门

mybatis管理数据 MyUser类 package tradition_user_package; public class MyUser { private int uid; private String uname,usex; public int getUid() { return uid; } public void setUid(int uid) { this.uid = uid; } public String getUname() { return uname; } public

2021-11-28 09:54:31 168

原创 AspectJWeaver

最近学习Spring AspectJWeaver 在书上找过时了,下面是新的链接,拿走不谢。 AspectJ

2021-10-16 01:11:44 123

原创 Early Orders

时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 You are given a list of integers x1,x2,…,xnx_1, x_2, \ldots, x_nx1​,x2​,…,xn​ and a number k. It is guaranteed that each i from 1 to k appears in the list at le...

2021-03-15 00:01:19 71

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除