|
@@ -29,8 +29,8 @@ public class ScaleContentFacade extends ScaleContentServiceImpl {
|
|
|
.orderByAsc("order_no"));
|
|
|
|
|
|
//看需是否要调用大数据
|
|
|
- for(ScaleContent scaleContent : data) {
|
|
|
- if(ScaleTypeEnum.PUSH.getKey() == scaleContent.getType()) {
|
|
|
+ for (ScaleContent scaleContent : data) {
|
|
|
+ if (ScaleTypeEnum.PUSH.getKey() == scaleContent.getType()) {
|
|
|
//TODO 调用推理
|
|
|
scaleContent.setContent("大数据json字符串");
|
|
|
break;
|
|
@@ -52,8 +52,8 @@ public class ScaleContentFacade extends ScaleContentServiceImpl {
|
|
|
.orderByAsc("order_no"));
|
|
|
|
|
|
//看需是否要调用大数据
|
|
|
- for(ScaleContent scaleContent : data) {
|
|
|
- if(ScaleTypeEnum.PUSH.getKey() == scaleContent.getType()) {
|
|
|
+ for (ScaleContent scaleContent : data) {
|
|
|
+ if (ScaleTypeEnum.PUSH.getKey() == scaleContent.getType()) {
|
|
|
scaleContent.setContent(pushContent);
|
|
|
break;
|
|
|
}
|