|
@@ -22,12 +22,13 @@
|
|
|
<result column="join_date" jdbcType="VARCHAR" property="joinDate"/>
|
|
|
<result column="zone_id" jdbcType="BIGINT" property="zoneId"/>
|
|
|
<result column="material_type" jdbcType="VARCHAR" property="materialType"/>
|
|
|
+ <result column="production_type" jdbcType="VARCHAR" property="productionType"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<!-- 通用查询结果列 -->
|
|
|
<sql id="Base_Column_List">
|
|
|
id,create_time,create_user,update_time,update_user,join_date,factory,zone_id,
|
|
|
- no, name, status, model, category, brand,map_no,period,expiry_date,num,material_type,org_id
|
|
|
+ no, name, status, model, category, brand,map_no,period,expiry_date,num,material_type,org_id,production_type
|
|
|
</sql>
|
|
|
|
|
|
<!-- 分页 -->
|
|
@@ -35,8 +36,9 @@
|
|
|
select
|
|
|
<include refid="Base_Column_List"/>
|
|
|
from (
|
|
|
- select a.*, z.org_id from imcs_m_frock_clamp a
|
|
|
+ select a.*, z.org_id,tt.production_type from imcs_m_frock_clamp a
|
|
|
left join imcs_z_zone z on a.zone_id = z.id
|
|
|
+ left join imcs_t_tray tt on a.no=tt.no
|
|
|
) s ${ew.customSqlSegment}
|
|
|
</select>
|
|
|
|