java110 2 lat temu
rodzic
commit
87655e9fe8

+ 1 - 1
java110-db/src/main/resources/mapper/user/UserQuestionAnswerV1ServiceDaoImplMapper.xml

@@ -68,7 +68,7 @@
         <if test="qaId !=null and qaId != ''">
             and t.qa_id= #{qaId}
         </if>
-        order by t.create_time desc
+        order by t.room_name
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
         </if>

+ 1 - 1
service-user/src/main/java/com/java110/user/cmd/question/ListUserQuestionAnswerCmd.java

@@ -61,7 +61,7 @@ public class ListUserQuestionAnswerCmd extends Cmd {
 
     @Override
     public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
-        super.validatePageInfo(reqJson);
+        
         Assert.hasKeyAndValue(reqJson, "communityId", "未包含小区信息");
         Assert.hasKeyAndValue(reqJson, "qaId", "未包含小区信息");
     }