@@ -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