
ssm
世界第一款
加油!
展开
-
ssm联表查询方法,一对多查询方法 以及过程中Could not resolve type alias异常
1、ssm联表查询方法,一对多查询方法: <select id="findAl" resultMap="StaffWithOrdersResult"> select s.*,p.* FROM midea.staff s,midea.position p where s.position_id=p.id </select> <resultMap type="ssm.domain.Staff" id="StaffWithOrdersResult">原创 2020-07-09 13:19:38 · 557 阅读 · 0 评论 -
EasyUI datagrid json嵌套的object数据在datagrid中的显示方法
我的是员工表和职位表关联,因此查询的时候员工内嵌职位 columns:[[ { field:"id", title:"员工编号", width:100, checkbox:true }, { field:"name", title:"员工姓名", width:200 }, { field:"position",原创 2020-07-09 13:15:37 · 185 阅读 · 0 评论 -
ssm系统 报错 404 Error creating bean with name ‘deliverBillController‘
原因:service层没有加注解 在搭spring mvc框架时,ide不会报错但会有编译错误的几个注意事项: 1.controller 加注解 @RestController @RequestMapping("/user") 2.service加注解 @Service @Autowired 3.dao 加注解和实现接口 @Param("") ...原创 2020-07-08 10:15:11 · 277 阅读 · 0 评论