Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
Project
Project
Details
Activity
Releases
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
TCM
tcm-system
Commits
de6a1139
Commit
de6a1139
authored
Jun 21, 2019
by
zjy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user/role/tright 6.21
在写胖丁伙伴
parent
3aeb4a45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
8 deletions
+53
-8
StoreFeign.java
...ain/java/com/pangding/web/authority/feign/StoreFeign.java
+1
-1
Merchant.java
src/main/java/com/pangding/web/authority/vo/Merchant.java
+52
-7
No files found.
src/main/java/com/pangding/web/authority/feign/StoreFeign.java
View file @
de6a1139
...
@@ -21,7 +21,7 @@ public interface StoreFeign {
...
@@ -21,7 +21,7 @@ public interface StoreFeign {
* @return
* @return
*/
*/
@RequestMapping
(
"/merchantCreate"
)
@RequestMapping
(
"/merchantCreate"
)
public
ResponseResult
<
String
>
merchantCreate
(
@RequestBody
MerchantCreateReqVo
req
);
ResponseResult
<
String
>
merchantCreate
(
@RequestBody
MerchantCreateReqVo
req
);
/**
/**
* 通过公司还是id获取商户信息
* 通过公司还是id获取商户信息
...
...
src/main/java/com/pangding/web/authority/vo/Merchant.java
View file @
de6a1139
...
@@ -12,6 +12,15 @@ import java.math.BigDecimal;
...
@@ -12,6 +12,15 @@ import java.math.BigDecimal;
* @create 2019-04-28 15:21
* @create 2019-04-28 15:21
*/
*/
public
class
Merchant
extends
BaseVo
{
public
class
Merchant
extends
BaseVo
{
public
Merchant
()
{
}
public
Merchant
(
String
name
,
Integer
type
,
String
productCompanyId
)
{
this
.
name
=
name
;
this
.
type
=
type
;
this
.
productCompanyId
=
productCompanyId
;
}
/**
/**
* 主键
* 主键
*/
*/
...
@@ -45,11 +54,13 @@ public class Merchant extends BaseVo {
...
@@ -45,11 +54,13 @@ public class Merchant extends BaseVo {
/**
/**
* 行政区域编号
* 行政区域编号
*/
*/
@TableAnnotation
(
"area_code"
)
private
String
areaCode
;
private
String
areaCode
;
/**
/**
* 行政区域名称
* 行政区域名称
*/
*/
@TableAnnotation
(
"area_name"
)
private
String
areaName
;
private
String
areaName
;
/**
/**
...
@@ -60,7 +71,7 @@ public class Merchant extends BaseVo {
...
@@ -60,7 +71,7 @@ public class Merchant extends BaseVo {
/**
/**
* 类型(1:景区;2:餐饮;3:酒店)
* 类型(1:景区;2:餐饮;3:酒店)
*/
*/
private
int
type
;
private
Integer
type
;
/**
/**
* 标签
* 标签
...
@@ -75,7 +86,7 @@ public class Merchant extends BaseVo {
...
@@ -75,7 +86,7 @@ public class Merchant extends BaseVo {
/**
/**
* 状态(0:上架;1:下架)
* 状态(0:上架;1:下架)
*/
*/
private
String
status
;
private
Integer
status
;
/**
/**
* 游玩耗时
* 游玩耗时
...
@@ -87,18 +98,28 @@ public class Merchant extends BaseVo {
...
@@ -87,18 +98,28 @@ public class Merchant extends BaseVo {
* 电话
* 电话
*/
*/
private
String
phone
;
private
String
phone
;
/**
* 商家简介
*/
private
String
synopsis
;
/**
/**
* 供应商
* 供应商
*/
*/
@TableAnnotation
(
"product_company_id"
)
@TableAnnotation
(
"product_company_id"
)
private
String
productCompanyId
;
private
String
productCompanyId
;
/**
* 供应商名称
*/
@TableAnnotation
(
"product_company_name"
)
private
String
productCompanyName
;
/**
/**
* 接口商
* 接口商
*/
*/
@TableAnnotation
(
"interface_company_id"
)
@TableAnnotation
(
"interface_company_id"
)
private
String
interfaceCompanyId
;
private
String
interfaceCompanyId
;
@TableAnnotation
(
"interface_company_Name"
)
private
String
interfaceCompanyName
;
/**
/**
* 营业时间(开始)
* 营业时间(开始)
...
@@ -135,6 +156,14 @@ public class Merchant extends BaseVo {
...
@@ -135,6 +156,14 @@ public class Merchant extends BaseVo {
*/
*/
private
String
source
;
private
String
source
;
public
String
getProductCompanyName
()
{
return
productCompanyName
;
}
public
void
setProductCompanyName
(
String
productCompanyName
)
{
this
.
productCompanyName
=
productCompanyName
;
}
public
String
getSource
()
{
public
String
getSource
()
{
return
source
;
return
source
;
}
}
...
@@ -215,11 +244,11 @@ public class Merchant extends BaseVo {
...
@@ -215,11 +244,11 @@ public class Merchant extends BaseVo {
this
.
address
=
address
;
this
.
address
=
address
;
}
}
public
int
getType
()
{
public
Integer
getType
()
{
return
type
;
return
type
;
}
}
public
void
setType
(
int
type
)
{
public
void
setType
(
Integer
type
)
{
this
.
type
=
type
;
this
.
type
=
type
;
}
}
...
@@ -239,11 +268,11 @@ public class Merchant extends BaseVo {
...
@@ -239,11 +268,11 @@ public class Merchant extends BaseVo {
this
.
level
=
level
;
this
.
level
=
level
;
}
}
public
String
getStatus
()
{
public
Integer
getStatus
()
{
return
status
;
return
status
;
}
}
public
void
setStatus
(
String
status
)
{
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
this
.
status
=
status
;
}
}
...
@@ -318,4 +347,20 @@ public class Merchant extends BaseVo {
...
@@ -318,4 +347,20 @@ public class Merchant extends BaseVo {
public
void
setUsername
(
String
username
)
{
public
void
setUsername
(
String
username
)
{
this
.
username
=
username
;
this
.
username
=
username
;
}
}
public
String
getInterfaceCompanyName
()
{
return
interfaceCompanyName
;
}
public
void
setInterfaceCompanyName
(
String
interfaceCompanyName
)
{
this
.
interfaceCompanyName
=
interfaceCompanyName
;
}
public
String
getSynopsis
()
{
return
synopsis
;
}
public
void
setSynopsis
(
String
synopsis
)
{
this
.
synopsis
=
synopsis
;
}
}
}
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