|
|
@@ -32,7 +32,7 @@ public class ReportsAdPushServiceImpl implements IReportsAdPushService {
|
|
|
public static final String APP_KEY = "OUlg7WTa6UWZItfTmJw2JdQvhVI4VcRj";
|
|
|
|
|
|
public static final String TEMPLATE_ID = "AAqBGlVblKabY";
|
|
|
- public static final String TEMPLATE_VERSION = "1.0.15";
|
|
|
+ public static final String TEMPLATE_VERSION = "1.0.18";
|
|
|
@Autowired
|
|
|
ReportsAdPushMapper reportsPushMapper;
|
|
|
|
|
|
@@ -124,11 +124,15 @@ public class ReportsAdPushServiceImpl implements IReportsAdPushService {
|
|
|
JSONObject obj = new JSONObject();
|
|
|
obj.put("movieName", m.getString("movie_name"));
|
|
|
// obj.put("movieNameColor", movieNameColor);
|
|
|
- obj.put("endAmount", m.get("water_end_amount"));
|
|
|
+// obj.put("endAmount", m.get("water_end_amount"));
|
|
|
// obj.put("movieRealRoi", m.get("real_roi"));
|
|
|
obj.put("hourCostAmount", m.get("hour_cost_amount"));
|
|
|
- obj.put("iaaRoi", m.get("iaa_roi"));
|
|
|
- obj.put("iapRoi", m.get("iap_roi"));
|
|
|
+ String iaaRoi = String.valueOf(m.get("iaa_roi"));
|
|
|
+ String iapRoi = String.valueOf(m.get("iap_roi"));
|
|
|
+ String iaaAmount = String.valueOf(m.get("share_iaa_amount_3"));
|
|
|
+ String iapAmount = String.valueOf(m.get("share_pay_amount"));
|
|
|
+ obj.put("iaaRoi", iaaRoi+"\n\r"+iaaAmount);
|
|
|
+ obj.put("iapRoi", iapRoi+"\n\r"+iapAmount);
|
|
|
String movieProjectSource = String.valueOf(m.get("movie_project_source"));
|
|
|
String movieProjectSourceName = String.valueOf(m.get("movie_project_source_name"));
|
|
|
JSONArray ms = new JSONArray();
|