Browse Source

[C端][修复]:C端选择的答题不能被过滤的bug

release_toaliyun_real
hupeng 7 years ago
parent
commit
b9cf3faf6b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mallinkCApi/src/main/java/com/iformall/controller/WxQuestionController.java

+ 1
- 1
mallinkCApi/src/main/java/com/iformall/controller/WxQuestionController.java View File

@@ -49,11 +49,11 @@ public class WxQuestionController extends BaseController {
wxQuestionConfig.setCouponTypeList(ct.toString()); wxQuestionConfig.setCouponTypeList(ct.toString());
List<WxQuestionConfig> listConfig = wxQuestionService.findConfigList(wxQuestionConfig); List<WxQuestionConfig> listConfig = wxQuestionService.findConfigList(wxQuestionConfig);
if (listConfig.size() > 0) { if (listConfig.size() > 0) {
wxQuestionConfig = listConfig.get(0);
if (listConfig.get(0).getStatus().equals(EnumQuestionConfigStatus.ON.getCode())) { if (listConfig.get(0).getStatus().equals(EnumQuestionConfigStatus.ON.getCode())) {
WxQuestion wxQuestion = new WxQuestion(); WxQuestion wxQuestion = new WxQuestion();
wxQuestion.setTenantId(getTenantId()); wxQuestion.setTenantId(getTenantId());
wxQuestion.setIds(JSONObject.parseArray(wxQuestionConfig.getQuestionList(), Long.class)); wxQuestion.setIds(JSONObject.parseArray(wxQuestionConfig.getQuestionList(), Long.class));

List<WxQuestion> listQuestion = wxQuestionService.findList(wxQuestion); List<WxQuestion> listQuestion = wxQuestionService.findList(wxQuestion);
if (listQuestion.size() > 0) { if (listQuestion.size() > 0) {
Iterator<WxQuestion> q = listQuestion.iterator(); Iterator<WxQuestion> q = listQuestion.iterator();


Loading…
Cancel
Save