Commit 8432a1f3 authored by 赵啸非's avatar 赵啸非

修改附件地址

parent ce8ac722
......@@ -103,7 +103,7 @@ export default {
return {
number: 0,
uploadList: [],
uploadFileUrl: "/office/file/commonupload", // 上传的地址
uploadFileUrl: "/infopublish/file/commonupload", // 上传的地址
headers: {},
fileList: [],
};
......
......@@ -42,7 +42,7 @@ export default {
data() {
return {
dialogVisible: false,
uploadImgUrl: "/office/file/commonupload", // 上传的图片服务器地址
uploadImgUrl: "/infopublish/file/commonupload", // 上传的图片服务器地址
};
},
props: {
......
package com.mortals.xhx.module.device.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.device.model.DeviceEntity;
import java.util.ArrayList;
import java.util.List;
import com.mortals.xhx.module.device.model.DeviceFileEntity;
import com.mortals.xhx.module.device.model.DeviceWorkmanEntity;
import lombok.Data;
import com.mortals.framework.annotation.Excel;
import java.math.BigDecimal;
import java.util.Date;
/**
* 设备管理视图对象
*
* @author zxfei
* @date 2023-12-04
*/
* 设备管理视图对象
*
* @author zxfei
* @date 2023-12-04
*/
@Data
public class DeviceVo extends BaseEntityLong {
/** 主键ID,主键,自增长列表 */
private List <Long> idList;
/**
* 主键ID,主键,自增长列表
*/
private List<Long> idList;
/**
* 多个逗号分割
......@@ -29,4 +38,8 @@ public class DeviceVo extends BaseEntityLong {
*/
private Integer scrollNum;
private List<DeviceFileEntity> deviceFileEntityList;
private List<DeviceWorkmanEntity> deviceWorkmanEntityList;
}
\ No newline at end of file
......@@ -112,4 +112,26 @@ public class DeviceServiceImpl extends AbstractCRUDCacheServiceImpl<DeviceDao, D
String token = rest.getData();
return token;
}
@Override
protected void saveAfter(DeviceEntity entity, Context context) throws AppException {
super.saveAfter(entity, context);
}
@Override
protected void updateAfter(DeviceEntity entity, Context context) throws AppException {
if (!ObjectUtils.isEmpty(entity.getDeviceWorkmanEntityList())) {
}
if (!ObjectUtils.isEmpty(entity.getDeviceFileEntityList())) {
}
}
@Override
protected void removeAfter(Long[] ids, Context context, int result) throws AppException {
super.removeAfter(ids, context, result);
}
}
\ No newline at end of file
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