审查视图

src/main/java/com/sy/service/impl/CLRServiceImpl.java 629 字节
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
package com.sy.service.impl;

import com.sy.mapper.v_express_billnoMapper;
import com.sy.model.v_express_billno;
import com.sy.service.CLRService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CLRServiceImpl implements CLRService {


    @Autowired
    private v_express_billnoMapper billnoMapper;
    @Override
    public int save(v_express_billno billno) {
        int row = 0;
        try {
            row = billnoMapper.insert(billno);
        }catch (Exception e){
            e.printStackTrace();
        }
        return row;
    }
}