Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
New MineTRS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
kiritoausna
New MineTRS
Commits
671a9325
Commit
671a9325
authored
Nov 07, 2022
by
kiritoausna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022-11.07
parent
38fcbe66
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
106 additions
and
0 deletions
+106
-0
DevtypeExtend.java
...main/java/me/zhengjie/gemho/entity/sys/DevtypeExtend.java
+40
-0
DevtypeExtendMapper.java
...ava/me/zhengjie/gemho/mapper/sys/DevtypeExtendMapper.java
+25
-0
IDevtypeExtendService.java
.../me/zhengjie/gemho/service/sys/IDevtypeExtendService.java
+16
-0
DevtypeExtendServiceImpl.java
...ngjie/gemho/servicesys/impl/DevtypeExtendServiceImpl.java
+20
-0
DevtypeExtendMapper.xml
...-system/src/main/resources/mapper/DevtypeExtendMapper.xml
+5
-0
No files found.
eladmin-system/src/main/java/me/zhengjie/gemho/entity/sys/DevtypeExtend.java
0 → 100644
View file @
671a9325
package
me
.
zhengjie
.
gemho
.
entity
.
sys
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
java.io.Serializable
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
/**
* <p>
*
* </p>
*
* @author llj
* @since 2022-07-20
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@Accessors
(
chain
=
true
)
@TableName
(
"tab_devtype_extend"
)
@ApiModel
(
value
=
"DevtypeExtend对象"
,
description
=
""
)
public
class
DevtypeExtend
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"城市全拼,如: 威海=weihai"
)
private
String
city_weather
;
@ApiModelProperty
(
value
=
"监测项ID"
)
private
Integer
e_sumid
;
}
eladmin-system/src/main/java/me/zhengjie/gemho/mapper/sys/DevtypeExtendMapper.java
0 → 100644
View file @
671a9325
package
me
.
zhengjie
.
gemho
.
mapper
.
sys
;
import
me.zhengjie.gemho.entity.sys.DevtypeExtend
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
me.zhengjie.gemho.x_datavo.sys.DevtypeExtendVo
;
import
me.zhengjie.gemho.x_datavo.sys.MonitorvideoVo
;
import
org.apache.ibatis.annotations.Delete
;
import
org.apache.ibatis.annotations.Select
;
/**
* <p>
* Mapper 接口
* </p>
*
* @author llj
* @since 2022-07-20
*/
public
interface
DevtypeExtendMapper
extends
BaseMapper
<
DevtypeExtend
>
{
@Select
(
value
=
"SELECT b.* FROM `sys_summary` a JOIN tab_devtype_extend b ON a.id = b.e_sumid where a.id = #{id}"
)
DevtypeExtendVo
getBySumid
(
int
id
);
@Delete
(
value
=
"DELETE from tab_devtype_extend where e_sumid=#{id}"
)
int
deletebyid
(
int
id
);
}
eladmin-system/src/main/java/me/zhengjie/gemho/service/sys/IDevtypeExtendService.java
0 → 100644
View file @
671a9325
package
me
.
zhengjie
.
gemho
.
service
.
sys
;
import
me.zhengjie.gemho.entity.sys.DevtypeExtend
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 服务类
* </p>
*
* @author llj
* @since 2022-07-20
*/
public
interface
IDevtypeExtendService
extends
IService
<
DevtypeExtend
>
{
}
eladmin-system/src/main/java/me/zhengjie/gemho/servicesys/impl/DevtypeExtendServiceImpl.java
0 → 100644
View file @
671a9325
package
me
.
zhengjie
.
gemho
.
servicesys
.
impl
;
import
me.zhengjie.gemho.entity.sys.DevtypeExtend
;
import
me.zhengjie.gemho.mapper.sys.DevtypeExtendMapper
;
import
me.zhengjie.gemho.service.sys.IDevtypeExtendService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 服务实现类
* </p>
*
* @author llj
* @since 2022-07-20
*/
@Service
public
class
DevtypeExtendServiceImpl
extends
ServiceImpl
<
DevtypeExtendMapper
,
DevtypeExtend
>
implements
IDevtypeExtendService
{
}
eladmin-system/src/main/resources/mapper/DevtypeExtendMapper.xml
0 → 100644
View file @
671a9325
<?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=
"me.zhengjie.gemho.mapper.sys.DevtypeExtendMapper"
>
</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