|  |  |  | 
|---|
|  |  |  | private MultifileMapper multifileMapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public Integer create(Multifile multifile) { | 
|---|
|  |  |  | public String create(Multifile multifile) { | 
|---|
|  |  |  | multifileMapper.insert(multifile); | 
|---|
|  |  |  | return multifile.getId(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public void deleteById(Integer id) { | 
|---|
|  |  |  | public void deleteById(String id) { | 
|---|
|  |  |  | multifileMapper.deleteById(id); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public Multifile findOne(Multifile multifile) { | 
|---|
|  |  |  | QueryWrapper<Multifile> wrapper = new QueryWrapper<>(multifile); | 
|---|
|  |  |  | return multifileMapper.selectOne(wrapper); | 
|---|
|  |  |  | return multifileMapper.selectOne(wrapper.last(" limit 1")); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|