|
@@ -39,7 +39,7 @@ public class AppDeviceServiceImp extends JpaServiceImp<AppDevice, String> implem
|
|
|
DeviceAttrDTO diffAttrDTO = null;
|
|
|
for (Map<String, Object> p : list) {
|
|
|
AppDevice device = new AppDevice(p);
|
|
|
- if(null == device.getDeliverTime()) new ApiRuntimeException("发货时间读取错误");
|
|
|
+ if (null == device.getDeliverTime()) new ApiRuntimeException("发货时间读取错误");
|
|
|
// 数据效验
|
|
|
if (null == diffAttrDTO) {
|
|
|
diffAttrDTO = new DeviceAttrDTO(device.getBatchNum(), device.getSn());
|
|
@@ -69,7 +69,7 @@ public class AppDeviceServiceImp extends JpaServiceImp<AppDevice, String> implem
|
|
|
device.setTypeTitle(getProductTitle("产品类型", device.getType()));
|
|
|
device.setExpandTitle("");
|
|
|
device.setPackTitle(getProductTitle("PACK制造商", device.getPack()));
|
|
|
- device.setSpecTitle("");
|
|
|
+ device.setSpecTitle(getProductTitle("化学体系", device.getChemistry()).concat(getProductTitle("电池平台", device.getPlatform())).concat(getProductTitle("容量", device.getCapacity())));
|
|
|
}
|
|
|
|
|
|
@Override
|