记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
e2ff8e76
Commit
e2ff8e76
authored
Aug 22, 2025
by
姜秀龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LostFoundAdmin 捡拾日期 string
parent
e1ec8264
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
20 deletions
+5
-20
SweetLostFoundItemParam.java
...iquidnet/service/sweet/param/SweetLostFoundItemParam.java
+2
-5
SweetLostFoundItemVo.java
.../com/liquidnet/service/sweet/vo/SweetLostFoundItemVo.java
+1
-2
SweetLostFoundItem.java
...om/liquidnet/service/sweet/entity/SweetLostFoundItem.java
+1
-12
db_sweet_lost_found.sql
...vice/liquidnet-service-sweet/docu/db_sweet_lost_found.sql
+1
-1
No files found.
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/param/SweetLostFoundItemParam.java
View file @
e2ff8e76
package
com
.
liquidnet
.
service
.
sweet
.
param
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
...
...
@@ -8,7 +7,6 @@ import lombok.Data;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 失物招领信息查询参数
...
...
@@ -37,9 +35,8 @@ public class SweetLostFoundItemParam implements Serializable {
private
Integer
pickupLocation
;
@ApiModelProperty
(
"捡拾日期"
)
@NotNull
(
message
=
"捡拾日期不能为空"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
pickupDate
;
@NotBlank
(
message
=
"捡拾日期不能为空"
)
private
String
pickupDate
;
@ApiModelProperty
(
"物品描述,最多120字"
)
@NotBlank
(
message
=
"物品描述不能为空"
)
...
...
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/vo/SweetLostFoundItemVo.java
View file @
e2ff8e76
...
...
@@ -30,8 +30,7 @@ public class SweetLostFoundItemVo {
private
Integer
pickupLocation
;
@ApiModelProperty
(
"捡拾日期"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
pickupDate
;
private
String
pickupDate
;
@ApiModelProperty
(
"物品类型:1-证件卡类 2-3C数码类 3-服饰类 4-其他"
)
private
Integer
itemType
;
...
...
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetLostFoundItem.java
View file @
e2ff8e76
package
com
.
liquidnet
.
service
.
sweet
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
...
...
@@ -29,43 +28,33 @@ public class SweetLostFoundItem implements Serializable, Cloneable {
private
Long
id
;
@ApiModelProperty
(
"失物信息ID"
)
@TableField
(
"item_id"
)
private
String
itemId
;
@ApiModelProperty
(
"物品图片URL"
)
@TableField
(
"item_image"
)
private
String
itemImage
;
@ApiModelProperty
(
"物品描述,最多120字"
)
@TableField
(
"description"
)
private
String
description
;
@ApiModelProperty
(
"拾捡地:1-音乐节现场 2-其他"
)
@TableField
(
"pickup_location"
)
private
Integer
pickupLocation
;
@ApiModelProperty
(
"捡拾日期"
)
@TableField
(
"pickup_date"
)
private
Date
pickupDate
;
private
String
pickupDate
;
@ApiModelProperty
(
"物品类型:1-证件卡类 2-3C数码类 3-服饰类 4-其他"
)
@TableField
(
"item_type"
)
private
Integer
itemType
;
@ApiModelProperty
(
"演出ID"
)
@TableField
(
"performance_id"
)
private
String
performanceId
;
@ApiModelProperty
(
"创建时间"
)
@TableField
(
"create_time"
)
private
Date
createTime
;
@ApiModelProperty
(
"更新时间"
)
@TableField
(
"update_time"
)
private
Date
updateTime
;
@ApiModelProperty
(
"是否删除:0-未删除 1-已删除"
)
@TableField
(
"is_deleted"
)
private
Integer
isDeleted
;
...
...
liquidnet-bus-service/liquidnet-service-sweet/docu/db_sweet_lost_found.sql
View file @
e2ff8e76
...
...
@@ -30,7 +30,7 @@ CREATE TABLE IF NOT EXISTS `sweet_lost_found_item`
`item_image`
varchar
(
500
)
NOT
NULL
DEFAULT
''
COMMENT
'物品图片URL'
,
`description`
varchar
(
500
)
NOT
NULL
DEFAULT
''
COMMENT
'物品描述,最多120字'
,
`pickup_location`
tinyint
(
1
)
NOT
NULL
DEFAULT
1
COMMENT
'拾捡地:1-音乐节现场 2-其他'
,
`pickup_date`
date
NOT
NULL
COMMENT
'捡拾日期'
,
`pickup_date`
varchar
(
20
)
NOT
NULL
DEFAULT
''
COMMENT
'捡拾日期'
,
`item_type`
tinyint
(
1
)
NOT
NULL
DEFAULT
1
COMMENT
'物品类型:1-证件卡类 2-3C数码类 3-服饰类 4-其他'
,
`performance_id`
varchar
(
64
)
NOT
NULL
DEFAULT
''
COMMENT
'演出ID'
,
`create_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment