liurunyu
2024-10-31 aa59ddfc2c48dd540fe769e95c2429623f3851c8
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
26
27
28
29
30
31
package com.dy.pipIrrWechat.issue;
 
import com.dy.pipIrrGlobal.daoSe.SeIssueReportMapper;
import com.dy.pipIrrGlobal.pojoSe.SeIssueReport;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
/**
 * @author ZhuBaoMin
 * @date 2024-10-30 10:34
 * @LastEditTime 2024-10-30 10:34
 * @Description 农户问题上报服务类
 */
 
@Slf4j
@Service
public class IssueSv {
    @Autowired
    private SeIssueReportMapper seIssueReportMapper;
 
    /**
     * 添加问题上报信息
     * @param po
     * @return
     */
    public Long insertIssueReport(SeIssueReport po) {
        seIssueReportMapper.insert(po);
        return po.getId();
    }
}