SSM框架
努力的布布
好好运动、好好学习、好好玩、好好吃、好好休息
展开
-
一起学习SpringBoot项目
新建SpringBoot项目1.File->new->project2.设置JDK版本3.项目名称,打包方式,JDK版本,唯一标识等4.SpringBoot项目需要依赖,暂不勾选可在POM.XML 引入Mave依赖5.application.properties配置端口号等信息,把我的配置拷贝过来:#配置端口号server.port=8988#数据配置spring.datasource.url=jdbc:mysql://xx.xx.xx.xx/readapple?useSSL原创 2021-02-25 23:40:26 · 124 阅读 · 0 评论 -
MyBatis动态SQL在实际开发中的应用(1)
1.往数据库插入数据通过trim标签和if标签可以实现列数据为空的不进行插入。insert into enum_machining_bill_delivery_type <trim prefix="(" suffix=")" suffixOverrides=","> <if test="deliveryType != null"> d...原创 2020-06-16 11:57:47 · 244 阅读 · 0 评论 -
使用MyBatis动态SQL实现多条件组合查询数据列表
前端HTML界面搜索框以及条件下拉框MySQL查询语句SELECT<select id="listPage" parameterType="java.util.Map" resultType="dac.order.api.vo.orderSearch.SearchOrderCoreVo"> select od.delivery_weight, opd.pre_delivery_weight, os.settle_weight,原创 2020-06-10 17:59:01 · 1594 阅读 · 0 评论