Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
cfld-region-outline
Project
Project
Details
Activity
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
cfld-backend
cfld-region-outline
Commits
751c5c18
Commit
751c5c18
authored
Nov 09, 2023
by
yaobaizheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug统一修改
parent
bfcf134b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
151 additions
and
0 deletions
+151
-0
FileSource.java
src/main/java/com/liyeyun/admin/domain/FileSource.java
+72
-0
FileSourceMapper.java
src/main/java/com/liyeyun/admin/mapper/FileSourceMapper.java
+18
-0
FileSourceService.java
...ain/java/com/liyeyun/admin/service/FileSourceService.java
+13
-0
FileSourceServiceImpl.java
...com/liyeyun/admin/service/impl/FileSourceServiceImpl.java
+22
-0
FileSourceMapper.xml
src/main/resources/mapper/FileSourceMapper.xml
+26
-0
No files found.
src/main/java/com/liyeyun/admin/domain/FileSource.java
0 → 100644
View file @
751c5c18
package
com
.
liyeyun
.
admin
.
domain
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.io.Serializable
;
import
java.util.Date
;
import
lombok.Data
;
/**
*
* @TableName file_source
*/
@TableName
(
value
=
"file_source"
)
@Data
public
class
FileSource
implements
Serializable
{
/**
*
*/
@TableId
(
type
=
IdType
.
AUTO
)
private
Integer
id
;
/**
*
*/
private
Date
createTime
;
/**
*
*/
private
Date
updateTime
;
/**
* 项目文件名称
*/
private
String
name
;
/**
*
*/
private
String
url
;
/**
* 0-禁用 1-正常
*/
private
Integer
status
;
/**
* 项目 (1-项目信息文件 )
*/
private
Integer
objectType
;
/**
* 1-没有id 2-project_Info_id 3-coporate_account_info_id
*/
private
Integer
objectId
;
/**
* 排序
*/
private
Integer
sort
;
/**
*
*/
private
Integer
tenantId
;
@TableField
(
exist
=
false
)
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
src/main/java/com/liyeyun/admin/mapper/FileSourceMapper.java
0 → 100644
View file @
751c5c18
package
com
.
liyeyun
.
admin
.
mapper
;
import
com.liyeyun.admin.domain.FileSource
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* @author 26996
* @description 针对表【file_source】的数据库操作Mapper
* @createDate 2023-11-09 20:33:16
* @Entity com.liyeyun.admin.domain.FileSource
*/
public
interface
FileSourceMapper
extends
BaseMapper
<
FileSource
>
{
}
src/main/java/com/liyeyun/admin/service/FileSourceService.java
0 → 100644
View file @
751c5c18
package
com
.
liyeyun
.
admin
.
service
;
import
com.liyeyun.admin.domain.FileSource
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* @author 26996
* @description 针对表【file_source】的数据库操作Service
* @createDate 2023-11-09 20:33:16
*/
public
interface
FileSourceService
extends
IService
<
FileSource
>
{
}
src/main/java/com/liyeyun/admin/service/impl/FileSourceServiceImpl.java
0 → 100644
View file @
751c5c18
package
com
.
liyeyun
.
admin
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.liyeyun.admin.domain.FileSource
;
import
com.liyeyun.admin.service.FileSourceService
;
import
com.liyeyun.admin.mapper.FileSourceMapper
;
import
org.springframework.stereotype.Service
;
/**
* @author 26996
* @description 针对表【file_source】的数据库操作Service实现
* @createDate 2023-11-09 20:33:16
*/
@Service
public
class
FileSourceServiceImpl
extends
ServiceImpl
<
FileSourceMapper
,
FileSource
>
implements
FileSourceService
{
}
src/main/resources/mapper/FileSourceMapper.xml
0 → 100644
View file @
751c5c18
<?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.liyeyun.admin.mapper.FileSourceMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.liyeyun.admin.domain.FileSource"
>
<id
property=
"id"
column=
"id"
jdbcType=
"INTEGER"
/>
<result
property=
"createTime"
column=
"create_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"updateTime"
column=
"update_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"name"
column=
"name"
jdbcType=
"VARCHAR"
/>
<result
property=
"url"
column=
"url"
jdbcType=
"VARCHAR"
/>
<result
property=
"status"
column=
"status"
jdbcType=
"TINYINT"
/>
<result
property=
"objectType"
column=
"object_type"
jdbcType=
"TINYINT"
/>
<result
property=
"objectId"
column=
"object_id"
jdbcType=
"INTEGER"
/>
<result
property=
"sort"
column=
"sort"
jdbcType=
"INTEGER"
/>
<result
property=
"tenantId"
column=
"tenant_id"
jdbcType=
"INTEGER"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,create_time,update_time,
name,url,status,
object_type,object_id,sort,
tenant_id
</sql>
</mapper>
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