liurunyu
5 天以前 7aab004601e77890b158f19d1735594a8326feaa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.dy.pipIrrGlobal.webCtrls;
 
import com.dy.pipIrrGlobal.daoFi.WebFileMapper;
import com.dy.pipIrrGlobal.pojoFi.WebFile;
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 WebFileMapper dao;
 
    @Transactional
    public Long save(WebFile po){
        this.dao.insertSelective(po) ;
        return po.id ;
    }
}