Commit bb0b6e91 authored by 李腾威's avatar 李腾威

BUG 修改

parent 176f8893
......@@ -41,5 +41,7 @@ public class BaseDto implements Serializable{
@ExcelIgnore
@ApiModelProperty(value = "是否删除")
private Boolean isDelete;
private Boolean isDelete=false;
}
......@@ -35,5 +35,6 @@ public class BaseEntity implements Serializable{
* 是否删除
*/
@TableField(value = "is_delete")
private Boolean isDelete;
public Boolean isDelete=false;
}
......@@ -205,4 +205,6 @@ public class WaterResource extends BaseEntity {
@ApiModelProperty("维保周期")
@TableField("maintenance_period")
private String maintenancePeriod;
}
......@@ -94,6 +94,7 @@ public class WaterResourceController extends BaseController {
model.setResourceTypeName(resourceTypeEnum.get().getName());
model.setRealityImg(null);
model.setOrientationImg(null);
model.setIsDelete(true);
/*2021-09-08 前端表示前端传递的address参数已经切割过,后端无需再切割获取 陈召 屏蔽代码 97-102行*/
/* if(model.getAddress()!=null){
JSONObject address = WaterResourceServiceImpl.getLongLatFromAddress(model.getAddress());
......
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