Browse Source

修复评价bug

zhangxin 3 tuần trước cách đây
mục cha
commit
9c44552e61

+ 1 - 1
national-motion-module-system/national-motion-system-biz/src/main/java/org/jeecg/modules/system/app/mapper/xml/EvaluateMapper.xml

@@ -20,7 +20,7 @@
         <if test="findEvaluateRequestDTO.score!=null">
             AND ne.score = #{findEvaluateRequestDTO.score}
         </if>
-        <if test="findEvaluateRequestDTO.userId!=null and findEvaluateRequestDTO.userId!='">
+        <if test="findEvaluateRequestDTO.userId!=null and findEvaluateRequestDTO.userId!=''">
             AND ne.user_id = #{findEvaluateRequestDTO.userId}
         </if>
         <if test="findEvaluateRequestDTO.checkStatus!=null">