首页>代码>基于springboot+MySQL的养老院管理系统>/info-manage-main/src/main/java/com/sm/graduation/accident/service/AccidentRecordService.java
package com.sm.graduation.accident.service; import com.sm.graduation.accident.pojo.AccidentRecord; import com.sm.graduation.accident.dao.AccidentRecordMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.Map; @Service public class AccidentRecordService { @Autowired private AccidentRecordMapper accidentRecordMapper; public List<AccidentRecord> listAll(Map map) { return accidentRecordMapper.listAll(map); } public AccidentRecord getById(Long id) { return accidentRecordMapper.getById(id); } public int insert(AccidentRecord accidentRecord) { return accidentRecordMapper.insert(accidentRecord); } public int update(AccidentRecord accidentRecord) { return accidentRecordMapper.update(accidentRecord); } public int delete(Integer id) { return accidentRecordMapper.delete(id); } }
最近下载更多
微信网友_6927932988952576 LV12
3月30日
wanglinddad LV54
3月27日
wbw123 LV5
3月4日
微信网友_6888487558615040 LV6
3月1日
NineOne LV2
3月1日
敏哥gege LV43
2月13日
admin_z LV22
2023年12月26日
huangzy LV12
2023年12月13日
houyuxin LV2
2023年11月29日
haitianjiaoyu0 LV6
2023年11月21日
最近浏览更多
微信网友_6507988172591104 LV1
5月1日
1941549176
4月29日
暂无贡献等级
ming_123_9715 LV23
4月26日
welcome丶 LV8
4月26日
akittyboy LV9
4月16日
lingtiejing LV15
4月12日
荣》Cowboy LV12
4月11日
wyyz5211314 LV4
4月7日
微信网友_6927932988952576 LV12
3月29日
wanglinddad LV54
3月27日