liurunyu
2024-04-23 1300e2434cb457e7d4d06ea66d90a04492f6c4e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.dy.pmsGlobal.global;
 
import com.dy.pmsGlobal.daoOth.OthFileMapper;
import com.dy.pmsGlobal.pojoOth.OthFile;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
 
@Slf4j
@Service
public class WebFileSv {
    @Autowired
    private OthFileMapper dao;
 
    @Transactional
    public Long save(OthFile po){
        this.dao.insertSelective(po) ;
        return po.id ;
    }
}