Commit 2dc6511a authored by fupeiyang's avatar fupeiyang

消防水源接口修改

parent 550cae97
...@@ -136,6 +136,8 @@ public class WaterResourceController extends BaseController { ...@@ -136,6 +136,8 @@ public class WaterResourceController extends BaseController {
@PathVariable(value = "sequenceNbr") Long sequenceNbr) { @PathVariable(value = "sequenceNbr") Long sequenceNbr) {
// 更新基本信息 // 更新基本信息
model.setSequenceNbr(sequenceNbr); model.setSequenceNbr(sequenceNbr);
model.setRealityImg(JSONArray.toJSONString(model.getRealityImgList()));
model.setOrientationImg(JSONArray.toJSONString(model.getOrientationImgList()));
WaterResourceDto waterResourceDto = waterResourceServiceImpl.updateWithModel(model); WaterResourceDto waterResourceDto = waterResourceServiceImpl.updateWithModel(model);
// 更新属性信息 // 更新属性信息
String resourceType = model.getResourceType(); String resourceType = model.getResourceType();
......
...@@ -111,7 +111,7 @@ public class BeanDtoVoUtils { ...@@ -111,7 +111,7 @@ public class BeanDtoVoUtils {
} }
}); });
} }
// 根据LocalDate来计算年龄 // 根据LocalDate来计算年龄
public static int getAge(Date birthDay) { public static int getAge(Date birthDay) {
if (birthDay == null) { if (birthDay == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment