三跨管理

This commit is contained in:
马三炮 2025-04-25 18:06:21 +08:00
parent 0ec342e408
commit f453a5fd75
6 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,16 @@
package com.bonus.digitalSignage.basic.controller;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author 马三炮
* @date 2025/4/25
*/
@RestController
@RequestMapping("/tbThreeSpan")
@Slf4j
public class TbThreeSpanController {
}

View File

@ -0,0 +1,4 @@
package com.bonus.digitalSignage.basic.dao;
public interface TbThreeSpanMapper {
}

View File

@ -0,0 +1,4 @@
package com.bonus.digitalSignage.basic.service;
public interface TbThreeSpanService {
}

View File

@ -0,0 +1,10 @@
package com.bonus.digitalSignage.basic.service.impl;
import com.bonus.digitalSignage.basic.service.TbThreeSpanService;
/**
* @author 马三炮
* @date 2025/4/25
*/
public class TbThreeSpanServiceImpl implements TbThreeSpanService {
}

View File

@ -1,6 +1,9 @@
package com.bonus.digitalSignage.basic.vo; package com.bonus.digitalSignage.basic.vo;
import com.bonus.digitalSignage.utils.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
@ -25,31 +28,41 @@ public class TbProjectVo {
/** /**
* 项目部名称 * 项目部名称
*/ */
@Excel(name = "项目部名称", sort = 1)
private String departName; private String departName;
/** /**
* 工程名称 * 工程名称
*/ */
@Excel(name = "工程名称", sort = 2)
private String proName; private String proName;
/** /**
* 电压等级电压等级 * 电压等级电压等级
*/ */
@Excel(name = "电压等级(电压等级)", sort = 3)
private String voltageLevel; private String voltageLevel;
/** /**
* 线路长度单位km * 线路长度单位km
*/ */
@Excel(name = "线路长度单位km", sort = 4)
private String lineLength; private String lineLength;
/** /**
* 计划开始时间 * 计划开始时间
*/ */
@Excel(name = "计划开始时间", sort = 5)
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private String planStartTime; private String planStartTime;
/** /**
* 计划完工时间 * 计划完工时间
*/ */
@Excel(name = "计划完工时间", sort = 6)
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private String planEndTime; private String planEndTime;
/** /**
@ -65,11 +78,13 @@ public class TbProjectVo {
/** /**
* 工程地址 * 工程地址
*/ */
@Excel(name = "工程地址", sort = 7)
private String address; private String address;
/** /**
* 工程状态字典表配置 * 工程状态字典表配置
*/ */
@Excel(name = "工程状态(字典表配置)", sort = 8)
private String proStatus; private String proStatus;
/** /**

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.bonus.digitalSignage.basic.dao.TbThreeSpanMapper">
</mapper>