|
@@ -230,7 +230,7 @@ warn_status,forecast_status,
|
|
|
from t_spare_part_info spare
|
|
|
left join t_sb_model_spare_bom tcpsr on tcpsr.spare_id=spare.id
|
|
|
LEFT JOIN t_part_info part on tcpsr.sb_part_id = part.id
|
|
|
- where tcpsr.model_id = #{id}
|
|
|
+ where tcpsr.sb_id = #{id}
|
|
|
</select>
|
|
|
|
|
|
<select id="selectSpareInfoListBySbId" resultType="com.platform.dao.vo.query.sparepartmanage.SparePartInfoVO">
|