|  |  |  | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.stereotype.Service; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | private SeReportReplyMapper seReportReplyMapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 添加问题上报信息 | 
|---|
|  |  |  | * 添加用户问题上报 | 
|---|
|  |  |  | * @param po | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Long insertIssueReport(SeIssueReport po) { | 
|---|
|  |  |  | public String addIssueReport(SeIssueReport po) { | 
|---|
|  |  |  | po.setReportTime(new Date()); | 
|---|
|  |  |  | po.setState((byte)1); | 
|---|
|  |  |  | seIssueReportMapper.insert(po); | 
|---|
|  |  |  | return po.getId(); | 
|---|
|  |  |  | Long issueReportId = po.getId(); | 
|---|
|  |  |  | if(issueReportId == null) { | 
|---|
|  |  |  | return "农户问题上报失败"; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return "success"; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|