|
@@ -345,8 +345,9 @@ public class BatchServiceImpl implements IBatchService {
|
|
|
unitJson.put("deep_conversion_type", groupJson.getInteger("deep_conversion_type"));
|
|
|
}
|
|
|
// 优化目标
|
|
|
- if (!Check.isNull(groupJson.getInteger("ocpx_action_type"))) {
|
|
|
- unitJson.put("ocpx_action_type", groupJson.getInteger("ocpx_action_type"));
|
|
|
+ Integer ocpx_action_type = groupJson.getInteger("ocpx_action_type");
|
|
|
+ if (!Check.isNull(ocpx_action_type)) {
|
|
|
+ unitJson.put("ocpx_action_type", ocpx_action_type);
|
|
|
}
|
|
|
String unitName = groupJson.getString("unitName");
|
|
|
if (!Check.isNull(unitName)) {
|
|
@@ -361,7 +362,7 @@ public class BatchServiceImpl implements IBatchService {
|
|
|
successJson.put("unit_id", returnUnitMap.get("unitId"));
|
|
|
successJson.put("unit_name", unitName);
|
|
|
successJson.put("scene_id", scene_id);
|
|
|
- successJson.put("bid_type", bidType);
|
|
|
+ successJson.put("ocpx_action_type", ocpx_action_type);
|
|
|
successArr.add(successJson);
|
|
|
} else {
|
|
|
JSONObject failJson = new JSONObject();
|