|
@@ -70,6 +70,8 @@ public class ImportantDynamicServiceImpl implements IImportantDynamicService {
|
|
|
List dataList = new ArrayList();
|
|
|
JSONObject newJo = new JSONObject();
|
|
|
outJa.add(newJo);
|
|
|
+ newJo.put("title",titleJo.getString("title"));
|
|
|
+ newJo.put("subtitle",titleJo.getString("subtitle"));
|
|
|
for (ProdImportantIndicatorEntity importantEntity : importantList) {
|
|
|
if (titleJo.getString("type").trim().equalsIgnoreCase(importantEntity.getStockType())) {
|
|
|
if (importantEntity.getYear() == Integer.parseInt(year) && importantEntity.getMonth() == Integer.parseInt(month)) {
|
|
@@ -98,9 +100,9 @@ public class ImportantDynamicServiceImpl implements IImportantDynamicService {
|
|
|
JSONArray titleJa = new JSONArray();
|
|
|
JSONObject psyJo = new JSONObject();
|
|
|
titleJa.add(psyJo);
|
|
|
- psyJo.put("name", "PSY");
|
|
|
+ psyJo.put("title", "PSY");
|
|
|
psyJo.put("type", "psy");
|
|
|
- psyJo.put("comment", "");
|
|
|
+ psyJo.put("subtitle", "衡量母猪群繁殖性能力指标,一头母猪一年提供的成活仔猪数");
|
|
|
return titleJa;
|
|
|
}
|
|
|
|