Explorar o código

1.首页数据统计问题修复

wxg %!s(int64=2) %!d(string=hai) anos
pai
achega
5f584cc16d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/main/resources/mapper/DataShowMapper.xml

+ 2 - 2
src/main/resources/mapper/DataShowMapper.xml

@@ -43,10 +43,10 @@
         </where>
         group by company_id,branch_id
         )d
-        <if test="dataShowMiddlerDTO.timeType == 1">
+        <if test="dataShowMiddlerDTO.passType == 1">
             order by number desc
         </if>
-        <if test="dataShowMiddlerDTO.timeType == 2">
+        <if test="dataShowMiddlerDTO.passType == 2">
             order by warningNumber desc
         </if>