| | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.dto.questionAnswer.QuestionAnswerDto; |
| | | import com.java110.dto.questionAnswerTitle.QuestionAnswerTitleDto; |
| | | import com.java110.dto.questionAnswerTitleValue.QuestionAnswerTitleValueDto; |
| | | import com.java110.dto.questionAnswer.QuestionAnswerTitleDto; |
| | | import com.java110.dto.questionAnswer.QuestionAnswerTitleValueDto; |
| | | import com.java110.po.questionAnswer.QuestionAnswerPo; |
| | | import com.java110.po.questionAnswerTitle.QuestionAnswerTitlePo; |
| | | import com.java110.po.questionAnswerTitleValue.QuestionAnswerTitleValuePo; |
| | | import com.java110.po.questionAnswer.QuestionAnswerTitlePo; |
| | | import com.java110.po.questionAnswer.QuestionAnswerTitleValuePo; |
| | | import com.java110.user.bmo.questionAnswer.IDeleteQuestionAnswerBMO; |
| | | import com.java110.user.bmo.questionAnswer.IGetQuestionAnswerBMO; |
| | | import com.java110.user.bmo.questionAnswer.ISaveQuestionAnswerBMO; |
| | |
| | | * @path /app/questionAnswer/queryQuestionAnswer |
| | | */ |
| | | @RequestMapping(value = "/queryQuestionAnswer", method = RequestMethod.GET) |
| | | public ResponseEntity<String> queryQuestionAnswer( |
| | | @RequestHeader(value = "store-id", required = false) String storeId, |
| | | @RequestHeader(value = "user-id", required = false) String userId, |
| | | @RequestParam(value = "communityId", required = false) String communityId, |
| | | @RequestParam(value = "objType", required = false) String objType, |
| | | @RequestParam(value = "qaType", required = false) String qaType, |
| | | @RequestParam(value = "qaName", required = false) String qaName, |
| | | @RequestParam(value = "qaId", required = false) String qaId, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | | public ResponseEntity<String> queryQuestionAnswer(@RequestHeader(value = "store-id", required = false) String storeId, |
| | | @RequestHeader(value = "user-id", required = false) String userId, |
| | | @RequestParam(value = "communityId", required = false) String communityId, |
| | | @RequestParam(value = "objType", required = false) String objType, |
| | | @RequestParam(value = "qaType", required = false) String qaType, |
| | | @RequestParam(value = "qaName", required = false) String qaName, |
| | | @RequestParam(value = "qaId", required = false) String qaId, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | | QuestionAnswerDto questionAnswerDto = new QuestionAnswerDto(); |
| | | questionAnswerDto.setPage(page); |
| | | questionAnswerDto.setRow(row); |