guoyujia il y a 8 mois
Parent
commit
889b371e12

+ 2 - 2
src/main/resources/mybatis/business/BizDayworkItemExamineMapper.xml

@@ -79,13 +79,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </select>
     <select id="getDayworkItemList" resultType="cn.ezhizao.project.business.domain.BizDayworkItem">
         select t1.*,t2.process_alias from biz_daywork_item t1 left join biz_process t2 on t1.process_id = t2.id
-        where t1.daywork_id = #{dayworkId} and t1.deleted = 0 and t1.is_sort = 1
+        where t1.daywork_id = #{dayworkId} and t1.deleted = 0
         and t1.status = 3 order by t1.create_time
     </select>
     <select id="getProcessInspection" resultMap="ProcessInspectionResult">
         select t1.*,t3.process_alias from biz_process_inspecion t1 left join biz_daywork_item t2 on t1.daywork_item_id = t2.id
         left join biz_process t3 on t2.process_id = t3.id
-        where t2.daywork_id = #{dayworkId} and t1.deleted = 0 and t2.deleted = 0 and t2.is_sort = 1
+        where t2.daywork_id = #{dayworkId} and t1.deleted = 0 and t2.deleted = 0
         order by t2.process_step_number,t1.create_time
     </select>
     <delete id="physicalDelete">