瀏覽代碼

Merge remote-tracking branch 'origin/master'

ezhizao_zx 11 月之前
父節點
當前提交
1daac241aa

+ 1 - 0
src/main/java/cn/ezhizao/project/business/product/controller/BizCarrierController.java

@@ -41,6 +41,7 @@ public class BizCarrierController extends BaseController {
 
 
     @Resource
     @Resource
     private IBizDayworkCarrierService bizDayworkCarrierService;
     private IBizDayworkCarrierService bizDayworkCarrierService;
+
     @Resource
     @Resource
     private IBizCarrierCategoryService bizCarrierCategoryService;
     private IBizCarrierCategoryService bizCarrierCategoryService;
 
 

+ 9 - 1
src/main/resources/mybatis/business/product/BizDayworkItemMapper.xml

@@ -66,7 +66,15 @@
         <collection property="consults" ofType="cn.ezhizao.project.business.product.domain.BizDayworkItemConsult" column="id" select="getSortConsultList"/>
         <collection property="consults" ofType="cn.ezhizao.project.business.product.domain.BizDayworkItemConsult" column="id" select="getSortConsultList"/>
     </resultMap>
     </resultMap>
     <select id="getSortListByDayworkId" resultMap="BizSortListResult">
     <select id="getSortListByDayworkId" resultMap="BizSortListResult">
-        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.dept_name = '分选' and t1.deleted = 0 and t2.deleted = 0  and t1.status &lt;4
+        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.is_sort = 1
+          and t1.deleted = 0
+          and t2.deleted = 0
+          and t1.status &lt;4
         order by t1.process_step_number,t1.create_time
         order by t1.process_step_number,t1.create_time
     </select>
     </select>
     <select id="getSortRejectList" resultType="cn.ezhizao.project.business.product.domain.BizDayworkItemReject">
     <select id="getSortRejectList" resultType="cn.ezhizao.project.business.product.domain.BizDayworkItemReject">