Commit c6e1d694 by unknown

modify message client back when course detail

parent 3af70e56
...@@ -602,9 +602,16 @@ public class CourseOrderController { ...@@ -602,9 +602,16 @@ public class CourseOrderController {
if (version.compareTo("v4") >= 0) { if (version.compareTo("v4") >= 0) {
List<AggregationResourceBean> list = aggregationCourseResourceBean.getResources(); List<AggregationResourceBean> list = aggregationCourseResourceBean.getResources();
boolean isClosed = false;// 是否封场 boolean isClosed = false;// 是否封场
map.put("messageType", aggregationCourseResourceBean.getMessageType());
map.put("message", aggregationCourseResourceBean.getMessage());
if (list != null) { if (list != null) {
for (AggregationResourceBean bean : list) { for (AggregationResourceBean bean : list) {
map.put("productType", bean.getProductType()); map.put("productType", bean.getProductType());
}
}
/*if (list != null) {
for (AggregationResourceBean bean : list) {
map.put("productType", bean.getProductType());
if (bean.getPriceStatus().equals(ResourcePriceStatusEnum.MAINTAIN.getValue()) || bean.getPriceStatus().equals(ResourcePriceStatusEnum.MATCH.getValue())) { if (bean.getPriceStatus().equals(ResourcePriceStatusEnum.MAINTAIN.getValue()) || bean.getPriceStatus().equals(ResourcePriceStatusEnum.MATCH.getValue())) {
map.put("messageType", bean.getPriceStatus()); map.put("messageType", bean.getPriceStatus());
if (bean.getPriceStatus().equals(ResourcePriceStatusEnum.MAINTAIN.getValue())) if (bean.getPriceStatus().equals(ResourcePriceStatusEnum.MAINTAIN.getValue()))
...@@ -633,7 +640,9 @@ public class CourseOrderController { ...@@ -633,7 +640,9 @@ public class CourseOrderController {
map.put("message", ""); map.put("message", "");
} }
} }
} }*/
} }
return map; return map;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment