| | |
| | | import com.dy.pipIrrApp.issue.dto.DtoDeleteParam; |
| | | import com.dy.pipIrrApp.issue.qo.QoIssueReport; |
| | | import com.dy.pipIrrGlobal.daoOp.OpeIssueReportMapper; |
| | | import com.dy.pipIrrGlobal.daoOp.OpeReportReplyMapper; |
| | | import com.dy.pipIrrGlobal.pojoOp.OpeIssueReport; |
| | | import com.dy.pipIrrGlobal.pojoOp.OpeReportReply; |
| | | import com.dy.pipIrrGlobal.voOp.VoIssueReport; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.dubbo.common.utils.PojoUtils; |
| | |
| | | public class IssueSv { |
| | | @Autowired |
| | | private OpeIssueReportMapper opeIssueReportMapper; |
| | | |
| | | @Autowired |
| | | private OpeReportReplyMapper opeReportReplyMapper; |
| | | |
| | | /** |
| | | * 添加巡检员问题上报 |
| | |
| | | return "success"; |
| | | } |
| | | |
| | | /** |
| | | * 添加巡检员问题上报回复 |
| | | * 添加问题上报回复记录 |
| | | * 问题上报状态改为已回复 |
| | | * @param po |
| | | * @return |
| | | */ |
| | | public String replyReport(OpeReportReply po) { |
| | | po.setReplyTime(new Date()); |
| | | opeReportReplyMapper.insert(po); |
| | | if(po.getId() == 0) { |
| | | return "回复记录添加失败"; |
| | | } |
| | | |
| | | return "sucess"; |
| | | } |
| | | |
| | | } |