|
@@ -21,7 +21,7 @@ public interface IRenovationPartsDetailMapper extends IBaseMapper<RenovationPart
|
|
|
@Select("<script>" +
|
|
|
"select id, key_word as keyWord, type, description, img, high_img as highImg, path, name, zh_name as zhName, parts_type_id as partsTypeId, has_toolbag as hasToolbag ,mview_path as " +
|
|
|
"mviewPath , other_file_url as otherFileUrl " +
|
|
|
- "from tb_renovation_parts_detail where parts_type_id = #{partsTypeId} and rec_status = 'A' and is_show = 1 and examine = 1" +
|
|
|
+ "from tb_renovation_parts_detail where parts_type_id = #{partsTypeId} and rec_status = 'A' and is_show = 1 and examine = 1 and mview_status in (0,2) " +
|
|
|
"<if test= 'colorId != null'> " +
|
|
|
" and parts_color_id = #{colorId} " +
|
|
|
"</if> " +
|
|
@@ -38,7 +38,7 @@ public interface IRenovationPartsDetailMapper extends IBaseMapper<RenovationPart
|
|
|
|
|
|
@Select("select id,parts_type_id AS partsTypeId, key_word as keyWord, type, description, img, high_img as highImg, path, name, zh_name as zhName, has_toolbag as hasToolbag ,mview_path as " +
|
|
|
"mviewPath ,other_file_url as otherFileUrl from " +
|
|
|
- "tb_renovation_parts_detail where key_word like CONCAT('%', #{keyWord}, '%') and rec_status = 'A' and is_show = 1 and examine = 1 ")
|
|
|
+ "tb_renovation_parts_detail where key_word like CONCAT('%', #{keyWord}, '%') and rec_status = 'A' and is_show = 1 and examine = 1 and mview_status in (0,2) ")
|
|
|
List<ResponseRenovationPartsDetail> findByKeyWord(String keyWord);
|
|
|
|
|
|
@Select("<script> " +
|