【add】后台管理模块新增

This commit is contained in:
nixj 2024-05-07 14:41:06 +08:00
parent 637bad7893
commit 606d9a91c5
5 changed files with 76 additions and 1 deletions

View File

@ -41,7 +41,10 @@ public class OrderDetail implements Serializable {
private String travelOrderNo; private String travelOrderNo;
private String orderNo; private String orderNo;
private String supplierName; private String supplierName;
private Integer productType; // 商品类型 /**
* 商品类型 0-火车 1飞机 2酒店 3打车 4其他
*/
private Integer productType;
private Integer quantity; // 数量 private Integer quantity; // 数量
private String price; // 价格 private String price; // 价格
private CurrencyType currencyType; //货币类型 private CurrencyType currencyType; //货币类型

View File

@ -0,0 +1,11 @@
package com.chint.manage.controller;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Slf4j
@RestController
@RequestMapping("/manage")
public class ManageController {
}

View File

@ -0,0 +1,41 @@
package com.chint.manage.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
/**
* 消费明细
* @Authornxj
* @Date2024/5/7 14:17
*/
@Data
@NoArgsConstructor
@HeadStyle(fillPatternType = FillPatternTypeEnum.NO_FILL) // 设置表头背景为无色
@HeadFontStyle(fontHeightInPoints = 10)
@ColumnWidth(16)
public class ConsumptionDetailExcel {
@ExcelProperty("出行人姓名")
private String supplierName;
@ExcelProperty("出发时间")
private String startTime;
@ExcelProperty("到达时间")
private String arriveTime;
@ExcelProperty("出发城市")
private String fromCity;
@ExcelProperty("到达城市")
private String toCity;
@ExcelProperty("出发站")
private String fromStationName;
@ExcelProperty("到达站")
private String toStationName;
@ExcelProperty("订单总额(含前收服务费)")
private String payAmount;
}

View File

@ -0,0 +1,8 @@
package com.chint.manage.service;
/**
*
* @Authornxj
* @Date2024/5/7 14:18
*/
public interface ManageService {
}

View File

@ -0,0 +1,12 @@
package com.chint.manage.service.impl;
import com.chint.manage.service.ManageService;
import org.springframework.stereotype.Component;
/**
*
* @Authornxj
* @Date2024/5/7 14:18
*/
@Component
public class ManageServiceImpl implements ManageService {
}