package com.dy.pipIrrProject.controller;
|
|
import com.dy.pipIrrGlobal.daoPr.PrControllerMapper;
|
import com.dy.pipIrrGlobal.pojoPr.PrController;
|
import lombok.extern.slf4j.Slf4j;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
/**
|
* @author ZhuBaoMin
|
* @date 2023-12-29 10:06
|
* @LastEditTime 2023-12-29 10:06
|
* @Description
|
*/
|
|
@Slf4j
|
@Service
|
public class ControllerSv {
|
@Autowired
|
private PrControllerMapper prControllerMapper;
|
|
/**
|
* 添加控制器
|
* @param po
|
* @return
|
*/
|
public Integer addController(PrController po) {
|
return prControllerMapper.insert(po);
|
}
|
}
|