Просмотр исходного кода

修改统计逻辑,不算撤销单

anderx 1 год назад
Родитель
Сommit
d1c64f0ecc
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

+ 2 - 1
src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

@@ -721,7 +721,8 @@
         select
         select
         <include refid="Base_Column_List" />
         <include refid="Base_Column_List" />
         from public_release
         from public_release
-        where order_no= #{orderNo}
+        where status in (0,1,2,4)
+        and order_no= #{orderNo}
     </select>
     </select>
     <select id="selectMyNewPublic" resultMap="BaseResultMap">
     <select id="selectMyNewPublic" resultMap="BaseResultMap">
         select
         select