guoyujia 7 月之前
父节点
当前提交
576c4a6b20

+ 2 - 0
src/main/java/cn/ezhizao/project/business/product/domain/BizProcessInspecion.java

@@ -230,6 +230,8 @@ public class BizProcessInspecion extends BaseEntity
     private List<BizProcessInspectionPicture> processInspectionPictureList;
     @TableField(exist = false)
     private List<BizProcessInspecion> relateList;
+    @TableField(exist = false)
+    private String processCodeLabel;
 
     //工序编码
     @TableField(exist = false)

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

@@ -82,7 +82,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         order by t1.is_inspection_carrier_changed, ( case when t1.status = 0 then 3 else t1.status end) desc, t1.create_time asc
     </select>
     <select id="getInfoByIds" resultMap="BizProcessInspecionResult">
-        select t1.*,t3.id as process_id,t3.process_alias,t4.technology_version,t5.drawing_number from biz_process_inspecion t1
+        select t1.*,t3.id as process_id,t3.process_code as processCodeLabel,t3.process_alias,t4.technology_version,t5.drawing_number 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
         left join biz_lot t4 on t1.lot_id = t4.id