|
@@ -55,7 +55,7 @@ public interface IRenovationPartsDetailMapper extends IBaseMapper<RenovationPart
|
|
|
"LEFT JOIN `tb_renovation_parts_color` e ON e.id = a.parts_color_id " +
|
|
|
"LEFT JOIN `tb_renovation_parts_classify` f ON f.id = a.parts_classify_id " +
|
|
|
"LEFT JOIN `tb_renovation_parts_attaching` g ON g.parts_detail_id = a.id " +
|
|
|
- " WHERE a.rec_status = 'A' " +
|
|
|
+ " WHERE a.rec_status = 'A' and b.add_status= 2 " +
|
|
|
"<if test= 'param.userId != null'> " +
|
|
|
" and b.user_id = #{param.userId} " +
|
|
|
"</if> " +
|