xuzhancheng 5 dní pred
rodič
commit
cb4654181e

+ 1 - 1
tz-module-pressure2/tz-module-pressure2-biz/src/main/resources/mapper/boilertaskorderitemreport/BoilerTaskOrderItemReportMapper.xml

@@ -16,7 +16,7 @@
         where a.ORDER_ITEM_ID = #{orderItemId}
           and a.TASK_STATUS in (520,600,700,710,800)
         order by
-            case when a.ITEM_PART_ID = 0 then 0 else 1 end,
+            case when a.ITEM_PART_ID = '0' then 0 else 1 end,
             c.PART_TYPE,
             case when a.REPORT_TYPE = 100 then 0 else 1 end,
             a.SORT