| | |
| | | |
| | | import com.dy.common.webUtil.QueryResultVo; |
| | | import com.dy.pipIrrGlobal.daoOp.OpeFeedbackMapper; |
| | | import com.dy.pipIrrGlobal.daoOp.OpeFeedbackReplyMapper; |
| | | import com.dy.pipIrrGlobal.pojoOp.OpeFeedback; |
| | | import com.dy.pipIrrGlobal.pojoOp.OpeFeedbackReply; |
| | | import com.dy.pipIrrGlobal.voOp.Vofeedback; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | public class FeedbackSv { |
| | | @Autowired |
| | | private OpeFeedbackMapper opeFeedbackMapper; |
| | | |
| | | @Autowired |
| | | private OpeFeedbackReplyMapper opeFeedbackReplyMapper; |
| | | |
| | | /** |
| | | * 添加问题反馈 |
| | |
| | | rsVo.obj = opeFeedbackMapper.getFeedbacks(params); |
| | | return rsVo; |
| | | } |
| | | |
| | | /** |
| | | * 问题反馈回复 |
| | | * @param reply |
| | | * @return |
| | | */ |
| | | public Integer addReply(OpeFeedbackReply reply) { |
| | | reply.setReplyTime(new Date()); |
| | | return opeFeedbackReplyMapper.insertSelective(reply); |
| | | } |
| | | } |