Authored by hugufei

fix ufo商品上下架的bug

... ... @@ -27,7 +27,7 @@ public class UfoToYohoGeneralService {
productIndexBO.setProductKeyword(product.getKeyWords());
//状态
productIndexBO.setStatus(1);
if (product.getDelStatus() != 0 || product.getShelveStatus() == 0) {
if (product.getDelStatus() != 0 || product.getShelveStatus() != 1){
productIndexBO.setStatus(0);
}
productIndexBO.setIsSales(productIndexBO.getStatus() == 1 ? "Y" : "N");
... ...