@@ -122,4 +122,9 @@ public class SbModelSpareBomVO extends BaseVO implements Serializable {
*/
private String updateUserName;
+ /**
+ * 备件名称
+ */
+ private String spareName;
+
}
@@ -30,6 +30,7 @@
<select id="selectVOList" parameterType="com.platform.dao.dto.sb.SbModelSpareBomDTO"
resultType="com.platform.dao.vo.sb.SbModelSpareBomVO">
select
+ partInfo.name as spareName,
<include refid="Left_Column"/>
from t_sb_model_spare_bom bom
LEFT JOIN t_sb_info sbInfo ON bom.sb_id = sbInfo.id