Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4f2b2053
authored
Mar 17, 2021
by
tyfanchz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
车家智能相关功能开发
1 parent
ba22447c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
107 additions
and
0 deletions
src/main/java/com/glsx/smart/dao/entity/SmartDeviceOrder.java
src/main/java/com/glsx/smart/dao/mapper/SmartDeviceOrderMapper.java
src/main/java/com/glsx/smart/service/SmartDeviceOrderService.java
src/main/java/com/glsx/smart/service/impl/SmartDeviceOrderServiceImpl.java
src/main/resources/mapper/SmartDeviceOrderMapper.xml
src/main/java/com/glsx/smart/dao/entity/SmartDeviceOrder.java
0 → 100644
View file @
4f2b205
package
com
.
glsx
.
smart
.
dao
.
entity
;
import
javax.persistence.*
;
import
lombok.Data
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-17
*/
@Data
@Table
(
name
=
"smart_device_order"
)
public
class
SmartDeviceOrder
{
@Id
@Column
(
name
=
"id"
)
private
Integer
id
;
/**
* 产品id
*/
@Column
(
name
=
"product_id"
)
private
String
productId
;
@Column
(
name
=
"order_code"
)
private
String
orderCode
;
@Column
(
name
=
"order_value"
)
private
String
orderValue
;
/**
* 设备类型 1.非固定值不需要查询 2.固定值需要查询
*/
@Column
(
name
=
"order_type"
)
private
String
orderType
;
}
\ No newline at end of file
\ No newline at end of file
src/main/java/com/glsx/smart/dao/mapper/SmartDeviceOrderMapper.java
0 → 100644
View file @
4f2b205
package
com
.
glsx
.
smart
.
dao
.
mapper
;
import
com.glsx.smart.dao.entity.SmartDeviceOrder
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-17
*/
@Mapper
public
interface
SmartDeviceOrderMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartDeviceOrder
>
{
}
\ No newline at end of file
\ No newline at end of file
src/main/java/com/glsx/smart/service/SmartDeviceOrderService.java
0 → 100644
View file @
4f2b205
package
com
.
glsx
.
smart
.
service
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-17
*/
public
interface
SmartDeviceOrderService
{
}
src/main/java/com/glsx/smart/service/impl/SmartDeviceOrderServiceImpl.java
0 → 100644
View file @
4f2b205
package
com
.
glsx
.
smart
.
service
.
impl
;
import
javax.annotation.Resource
;
import
com.glsx.smart.dao.mapper.SmartDeviceOrderMapper
;
import
com.glsx.smart.service.SmartDeviceOrderService
;
import
org.springframework.stereotype.Service
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-17
*/
@Service
public
class
SmartDeviceOrderServiceImpl
implements
SmartDeviceOrderService
{
@Resource
private
SmartDeviceOrderMapper
smartDeviceOrderMapper
;
}
src/main/resources/mapper/SmartDeviceOrderMapper.xml
0 → 100644
View file @
4f2b205
<?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.glsx.smart.dao.mapper.SmartDeviceOrderMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.glsx.smart.dao.entity.SmartDeviceOrder"
>
<!--@mbg.generated generated on Wed Mar 17 10:38:04 CST 2021.-->
<!--@Table smart_device_order-->
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<result
column=
"product_id"
jdbcType=
"VARCHAR"
property=
"productId"
/>
<result
column=
"order_code"
jdbcType=
"VARCHAR"
property=
"orderCode"
/>
<result
column=
"order_value"
jdbcType=
"VARCHAR"
property=
"orderValue"
/>
<result
column=
"order_type"
jdbcType=
"VARCHAR"
property=
"orderType"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated generated on Wed Mar 17 10:38:04 CST 2021.-->
id, product_id, order_code, order_value, order_type
</sql>
</mapper>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment