fix
This commit is contained in:
parent
a4e0d5422c
commit
4db92c15f1
|
|
@ -2,9 +2,9 @@ package com.bonus.zlpt.equip.api.domain;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.bonus.zlpt.common.core.annotation.Excel;
|
import com.bonus.zlpt.common.core.annotation.Excel;
|
||||||
import com.bonus.zlpt.common.core.web.domain.BaseEntity;
|
import com.bonus.zlpt.common.core.web.domain.BaseEntity;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.ToString;
|
import lombok.ToString;
|
||||||
|
|
||||||
|
|
@ -22,98 +22,122 @@ public class DevInfo extends BaseEntity
|
||||||
|
|
||||||
/** 设备id */
|
/** 设备id */
|
||||||
@Excel(name = "设备id")
|
@Excel(name = "设备id")
|
||||||
|
@ApiModelProperty(value = "设备id")
|
||||||
private Long maId;
|
private Long maId;
|
||||||
|
|
||||||
/** 系统编码 */
|
/** 系统编码 */
|
||||||
@Excel(name = "系统编码")
|
@Excel(name = "系统编码")
|
||||||
|
@ApiModelProperty(value = "系统编码")
|
||||||
private String code;
|
private String code;
|
||||||
|
|
||||||
/** 类型id */
|
/** 类型id */
|
||||||
@Excel(name = "类型id")
|
@Excel(name = "类型id")
|
||||||
|
@ApiModelProperty(value = "类型id")
|
||||||
private Long typeId;
|
private Long typeId;
|
||||||
|
|
||||||
/** 设备状态(自有,待上架,上架,在租,下架)考虑数据字典 */
|
/** 设备状态(自有,待上架,上架,在租,下架)考虑数据字典 */
|
||||||
@Excel(name = "设备状态(自有,待上架,上架,在租,下架)考虑数据字典")
|
@Excel(name = "设备状态(自有,待上架,上架,在租,下架)考虑数据字典")
|
||||||
|
@ApiModelProperty(value = "设备状态(自有,待上架,上架,在租,下架)考虑数据字典")
|
||||||
private String maStatus;
|
private String maStatus;
|
||||||
|
|
||||||
/** 租赁范围 */
|
/** 租赁范围 */
|
||||||
@Excel(name = "租赁范围")
|
@Excel(name = "租赁范围")
|
||||||
|
@ApiModelProperty(value = "租赁范围")
|
||||||
private Long leaseScope;
|
private Long leaseScope;
|
||||||
|
|
||||||
/** 设备所在地 */
|
/** 设备所在地 */
|
||||||
@Excel(name = "设备所在地")
|
@Excel(name = "设备所在地")
|
||||||
|
@ApiModelProperty(value = "设备所在地")
|
||||||
private String location;
|
private String location;
|
||||||
|
|
||||||
/** 设备品牌 */
|
/** 设备品牌 */
|
||||||
@Excel(name = "设备品牌")
|
@Excel(name = "设备品牌")
|
||||||
|
@ApiModelProperty(value = "设备品牌")
|
||||||
private String brand;
|
private String brand;
|
||||||
|
|
||||||
/** 设备型号 */
|
/** 设备型号 */
|
||||||
@Excel(name = "设备型号")
|
@Excel(name = "设备型号")
|
||||||
|
@ApiModelProperty(value = "设备型号")
|
||||||
private String modelName;
|
private String modelName;
|
||||||
|
|
||||||
/** 出厂日期 */
|
/** 出厂日期 */
|
||||||
@Excel(name = "出厂日期")
|
@Excel(name = "出厂日期")
|
||||||
|
@ApiModelProperty(value = "出厂日期")
|
||||||
private String productionDate;
|
private String productionDate;
|
||||||
|
|
||||||
/** 工作时长 */
|
/** 工作时长 */
|
||||||
@Excel(name = "工作时长")
|
@Excel(name = "工作时长")
|
||||||
|
@ApiModelProperty(value = "工作时长")
|
||||||
private String workingHours;
|
private String workingHours;
|
||||||
|
|
||||||
/** 整机序列号 */
|
/** 整机序列号 */
|
||||||
@Excel(name = "整机序列号")
|
@Excel(name = "整机序列号")
|
||||||
|
@ApiModelProperty(value = "整机序列号")
|
||||||
private String serialNumber;
|
private String serialNumber;
|
||||||
|
|
||||||
/** 设备月租价 */
|
/** 设备月租价 */
|
||||||
@Excel(name = "设备月租价")
|
@Excel(name = "设备月租价")
|
||||||
|
@ApiModelProperty(value = "设备月租价")
|
||||||
private String monthLeasePrice;
|
private String monthLeasePrice;
|
||||||
|
|
||||||
/** 设备天租价 */
|
/** 设备天租价 */
|
||||||
@Excel(name = "设备天租价")
|
@Excel(name = "设备天租价")
|
||||||
|
@ApiModelProperty(value = "设备天租价")
|
||||||
private String dayLeasePrice;
|
private String dayLeasePrice;
|
||||||
|
|
||||||
/** 设备主照片 */
|
/** 设备主照片 */
|
||||||
@Excel(name = "设备主照片")
|
@Excel(name = "设备主照片")
|
||||||
|
@ApiModelProperty(value = "设备主照片")
|
||||||
private String picUrl;
|
private String picUrl;
|
||||||
|
|
||||||
/** 机手月租金 */
|
/** 机手月租金 */
|
||||||
@Excel(name = "机手月租金")
|
@Excel(name = "机手月租金")
|
||||||
|
@ApiModelProperty(value = "机手月租金")
|
||||||
private String jsMonthPrice;
|
private String jsMonthPrice;
|
||||||
|
|
||||||
/** 机手天租金 */
|
/** 机手天租金 */
|
||||||
@Excel(name = "机手天租金")
|
@Excel(name = "机手天租金")
|
||||||
|
@ApiModelProperty(value = "机手天租金")
|
||||||
private String jsDayPrice;
|
private String jsDayPrice;
|
||||||
|
|
||||||
/** 详细描述 */
|
/** 详细描述 */
|
||||||
@Excel(name = "详细描述")
|
@Excel(name = "详细描述")
|
||||||
|
@ApiModelProperty(value = "详细描述")
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
/** gps编号 */
|
/** gps编号 */
|
||||||
@Excel(name = "gps编号")
|
@Excel(name = "gps编号")
|
||||||
|
@ApiModelProperty(value = "gps编号")
|
||||||
private String gpsCode;
|
private String gpsCode;
|
||||||
|
|
||||||
/** 设备所属公司 */
|
/** 设备所属公司 */
|
||||||
@Excel(name = "设备所属公司")
|
@Excel(name = "设备所属公司")
|
||||||
|
@ApiModelProperty(value = "设备所属公司")
|
||||||
private Long ownCo;
|
private Long ownCo;
|
||||||
|
|
||||||
/** 创建人 */
|
/** 创建人 */
|
||||||
@Excel(name = "创建人")
|
@Excel(name = "创建人")
|
||||||
|
@ApiModelProperty(value = "创建人")
|
||||||
private Long creator;
|
private Long creator;
|
||||||
|
|
||||||
/** 设备规格 */
|
/** 设备规格 */
|
||||||
@Excel(name = "设备规格")
|
@Excel(name = "设备规格")
|
||||||
|
@ApiModelProperty(value = "设备规格")
|
||||||
private String specification;
|
private String specification;
|
||||||
|
|
||||||
/** 订金 */
|
/** 订金 */
|
||||||
@Excel(name = "订金")
|
@Excel(name = "订金")
|
||||||
|
@ApiModelProperty(value = "订金")
|
||||||
private BigDecimal deposit;
|
private BigDecimal deposit;
|
||||||
|
|
||||||
/** 是否删除 */
|
/** 是否删除 */
|
||||||
@Excel(name = "是否配备机手")
|
@Excel(name = "是否配备机手")
|
||||||
|
@ApiModelProperty(value = "是否配备机手")
|
||||||
private String isOperator;
|
private String isOperator;
|
||||||
|
|
||||||
/** 是否删除 */
|
/** 是否删除 */
|
||||||
@Excel(name = "是否删除")
|
@Excel(name = "是否删除")
|
||||||
|
@ApiModelProperty(value = "是否删除")
|
||||||
private String isActive;
|
private String isActive;
|
||||||
/**文件附件*/
|
/**文件附件*/
|
||||||
private List<SysFileInfo> fileList;
|
private List<SysFileInfo> fileList;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
package com.bonus.zlpt.equip.api.domain.vo;
|
package com.bonus.zlpt.equip.api.domain.vo;
|
||||||
|
|
||||||
import com.bonus.zlpt.equip.api.domain.DevInfo;
|
import com.bonus.zlpt.equip.api.domain.DevInfo;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.ToString;
|
import lombok.ToString;
|
||||||
|
|
||||||
|
|
@ -12,35 +13,60 @@ public class DevInfoVo extends DevInfo {
|
||||||
private Integer pageSize;
|
private Integer pageSize;
|
||||||
private long parentId;
|
private long parentId;
|
||||||
/* 装备类别 grandpa */
|
/* 装备类别 grandpa */
|
||||||
|
@ApiModelProperty(value = "装备类别")
|
||||||
private String typeName;
|
private String typeName;
|
||||||
/* 装备组别 parent */
|
/* 装备组别 parent */
|
||||||
|
@ApiModelProperty(value = "装备组别")
|
||||||
private String groupName;
|
private String groupName;
|
||||||
/* 装备名称 child */
|
/* 装备名称 child */
|
||||||
|
@ApiModelProperty(value = "装备名称")
|
||||||
private String deviceName;
|
private String deviceName;
|
||||||
|
@ApiModelProperty(value = "收藏id")
|
||||||
private int collectId;
|
private int collectId;
|
||||||
|
@ApiModelProperty(value = "公司名称")
|
||||||
private String companyName;
|
private String companyName;
|
||||||
|
@ApiModelProperty(value = "公司logo")
|
||||||
private String companyLogoUrl;
|
private String companyLogoUrl;
|
||||||
|
@ApiModelProperty(value = "公司入驻时间")
|
||||||
private String companyCreateTime;
|
private String companyCreateTime;
|
||||||
|
@ApiModelProperty(value = "公司上架数量")
|
||||||
private Long companyUpNum;
|
private Long companyUpNum;
|
||||||
/* 联系商家,被授权人手机号 */
|
/* 联系商家,被授权人手机号 */
|
||||||
|
@ApiModelProperty(value = "认证人电话")
|
||||||
private String authPhone;
|
private String authPhone;
|
||||||
|
@ApiModelProperty(value = "外观图集")
|
||||||
private String[] pictures;
|
private String[] pictures;
|
||||||
|
@ApiModelProperty(value = "关键词")
|
||||||
private String keyWord;
|
private String keyWord;
|
||||||
/* 是否审核通过, ma_up_off:status, 1=通过, 2驳回 */
|
/* 是否审核通过, ma_up_off:status, 1=通过, 2驳回 */
|
||||||
|
@ApiModelProperty(value = "是否审核通过")
|
||||||
private String isAudit;
|
private String isAudit;
|
||||||
|
@ApiModelProperty(value = "搜索数量")
|
||||||
private Long searchNum;
|
private Long searchNum;
|
||||||
|
@ApiModelProperty(value = "检验pdf")
|
||||||
private String examinationPdf;
|
private String examinationPdf;
|
||||||
|
@ApiModelProperty(value = "保险pdf")
|
||||||
private String insurancePdf;
|
private String insurancePdf;
|
||||||
/** 1上架,2下架*/
|
/** 1上架,2下架*/
|
||||||
|
@ApiModelProperty(value = "上下架类别")
|
||||||
private String type;
|
private String type;
|
||||||
/**上下架id*/
|
/**上下架id*/
|
||||||
|
@ApiModelProperty(value = "上下架id")
|
||||||
private int upId;
|
private int upId;
|
||||||
|
@ApiModelProperty(value = "搜索月租金最下值")
|
||||||
private Integer monthLeasePriceMin;
|
private Integer monthLeasePriceMin;
|
||||||
|
@ApiModelProperty(value = "搜索月租金最大值")
|
||||||
private Integer monthLeasePriceMax;
|
private Integer monthLeasePriceMax;
|
||||||
|
@ApiModelProperty(value = "搜索装备年份最小值")
|
||||||
private Integer ageMin;
|
private Integer ageMin;
|
||||||
|
@ApiModelProperty(value = "搜索装备年份最大值")
|
||||||
private Integer ageMax;
|
private Integer ageMax;
|
||||||
|
@ApiModelProperty(value = "搜索装备工作小时最小值")
|
||||||
private Integer workingHoursMin;
|
private Integer workingHoursMin;
|
||||||
|
@ApiModelProperty(value = "搜索装备工作小时最大值")
|
||||||
private Integer workingHoursMax;
|
private Integer workingHoursMax;
|
||||||
|
@ApiModelProperty(value = "搜索装备月租金排序 ASC or DESC")
|
||||||
private String monthLeasePriceOrderBy; // ASC or DESC
|
private String monthLeasePriceOrderBy; // ASC or DESC
|
||||||
|
@ApiModelProperty(value = "搜索装备更新时间排序 ASC or DESC")
|
||||||
private String updateTimeOrderBy; // ASC or DESC
|
private String updateTimeOrderBy; // ASC or DESC
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import java.math.BigDecimal;
|
||||||
|
|
||||||
import com.bonus.zlpt.common.core.annotation.Excel;
|
import com.bonus.zlpt.common.core.annotation.Excel;
|
||||||
import com.bonus.zlpt.common.core.web.domain.BaseEntity;
|
import com.bonus.zlpt.common.core.web.domain.BaseEntity;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.ToString;
|
import lombok.ToString;
|
||||||
|
|
||||||
|
|
@ -21,45 +22,56 @@ public class OrderInfo extends BaseEntity
|
||||||
|
|
||||||
/** $column.columnComment */
|
/** $column.columnComment */
|
||||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||||
|
@ApiModelProperty(value = "订单id")
|
||||||
private Long orderId;
|
private Long orderId;
|
||||||
|
|
||||||
/** 父id(续租原订单) */
|
/** 父id(续租原订单) */
|
||||||
@Excel(name = "父id", readConverterExp = "续=租原订单")
|
@Excel(name = "父id", readConverterExp = "续=租原订单")
|
||||||
|
@ApiModelProperty(value = "父id")
|
||||||
private Long pId;
|
private Long pId;
|
||||||
|
|
||||||
/** 订单编号 */
|
/** 订单编号 */
|
||||||
@Excel(name = "订单编号")
|
@Excel(name = "订单编号")
|
||||||
|
@ApiModelProperty(value = "订单编号")
|
||||||
private String code;
|
private String code;
|
||||||
|
|
||||||
/** 订单日期 */
|
/** 订单日期 */
|
||||||
@Excel(name = "订单日期")
|
@Excel(name = "订单日期")
|
||||||
|
@ApiModelProperty(value = "订单日期")
|
||||||
private String time;
|
private String time;
|
||||||
|
|
||||||
/** 订金 */
|
/** 订金 */
|
||||||
@Excel(name = "订金")
|
@Excel(name = "订金")
|
||||||
|
@ApiModelProperty(value = "订金")
|
||||||
private BigDecimal deposit;
|
private BigDecimal deposit;
|
||||||
|
|
||||||
/** 订单金额 */
|
/** 订单金额 */
|
||||||
@Excel(name = "订单金额")
|
@Excel(name = "订单金额")
|
||||||
|
@ApiModelProperty(value = "订单金额")
|
||||||
private BigDecimal cost;
|
private BigDecimal cost;
|
||||||
|
|
||||||
/** 结算周期 */
|
/** 结算周期 */
|
||||||
@Excel(name = "结算周期")
|
@Excel(name = "结算周期")
|
||||||
|
@ApiModelProperty(value = "结算周期")
|
||||||
private String payType;
|
private String payType;
|
||||||
|
|
||||||
/** 供应商id */
|
/** 供应商id */
|
||||||
@Excel(name = "供应商id")
|
@Excel(name = "供应商id")
|
||||||
|
@ApiModelProperty(value = "供应商id")
|
||||||
private String supplier;
|
private String supplier;
|
||||||
|
|
||||||
/** 订单状态(待确认,待上传合同,待发货,已退货,待收货,进行中,临期,超期,驳回,退租申请,续租申请,完结) */
|
/** 订单状态(待确认,待上传合同,待发货,已退货,待收货,进行中,临期,超期,驳回,退租申请,续租申请,完结) */
|
||||||
@Excel(name = "订单状态", readConverterExp = "待=确认,待上传合同,待发货,已退货,待收货,进行中,临期,超期,驳回,退租申请,续租申请,完结")
|
@Excel(name = "订单状态", readConverterExp = "待=确认,待上传合同,待发货,已退货,待收货,进行中,临期,超期,驳回,退租申请,续租申请,完结")
|
||||||
|
@ApiModelProperty(value = "订单状态")
|
||||||
private String orderStatus;
|
private String orderStatus;
|
||||||
|
|
||||||
/** 下单用户id */
|
/** 下单用户id */
|
||||||
@Excel(name = "下单用户id")
|
@Excel(name = "下单用户id")
|
||||||
|
@ApiModelProperty(value = "下单用户id")
|
||||||
private Long orderUser;
|
private Long orderUser;
|
||||||
|
|
||||||
/** 下单企业 */
|
/** 下单企业 */
|
||||||
@Excel(name = "下单企业")
|
@Excel(name = "下单企业")
|
||||||
|
@ApiModelProperty(value = "下单企业")
|
||||||
private String orderCompany;
|
private String orderCompany;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ package com.bonus.zlpt.common.core.domain.order.vo;
|
||||||
|
|
||||||
import com.bonus.zlpt.common.core.annotation.Excel;
|
import com.bonus.zlpt.common.core.annotation.Excel;
|
||||||
import com.bonus.zlpt.common.core.domain.order.OrderInfo;
|
import com.bonus.zlpt.common.core.domain.order.OrderInfo;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.ToString;
|
import lombok.ToString;
|
||||||
|
|
||||||
|
|
@ -10,35 +11,61 @@ import lombok.ToString;
|
||||||
@ToString
|
@ToString
|
||||||
public class OrderInfoVo extends OrderInfo {
|
public class OrderInfoVo extends OrderInfo {
|
||||||
/* 装备类别 grandpa */
|
/* 装备类别 grandpa */
|
||||||
|
@ApiModelProperty(value = "装备类别")
|
||||||
private String typeName;
|
private String typeName;
|
||||||
/* 装备组别 parent */
|
/* 装备组别 parent */
|
||||||
|
@ApiModelProperty(value = "装备组别")
|
||||||
private String groupName;
|
private String groupName;
|
||||||
/* 装备名称 child */
|
/* 装备名称 child */
|
||||||
|
@ApiModelProperty(value = "装备名称")
|
||||||
private String deviceName;
|
private String deviceName;
|
||||||
|
@ApiModelProperty(value = "装备id")
|
||||||
private Long maId;
|
private Long maId;
|
||||||
|
@ApiModelProperty(value = "联系电话")
|
||||||
private String orderPhone;
|
private String orderPhone;
|
||||||
|
@ApiModelProperty(value = "供应商")
|
||||||
private String supplierCompany;
|
private String supplierCompany;
|
||||||
/** 需求单位 */
|
/** 需求单位 */
|
||||||
@Excel(name = "需求单位")
|
@Excel(name = "需求单位")
|
||||||
|
@ApiModelProperty(value = "需求单位")
|
||||||
private String needCompany;
|
private String needCompany;
|
||||||
|
@ApiModelProperty(value = "设备计划进场时间")
|
||||||
private String planStartTime;
|
private String planStartTime;
|
||||||
|
@ApiModelProperty(value = "是否需要机手")
|
||||||
private String isMachinist;
|
private String isMachinist;
|
||||||
|
@ApiModelProperty(value = "设备进场省市县")
|
||||||
private Integer addressId;
|
private Integer addressId;
|
||||||
|
@ApiModelProperty(value = "详细地址")
|
||||||
private String address;
|
private String address;
|
||||||
|
@ApiModelProperty(value = "工期时长")
|
||||||
private String duration;
|
private String duration;
|
||||||
|
@ApiModelProperty(value = "发票类型")
|
||||||
private String invoiceType;
|
private String invoiceType;
|
||||||
|
@ApiModelProperty(value = "项目说明")
|
||||||
private String description;
|
private String description;
|
||||||
|
@ApiModelProperty(value = "租赁类型")
|
||||||
private Long leaseType;
|
private Long leaseType;
|
||||||
|
@ApiModelProperty(value = "租赁单价")
|
||||||
private String leasePrice;
|
private String leasePrice;
|
||||||
|
@ApiModelProperty(value = "机手单价")
|
||||||
private String machinistPrice;
|
private String machinistPrice;
|
||||||
|
@ApiModelProperty(value = "订单合同")
|
||||||
private String orderContract;
|
private String orderContract;
|
||||||
|
@ApiModelProperty(value = "机手姓名")
|
||||||
private String machinistName;
|
private String machinistName;
|
||||||
|
@ApiModelProperty(value = "联系电话")
|
||||||
private String phone;
|
private String phone;
|
||||||
|
@ApiModelProperty(value = "物流司机电话")
|
||||||
private String logisticsPhone;
|
private String logisticsPhone;
|
||||||
|
@ApiModelProperty(value = "设备实际进场时间")
|
||||||
private String realStartTime;
|
private String realStartTime;
|
||||||
|
@ApiModelProperty(value = "租方进场确认人")
|
||||||
private String renterName;
|
private String renterName;
|
||||||
|
@ApiModelProperty(value = "出租方进场确认人")
|
||||||
private String tenantName;
|
private String tenantName;
|
||||||
|
@ApiModelProperty(value = "进场附件")
|
||||||
private String entryAttachment;
|
private String entryAttachment;
|
||||||
/* 合同附件 */
|
/* 合同附件 */
|
||||||
|
@ApiModelProperty(value = "合同附件")
|
||||||
private String contractUrl;
|
private String contractUrl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,8 @@ import com.bonus.zlpt.common.core.web.page.TableDataInfo;
|
||||||
import com.bonus.zlpt.common.log.annotation.Log;
|
import com.bonus.zlpt.common.log.annotation.Log;
|
||||||
import com.bonus.zlpt.common.log.enums.BusinessType;
|
import com.bonus.zlpt.common.log.enums.BusinessType;
|
||||||
import com.bonus.zlpt.common.security.annotation.RequiresPermissions;
|
import com.bonus.zlpt.common.security.annotation.RequiresPermissions;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import com.bonus.zlpt.equip.service.IDevInfoService;
|
import com.bonus.zlpt.equip.service.IDevInfoService;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
@ -24,6 +26,7 @@ import javax.servlet.http.HttpServletResponse;
|
||||||
* @author xsheng
|
* @author xsheng
|
||||||
* @date 2023-12-02
|
* @date 2023-12-02
|
||||||
*/
|
*/
|
||||||
|
@Api(tags = "装备数据接口")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/dev")
|
@RequestMapping("/dev")
|
||||||
public class DevInfoController extends BaseController
|
public class DevInfoController extends BaseController
|
||||||
|
|
@ -35,6 +38,7 @@ public class DevInfoController extends BaseController
|
||||||
* 查询设备信息列表
|
* 查询设备信息列表
|
||||||
*/
|
*/
|
||||||
//@RequiresPermissions("equip:info:list")
|
//@RequiresPermissions("equip:info:list")
|
||||||
|
@ApiOperation(value = "装备列表")
|
||||||
@PostMapping("/list")
|
@PostMapping("/list")
|
||||||
public TableDataInfo list(@RequestBody DevInfoVo devInfo)
|
public TableDataInfo list(@RequestBody DevInfoVo devInfo)
|
||||||
{
|
{
|
||||||
|
|
@ -45,6 +49,7 @@ public class DevInfoController extends BaseController
|
||||||
|
|
||||||
@RequiresPermissions("equip:info:list")
|
@RequiresPermissions("equip:info:list")
|
||||||
@GetMapping("/hotList")
|
@GetMapping("/hotList")
|
||||||
|
@ApiOperation(value = "装备推荐列表")
|
||||||
public TableDataInfo hotList(DevInfoVo devInfo)
|
public TableDataInfo hotList(DevInfoVo devInfo)
|
||||||
{
|
{
|
||||||
startPage(devInfo.getPageNum(),devInfo.getPageSize());
|
startPage(devInfo.getPageNum(),devInfo.getPageSize());
|
||||||
|
|
@ -68,6 +73,7 @@ public class DevInfoController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 获取设备信息详细信息
|
* 获取设备信息详细信息
|
||||||
*/
|
*/
|
||||||
|
@ApiOperation(value = "装备详情")
|
||||||
@RequiresPermissions("equip:info:query")
|
@RequiresPermissions("equip:info:query")
|
||||||
@GetMapping(value = "/{maId}")
|
@GetMapping(value = "/{maId}")
|
||||||
public AjaxResult getInfo(@PathVariable("maId") Long maId)
|
public AjaxResult getInfo(@PathVariable("maId") Long maId)
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,8 @@ import com.bonus.zlpt.common.log.annotation.Log;
|
||||||
import com.bonus.zlpt.common.log.enums.BusinessType;
|
import com.bonus.zlpt.common.log.enums.BusinessType;
|
||||||
import com.bonus.zlpt.common.security.annotation.RequiresPermissions;
|
import com.bonus.zlpt.common.security.annotation.RequiresPermissions;
|
||||||
import com.bonus.zlpt.order.feign.EquipClient;
|
import com.bonus.zlpt.order.feign.EquipClient;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
|
@ -33,6 +35,7 @@ import static com.bonus.zlpt.common.core.web.domain.AjaxResult.DATA_TAG;
|
||||||
* @author xsheng
|
* @author xsheng
|
||||||
* @date 2023-12-01
|
* @date 2023-12-01
|
||||||
*/
|
*/
|
||||||
|
@Api(tags = "订单收据接口")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/info")
|
@RequestMapping("/info")
|
||||||
public class OrderInfoController extends BaseController
|
public class OrderInfoController extends BaseController
|
||||||
|
|
@ -45,6 +48,7 @@ public class OrderInfoController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 查询订单信息列表
|
* 查询订单信息列表
|
||||||
*/
|
*/
|
||||||
|
@ApiOperation(value = "订单列表")
|
||||||
@RequiresPermissions("order:info:list")
|
@RequiresPermissions("order:info:list")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(OrderInfoVo orderInfo)
|
public TableDataInfo list(OrderInfoVo orderInfo)
|
||||||
|
|
@ -85,6 +89,7 @@ public class OrderInfoController extends BaseController
|
||||||
/**
|
/**
|
||||||
* 获取订单信息详细信息
|
* 获取订单信息详细信息
|
||||||
*/
|
*/
|
||||||
|
@ApiOperation(value = "订单详情")
|
||||||
@RequiresPermissions("order:info:query")
|
@RequiresPermissions("order:info:query")
|
||||||
@GetMapping(value = "/{orderId}")
|
@GetMapping(value = "/{orderId}")
|
||||||
public AjaxResult getInfo(@PathVariable("orderId") Long orderId)
|
public AjaxResult getInfo(@PathVariable("orderId") Long orderId)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue