|
@@ -14,6 +14,7 @@ import org.springframework.web.servlet.ModelAndView;
|
|
|
import org.springframework.web.servlet.view.RedirectView;
|
|
import org.springframework.web.servlet.view.RedirectView;
|
|
|
|
|
|
|
|
import com.goafanti.achievement.service.AchievementService;
|
|
import com.goafanti.achievement.service.AchievementService;
|
|
|
|
|
+import com.goafanti.common.enums.AchievementBargainingMode;
|
|
|
import com.goafanti.common.enums.AchievementMaturity;
|
|
import com.goafanti.common.enums.AchievementMaturity;
|
|
|
import com.goafanti.common.enums.AchievementTransferMode;
|
|
import com.goafanti.common.enums.AchievementTransferMode;
|
|
|
import com.goafanti.common.enums.UserLevel;
|
|
import com.goafanti.common.enums.UserLevel;
|
|
@@ -176,6 +177,10 @@ public class PortalController extends BaseController {
|
|
|
} else {
|
|
} else {
|
|
|
bo.setTransferPriceS(PRICE_NEGOTIABLE);
|
|
bo.setTransferPriceS(PRICE_NEGOTIABLE);
|
|
|
}
|
|
}
|
|
|
|
|
+ if (null == bo.getBargainingMode()
|
|
|
|
|
+ || AchievementBargainingMode.NEGOTIABLE.getCode().equals(bo.getBargainingMode())) {
|
|
|
|
|
+ bo.setTransferPriceS(PRICE_NEGOTIABLE);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
mv.addObject("similarList", similarList);
|
|
mv.addObject("similarList", similarList);
|
|
@@ -231,6 +236,10 @@ public class PortalController extends BaseController {
|
|
|
} else {
|
|
} else {
|
|
|
achievement.setTransferPriceS(PRICE_NEGOTIABLE);
|
|
achievement.setTransferPriceS(PRICE_NEGOTIABLE);
|
|
|
}
|
|
}
|
|
|
|
|
+ if (null == achievement.getBargainingMode()
|
|
|
|
|
+ || AchievementBargainingMode.NEGOTIABLE.equals(achievement.getBargainingMode())) {
|
|
|
|
|
+ achievement.setTransferModeS(PRICE_NEGOTIABLE);
|
|
|
|
|
+ }
|
|
|
achievement.setLocation(location);
|
|
achievement.setLocation(location);
|
|
|
|
|
|
|
|
}
|
|
}
|