Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
blg
Commits
3958b5e3
Commit
3958b5e3
authored
Apr 17, 2026
by
wujipeng
Browse files
优化
parent
c13259c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/example/blg/pojo/entity/EquipmentEntity.java
View file @
3958b5e3
...
@@ -3,6 +3,7 @@ package org.example.blg.pojo.entity;
...
@@ -3,6 +3,7 @@ package org.example.blg.pojo.entity;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
/**
/**
...
@@ -22,4 +23,7 @@ public class EquipmentEntity {
...
@@ -22,4 +23,7 @@ public class EquipmentEntity {
private
String
code
;
private
String
code
;
@ApiModelProperty
(
"图片"
)
private
String
pic
;
}
}
src/main/resources/application.yml
View file @
3958b5e3
...
@@ -3,10 +3,14 @@ server:
...
@@ -3,10 +3,14 @@ server:
spring
:
spring
:
datasource
:
datasource
:
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://192.168.10.3:3307/blg?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
# username: root
# password: ruzhoukj@2022
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://
192.168.10.3
:330
7
/blg?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://
47.111.94.26
:330
6
/blg?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
username
:
root
username
:
root
password
:
ruzhoukj@
2022
password
:
ruzhoukj@
Pass
mvc
:
mvc
:
pathMatch
:
pathMatch
:
matching-strategy
:
ant_path_matcher
matching-strategy
:
ant_path_matcher
...
...
src/main/resources/org/example/blg/mapper/EquipmentMapper.xml
View file @
3958b5e3
...
@@ -24,7 +24,8 @@
...
@@ -24,7 +24,8 @@
select
select
id,
id,
name,
name,
code
code,
pic
from
from
equipment
equipment
where
where
...
...
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