2.于一蕊的作业8:TcqyModel,TestTcqyController,showTcqy,addTcqymain
parent
917df8d914
commit
ed03d10fe5
Binary file not shown.
Binary file not shown.
@ -0,0 +1,30 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: DELL
|
||||
Date: 2025/3/31
|
||||
Time: 16:56
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>展示车位分类信息</title>
|
||||
</head>
|
||||
<body>
|
||||
Success!
|
||||
<br>
|
||||
区域编号:${tcqyInfo.id}
|
||||
<br>
|
||||
区域名称:${tcqyInfo.tingchequyuName}
|
||||
<br>
|
||||
是否有车位:${tcqyInfo.tingchequyusf}
|
||||
<br>
|
||||
车位数量:${tcqyInfo.tingchequyuNumber}
|
||||
<br>
|
||||
车分类名称:${tcqyInfo.tingchequyufl}
|
||||
<br>
|
||||
详情:${tcqyInfo.tingchequyuContent}
|
||||
<br>
|
||||
停车日期:${tcqyInfo.tingchequyuDate}
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,42 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: DELL
|
||||
Date: 2025/3/31
|
||||
Time: 16:16
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>添加停车区域信息</title>
|
||||
</head>
|
||||
<body>
|
||||
<form action="tcqy/tianjia" method="post">
|
||||
区域编号:<input type="text" name="id">
|
||||
<br>
|
||||
区域名称:<input type="text" name="tingchequyuName">
|
||||
<br>
|
||||
是否有车位:<select name="tingchequyusf">
|
||||
<option value="是">是</option>
|
||||
<option value="否">否</option>
|
||||
</select>
|
||||
<br>
|
||||
车位数量:<input type="text" name="tingchequyuNumber">
|
||||
<br>
|
||||
车位价格:<input type="text" name="tingchequyuMoney">
|
||||
<br>
|
||||
车位照片:<input type="file" value="选择文件">
|
||||
<br>
|
||||
车分类名称:<input type="text" name="tingchequyufl" placeholder="请输入分类名称">
|
||||
<br>
|
||||
详情:<textarea name="tingchequyuContent" rows="5" cols="35"></textarea>
|
||||
<br>
|
||||
停车日期:<input type="text" name="tingchequyuDate">
|
||||
<br>
|
||||
<input type="reset" value="重置">
|
||||
|
||||
|
||||
<input type="submit" value="添加">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,149 @@
|
||||
package com.ssm.entity;
|
||||
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class TcqyModel {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
|
||||
/**
|
||||
* 区域名称
|
||||
*/
|
||||
private String tingchequyuName;
|
||||
|
||||
|
||||
/**
|
||||
* 车位数量
|
||||
*/
|
||||
private Integer tingchequyuNumber;
|
||||
|
||||
|
||||
/**
|
||||
* 详情信息
|
||||
*/
|
||||
private String tingchequyuContent;
|
||||
|
||||
|
||||
/**
|
||||
* 录入时间
|
||||
*/
|
||||
private String insertTime;
|
||||
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private String createTime;
|
||||
|
||||
|
||||
/**
|
||||
* 是否
|
||||
*/
|
||||
private String tingchequyusf;
|
||||
|
||||
|
||||
/**
|
||||
* 日期
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date tingchequyuDate;
|
||||
|
||||
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
private Float tingchequyuMoney;
|
||||
|
||||
|
||||
/**
|
||||
* 分类名称
|
||||
*/
|
||||
private String tingchequyufl;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getTingchequyuName() {
|
||||
return tingchequyuName;
|
||||
}
|
||||
|
||||
public void setTingchequyuName(String tingchequyuName) {
|
||||
this.tingchequyuName = tingchequyuName;
|
||||
}
|
||||
|
||||
public Integer getTingchequyuNumber() {
|
||||
return tingchequyuNumber;
|
||||
}
|
||||
|
||||
public void setTingchequyuNumber(Integer tingchequyuNumber) {
|
||||
this.tingchequyuNumber = tingchequyuNumber;
|
||||
}
|
||||
|
||||
public String getTingchequyuContent() {
|
||||
return tingchequyuContent;
|
||||
}
|
||||
|
||||
public void setTingchequyuContent(String tingchequyuContent) {
|
||||
this.tingchequyuContent = tingchequyuContent;
|
||||
}
|
||||
|
||||
public String getInsertTime() {
|
||||
return insertTime;
|
||||
}
|
||||
|
||||
public void setInsertTime(String insertTime) {
|
||||
this.insertTime = insertTime;
|
||||
}
|
||||
|
||||
public String getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getTingchequyusf() {
|
||||
return tingchequyusf;
|
||||
}
|
||||
|
||||
public Date getTingchequyuDate() {
|
||||
return tingchequyuDate;
|
||||
}
|
||||
|
||||
public void setTingchequyuDate(Date tingchequyuDate) {
|
||||
this.tingchequyuDate = tingchequyuDate;
|
||||
}
|
||||
|
||||
public Float getTingchequyuMoney() {
|
||||
return tingchequyuMoney;
|
||||
}
|
||||
|
||||
public void setTingchequyuMoney(Float tingchequyuMoney) {
|
||||
this.tingchequyuMoney = tingchequyuMoney;
|
||||
}
|
||||
|
||||
public String getTingchequyufl() {
|
||||
return tingchequyufl;
|
||||
}
|
||||
|
||||
public void setTingchequyufl(String tingchequyufl) {
|
||||
this.tingchequyufl = tingchequyufl;
|
||||
}
|
||||
|
||||
public void setTingchequyusf(String tingchequyusf) {
|
||||
this.tingchequyusf = tingchequyusf;
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: DELL
|
||||
Date: 2025/3/31
|
||||
Time: 16:56
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>展示车位分类信息</title>
|
||||
</head>
|
||||
<body>
|
||||
Success!
|
||||
<br>
|
||||
区域编号:${tcqyInfo.id}
|
||||
<br>
|
||||
区域名称:${tcqyInfo.tingchequyuName}
|
||||
<br>
|
||||
是否有车位:${tcqyInfo.tingchequyusf}
|
||||
<br>
|
||||
车位数量:${tcqyInfo.tingchequyuNumber}
|
||||
<br>
|
||||
车分类名称:${tcqyInfo.tingchequyufl}
|
||||
<br>
|
||||
详情:${tcqyInfo.tingchequyuContent}
|
||||
<br>
|
||||
停车日期:${tcqyInfo.tingchequyuDate}
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,42 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: DELL
|
||||
Date: 2025/3/31
|
||||
Time: 16:16
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>添加停车区域信息</title>
|
||||
</head>
|
||||
<body>
|
||||
<form action="tcqy/tianjia" method="post">
|
||||
区域编号:<input type="text" name="id">
|
||||
<br>
|
||||
区域名称:<input type="text" name="tingchequyuName">
|
||||
<br>
|
||||
是否有车位:<select name="tingchequyusf">
|
||||
<option value="是">是</option>
|
||||
<option value="否">否</option>
|
||||
</select>
|
||||
<br>
|
||||
车位数量:<input type="text" name="tingchequyuNumber">
|
||||
<br>
|
||||
车位价格:<input type="text" name="tingchequyuMoney">
|
||||
<br>
|
||||
车位照片:<input type="file" value="选择文件">
|
||||
<br>
|
||||
车分类名称:<input type="text" name="tingchequyufl" placeholder="请输入分类名称">
|
||||
<br>
|
||||
详情:<textarea name="tingchequyuContent" rows="5" cols="35"></textarea>
|
||||
<br>
|
||||
停车日期:<input type="text" name="tingchequyuDate">
|
||||
<br>
|
||||
<input type="reset" value="重置">
|
||||
|
||||
|
||||
<input type="submit" value="添加">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue