首页>代码>基于springboot+MySQL的养老院管理系统>/info-manage-main/src/main/java/com/sm/graduation/accident/dao/AccidentRecordMapper.java
package com.sm.graduation.accident.dao; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.*; import com.sm.graduation.accident.pojo.AccidentRecord; @Mapper public interface AccidentRecordMapper { List<AccidentRecord> listAll(Map map); @Select("select id,accident,`desc`,acc_time,loss from accident_record where id=#{id}") AccidentRecord getById(Long id); @Insert("insert into accident_record(accident,`desc`,acc_time,loss) values(#{accident},#{desc},#{accTime},#{loss})") int insert(AccidentRecord accidentRecord); @Update("update accident_record set accident=#{accident},`desc`=#{desc}, acc_time=#{accTime}, loss=#{loss} where id=#{id}") int update(AccidentRecord accidentRecord); @Delete("delete from accident_record where id=#{id}") int delete(Integer id); }

漫步的南瓜 LV1
3月24日
陈小灏 LV18
2月21日
微信网友_7371218154688512 LV4
2月5日
zolscy LV24
2024年11月26日
citybird LV4
2024年11月19日
gxqgwq LV6
2024年11月16日
hx0204 LV2
2024年11月2日
wuying8208 LV15
2024年10月23日
韩健威 LV3
2024年9月18日
yyhrhv LV8
2024年9月3日

gann2015 LV25
4月8日
漫步的南瓜 LV1
3月24日
docnnxxy688
3月22日
暂无贡献等级
sunlzh888888 LV29
3月12日
orang801 LV2
3月3日
陈小灏 LV18
2月21日
pxqtsht LV16
2月21日
微信网友_7371218154688512 LV4
2月5日
段池卿 LV1
1月19日
xinshou11111x
2024年12月17日
暂无贡献等级