liurunyu
2023-12-14 6aa342cc662b3bfb81c3f58b6e6890a7c420ac23
pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/cancel/CancelSv.java
@@ -2,7 +2,8 @@
import com.dy.common.webUtil.QueryResultVo;
import com.dy.pipIrrGlobal.daoSe.SeCancelMapper;
import com.dy.pipIrrGlobal.pojoSe.VoCancel;
import com.dy.pipIrrGlobal.pojoSe.SeCancel;
import com.dy.pipIrrGlobal.voSe.VoCancel;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.common.utils.PojoUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -53,4 +54,14 @@
        rsVo.obj = seCancelMapper.getCancels(params);
        return rsVo ;
    }
    /**
     * 添加注销记录
     * @param po
     * @return
     */
    public Long add(SeCancel po) {
        seCancelMapper.insert(po);
        return po.getId();
    }
}