摘要: po层 ``` package com.bh.po; public class Emp { private int empno; private String ename; private String job; private String salary; private int deptno; 阅读全文
posted @ 2023-06-07 16:15 liangkuan 阅读(63) 评论(0) 推荐(0)
摘要: 1、 配置pom.xml文件导入需要的jar包 ``` org.springframework spring-core ${org.springframework.version} org.springframework spring-context ${org.springframework.ve 阅读全文
posted @ 2023-06-07 15:09 liangkuan 阅读(12) 评论(0) 推荐(0)
摘要: 导jar包(依赖) ``` com.fasterxml.jackson.core jackson-core 2.12.6 com.fasterxml.jackson.core jackson-annotations 2.12.6 com.fasterxml.jackson.core jackson- 阅读全文
posted @ 2023-06-07 14:55 liangkuan 阅读(54) 评论(0) 推荐(0)
摘要: controller ``` package com.bh.controller; import com.bh.po.User; import org.springframework.stereotype.Controller; import org.springframework.web.bind 阅读全文
posted @ 2023-06-07 14:46 liangkuan 阅读(40) 评论(0) 推荐(0)