Commit 3958b5e3 authored by wujipeng's avatar wujipeng
Browse files

优化

parent c13259c8
...@@ -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;
} }
...@@ -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:3307/blg?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true url: jdbc:mysql://47.111.94.26:3306/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
......
...@@ -24,7 +24,8 @@ ...@@ -24,7 +24,8 @@
select select
id, id,
name, name,
code code,
pic
from from
equipment equipment
where where
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment