Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
commit
8ee766b0e3
@ -15,6 +15,7 @@ public class ShopBO {
|
|||||||
private String shopSummary;
|
private String shopSummary;
|
||||||
private Double shopStar;
|
private Double shopStar;
|
||||||
private String shopLogo;
|
private String shopLogo;
|
||||||
|
private Integer shopTemplateId;
|
||||||
private Double userEvaluate;
|
private Double userEvaluate;
|
||||||
private Integer isOpen;
|
private Integer isOpen;
|
||||||
private String openDate;
|
private String openDate;
|
||||||
@ -66,6 +67,14 @@ public class ShopBO {
|
|||||||
this.shopLogo = shopLogo;
|
this.shopLogo = shopLogo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Integer getShopTemplateId() {
|
||||||
|
return shopTemplateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShopTemplateId(Integer shopTemplateId) {
|
||||||
|
this.shopTemplateId = shopTemplateId;
|
||||||
|
}
|
||||||
|
|
||||||
public Double getUserEvaluate() {
|
public Double getUserEvaluate() {
|
||||||
return userEvaluate == null ? 0D : userEvaluate;
|
return userEvaluate == null ? 0D : userEvaluate;
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,11 @@ public class ShopDTO {
|
|||||||
private Double shopStar;
|
private Double shopStar;
|
||||||
@ApiModelProperty(name = "shopLogo", value = "店铺LOGO文件ID")
|
@ApiModelProperty(name = "shopLogo", value = "店铺LOGO文件ID")
|
||||||
private String shopLogo;
|
private String shopLogo;
|
||||||
|
|
||||||
|
@ApiModelProperty(name = "shopTemplateId", value = "模板ID")
|
||||||
|
private Integer shopTemplateId;
|
||||||
|
|
||||||
|
|
||||||
@ApiModelProperty(name = "userEvaluate", value = "用户评价,分数,满分10分,通过用户对商品的满意度计算")
|
@ApiModelProperty(name = "userEvaluate", value = "用户评价,分数,满分10分,通过用户对商品的满意度计算")
|
||||||
private Double userEvaluate;
|
private Double userEvaluate;
|
||||||
@ApiModelProperty(name = "isOpen", value = "是否营业 0:未开业,1:开业中")
|
@ApiModelProperty(name = "isOpen", value = "是否营业 0:未开业,1:开业中")
|
||||||
@ -90,6 +95,14 @@ public class ShopDTO {
|
|||||||
this.shopLogo = shopLogo;
|
this.shopLogo = shopLogo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Integer getShopTemplateId() {
|
||||||
|
return shopTemplateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShopTemplateId(Integer shopTemplateId) {
|
||||||
|
this.shopTemplateId = shopTemplateId;
|
||||||
|
}
|
||||||
|
|
||||||
public Double getUserEvaluate() {
|
public Double getUserEvaluate() {
|
||||||
return userEvaluate == null ? 0D : userEvaluate;
|
return userEvaluate == null ? 0D : userEvaluate;
|
||||||
}
|
}
|
||||||
|
@ -15,6 +15,7 @@ public class ShopPO {
|
|||||||
private String shopSummary;
|
private String shopSummary;
|
||||||
private Double shopStar;
|
private Double shopStar;
|
||||||
private String shopLogo;
|
private String shopLogo;
|
||||||
|
private Integer shopTemplateId;
|
||||||
private Double userEvaluate;
|
private Double userEvaluate;
|
||||||
private Integer isOpen;
|
private Integer isOpen;
|
||||||
private String openDate;
|
private String openDate;
|
||||||
@ -66,6 +67,14 @@ public class ShopPO {
|
|||||||
this.shopLogo = shopLogo;
|
this.shopLogo = shopLogo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Integer getShopTemplateId() {
|
||||||
|
return shopTemplateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShopTemplateId(Integer shopTemplateId) {
|
||||||
|
this.shopTemplateId = shopTemplateId;
|
||||||
|
}
|
||||||
|
|
||||||
public Double getUserEvaluate() {
|
public Double getUserEvaluate() {
|
||||||
return userEvaluate == null ? 0D : userEvaluate;
|
return userEvaluate == null ? 0D : userEvaluate;
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,11 @@ public class ShopVO {
|
|||||||
@ApiModelProperty(name = "shopLogo", value = "店铺LOGO文件ID")
|
@ApiModelProperty(name = "shopLogo", value = "店铺LOGO文件ID")
|
||||||
@CheckEmptyAnnotation(name = "店铺LOGO文件ID", verifyType = "string")
|
@CheckEmptyAnnotation(name = "店铺LOGO文件ID", verifyType = "string")
|
||||||
private String shopLogo;
|
private String shopLogo;
|
||||||
|
|
||||||
|
@ApiModelProperty(name = "shopTemplateId", value = "模板ID")
|
||||||
|
@CheckNumberAnnotation(name = "模板ID")
|
||||||
|
private Integer shopTemplateId;
|
||||||
|
|
||||||
@ApiModelProperty(name = "isOpen", value = "是否营业0:未开业,1:开业中")
|
@ApiModelProperty(name = "isOpen", value = "是否营业0:未开业,1:开业中")
|
||||||
@CheckNumberAnnotation(name = "是否营业0:未开业,1:开业中")
|
@CheckNumberAnnotation(name = "是否营业0:未开业,1:开业中")
|
||||||
private Integer isOpen;
|
private Integer isOpen;
|
||||||
@ -80,6 +85,13 @@ public class ShopVO {
|
|||||||
this.shopLogo = shopLogo;
|
this.shopLogo = shopLogo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Integer getShopTemplateId() {
|
||||||
|
return shopTemplateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShopTemplateId(Integer shopTemplateId) {
|
||||||
|
this.shopTemplateId = shopTemplateId;
|
||||||
|
}
|
||||||
|
|
||||||
public Integer getIsOpen() {
|
public Integer getIsOpen() {
|
||||||
return isOpen == null ? 0 : isOpen;
|
return isOpen == null ? 0 : isOpen;
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
server:
|
server:
|
||||||
<<<<<<< HEAD
|
port: 8080
|
||||||
port: 8090
|
url: http://127.0.0.1:8080/businesscard
|
||||||
url: http://127.0.0.1:8090/businesscard
|
|
||||||
=======
|
|
||||||
port: 8088
|
|
||||||
url: http://192.168.0.111:8088/businesscard
|
|
||||||
>>>>>>> 5a94052e7f98f2f26229a8ea58ceffc20b2b0ed6
|
|
||||||
system-title: 名片管理系统
|
system-title: 名片管理系统
|
||||||
system-sub-title: 名片系统
|
system-sub-title: 名片系统
|
||||||
servlet:
|
servlet:
|
||||||
@ -34,11 +29,7 @@ spring:
|
|||||||
db-type: mysql
|
db-type: mysql
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
username: root
|
username: root
|
||||||
<<<<<<< HEAD
|
|
||||||
password: admin
|
|
||||||
=======
|
|
||||||
password: 123456
|
password: 123456
|
||||||
>>>>>>> 5a94052e7f98f2f26229a8ea58ceffc20b2b0ed6
|
|
||||||
initial-size: 2
|
initial-size: 2
|
||||||
min-idle: 2
|
min-idle: 2
|
||||||
max-active: 10
|
max-active: 10
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
<result column="shop_address" property="shopAddress"/>
|
<result column="shop_address" property="shopAddress"/>
|
||||||
<result column="shop_star" property="shopStar"/>
|
<result column="shop_star" property="shopStar"/>
|
||||||
<result column="shop_logo" property="shopLogo"/>
|
<result column="shop_logo" property="shopLogo"/>
|
||||||
|
<result column="shop_template_id" property="shopTemplateId"/>
|
||||||
|
|
||||||
<result column="user_evaluate" property="userEvaluate"/>
|
<result column="user_evaluate" property="userEvaluate"/>
|
||||||
<result column="is_open" property="isOpen"/>
|
<result column="is_open" property="isOpen"/>
|
||||||
<result column="open_date" property="openDate"/>
|
<result column="open_date" property="openDate"/>
|
||||||
@ -25,6 +27,7 @@
|
|||||||
<result column="shop_summary" property="shopSummary"/>
|
<result column="shop_summary" property="shopSummary"/>
|
||||||
<result column="shop_star" property="shopStar"/>
|
<result column="shop_star" property="shopStar"/>
|
||||||
<result column="shop_logo" property="shopLogo"/>
|
<result column="shop_logo" property="shopLogo"/>
|
||||||
|
<result column="shop_template_id" property="shopTemplateId"/>
|
||||||
<result column="user_evaluate" property="userEvaluate"/>
|
<result column="user_evaluate" property="userEvaluate"/>
|
||||||
<result column="is_open" property="isOpen"/>
|
<result column="is_open" property="isOpen"/>
|
||||||
<result column="open_date" property="openDate"/>
|
<result column="open_date" property="openDate"/>
|
||||||
@ -43,6 +46,7 @@
|
|||||||
<result column="shop_summary" property="shopSummary"/>
|
<result column="shop_summary" property="shopSummary"/>
|
||||||
<result column="shop_star" property="shopStar"/>
|
<result column="shop_star" property="shopStar"/>
|
||||||
<result column="shop_logo" property="shopLogo"/>
|
<result column="shop_logo" property="shopLogo"/>
|
||||||
|
<result column="shop_template_id" property="shopTemplateId"/>
|
||||||
<result column="user_evaluate" property="userEvaluate"/>
|
<result column="user_evaluate" property="userEvaluate"/>
|
||||||
<result column="is_open" property="isOpen"/>
|
<result column="is_open" property="isOpen"/>
|
||||||
<result column="open_date" property="openDate"/>
|
<result column="open_date" property="openDate"/>
|
||||||
@ -64,6 +68,7 @@
|
|||||||
shop_address,
|
shop_address,
|
||||||
shop_star,
|
shop_star,
|
||||||
shop_logo,
|
shop_logo,
|
||||||
|
shop_template_id,
|
||||||
user_evaluate,
|
user_evaluate,
|
||||||
is_open,
|
is_open,
|
||||||
open_date,
|
open_date,
|
||||||
@ -81,6 +86,7 @@
|
|||||||
#{shopAddress},
|
#{shopAddress},
|
||||||
#{shopStar},
|
#{shopStar},
|
||||||
#{shopLogo},
|
#{shopLogo},
|
||||||
|
#{shopTemplateId},
|
||||||
#{userEvaluate},
|
#{userEvaluate},
|
||||||
#{isOpen},
|
#{isOpen},
|
||||||
#{openDate},
|
#{openDate},
|
||||||
@ -143,6 +149,9 @@
|
|||||||
<if test="shopLogo != null and shopLogo != ''">
|
<if test="shopLogo != null and shopLogo != ''">
|
||||||
shop_logo = #{shopLogo},
|
shop_logo = #{shopLogo},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="shopTemplateId != null and shopTemplateId != ''">
|
||||||
|
shop_template_id = #{shopTemplateId},
|
||||||
|
</if>
|
||||||
<if test="userEvaluate != null">
|
<if test="userEvaluate != null">
|
||||||
user_evaluate = #{userEvaluate},
|
user_evaluate = #{userEvaluate},
|
||||||
</if>
|
</if>
|
||||||
@ -183,6 +192,7 @@
|
|||||||
t1.shop_address,
|
t1.shop_address,
|
||||||
t1.shop_star,
|
t1.shop_star,
|
||||||
t1.shop_logo,
|
t1.shop_logo,
|
||||||
|
t1.shop_template_id,
|
||||||
t1.user_evaluate,
|
t1.user_evaluate,
|
||||||
t1.is_open,
|
t1.is_open,
|
||||||
t1.open_date,
|
t1.open_date,
|
||||||
@ -207,6 +217,7 @@
|
|||||||
t1.shop_summary,
|
t1.shop_summary,
|
||||||
t1.shop_star,
|
t1.shop_star,
|
||||||
t1.shop_logo,
|
t1.shop_logo,
|
||||||
|
t1.shop_template_id,
|
||||||
t1.user_evaluate,
|
t1.user_evaluate,
|
||||||
t1.audit_result,
|
t1.audit_result,
|
||||||
t1.is_open,
|
t1.is_open,
|
||||||
@ -236,6 +247,7 @@
|
|||||||
t1.shop_summary,
|
t1.shop_summary,
|
||||||
t1.shop_star,
|
t1.shop_star,
|
||||||
t1.shop_logo,
|
t1.shop_logo,
|
||||||
|
t1.shop_template_id,
|
||||||
t1.user_evaluate,
|
t1.user_evaluate,
|
||||||
t1.is_open,
|
t1.is_open,
|
||||||
t1.open_date,
|
t1.open_date,
|
||||||
@ -264,6 +276,7 @@
|
|||||||
t1.shop_summary,
|
t1.shop_summary,
|
||||||
t1.shop_star,
|
t1.shop_star,
|
||||||
t1.shop_logo,
|
t1.shop_logo,
|
||||||
|
t1.shop_template_id,
|
||||||
t1.user_evaluate,
|
t1.user_evaluate,
|
||||||
t1.is_open,
|
t1.is_open,
|
||||||
t1.open_date,
|
t1.open_date,
|
||||||
@ -277,7 +290,7 @@
|
|||||||
t1.is_delete = 0
|
t1.is_delete = 0
|
||||||
<if test="keywords != null and keywords != ''">
|
<if test="keywords != null and keywords != ''">
|
||||||
AND (
|
AND (
|
||||||
t1.id LIKE CONCAT('%', #{keywords}, '%')
|
t1.shop_name LIKE CONCAT('%', #{keywords}, '%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="startTime != null and startTime != ''">
|
<if test="startTime != null and startTime != ''">
|
||||||
@ -303,6 +316,7 @@
|
|||||||
t1.shop_summary,
|
t1.shop_summary,
|
||||||
t1.shop_star,
|
t1.shop_star,
|
||||||
t1.shop_logo,
|
t1.shop_logo,
|
||||||
|
t1.shop_template_id,
|
||||||
t1.user_evaluate,
|
t1.user_evaluate,
|
||||||
t1.is_open,
|
t1.is_open,
|
||||||
t1.open_date,
|
t1.open_date,
|
||||||
@ -348,6 +362,7 @@
|
|||||||
t1.shop_summary,
|
t1.shop_summary,
|
||||||
t1.shop_star,
|
t1.shop_star,
|
||||||
t1.shop_logo,
|
t1.shop_logo,
|
||||||
|
t1.shop_template_id,
|
||||||
t1.user_evaluate,
|
t1.user_evaluate,
|
||||||
t1.is_open,
|
t1.is_open,
|
||||||
t1.open_date,
|
t1.open_date,
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
<link rel="stylesheet" href="assets/fonts/font-awesome/css/font-awesome.css"/>
|
<link rel="stylesheet" href="assets/fonts/font-awesome/css/font-awesome.css"/>
|
||||||
<link rel="stylesheet" href="assets/layuiadmin/layui/css/layui.css" media="all">
|
<link rel="stylesheet" href="assets/layuiadmin/layui/css/layui.css" media="all">
|
||||||
<link rel="stylesheet" href="assets/layuiadmin/style/admin.css" media="all">
|
<link rel="stylesheet" href="assets/layuiadmin/style/admin.css" media="all">
|
||||||
|
<link rel="stylesheet" type="text/css" href="assets/js/vendor/viewer/viewer.min.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="layui-fluid layui-anim layui-anim-fadein">
|
<div class="layui-fluid layui-anim layui-anim-fadein">
|
||||||
@ -21,10 +22,10 @@
|
|||||||
<input type="text" id="keywords" class="layui-input search-item" placeholder="输入关键字">
|
<input type="text" id="keywords" class="layui-input search-item" placeholder="输入关键字">
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-inline">
|
<div class="layui-inline">
|
||||||
<input type="text" id="startTime" class="layui-input search-item" placeholder="开始时间" readonly>
|
<input type="text" id="startTime" class="layui-input search-item" placeholder="注册开始时间" readonly>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-inline">
|
<div class="layui-inline">
|
||||||
<input type="text" id="endTime" class="layui-input search-item" placeholder="结束时间" readonly>
|
<input type="text" id="endTime" class="layui-input search-item" placeholder="注册结束时间" readonly>
|
||||||
</div>
|
</div>
|
||||||
<button type="button" id="search" class="layui-btn layui-btn-sm">
|
<button type="button" id="search" class="layui-btn layui-btn-sm">
|
||||||
<i class="fa fa-lg fa-search"></i> 搜索
|
<i class="fa fa-lg fa-search"></i> 搜索
|
||||||
@ -81,7 +82,12 @@
|
|||||||
{field: 'shopLogo', width: 180, title: '店铺LOGO', align:'center',
|
{field: 'shopLogo', width: 180, title: '店铺LOGO', align:'center',
|
||||||
templet: function(row) {
|
templet: function(row) {
|
||||||
var rowData = row[this.field];
|
var rowData = row[this.field];
|
||||||
return '<div id="imgShow"><img src="route/file/download/true/'+rowData+'"></div>';
|
var value='<div id="imgShow'+row.shopId+'"><img style="height: 30px;width: 30px;" src="route/file/download/true/'+rowData+'"></div>';
|
||||||
|
setTimeout(function() {
|
||||||
|
new Viewer(document.getElementById('imgShow'+ row.shopId));
|
||||||
|
}, 50);
|
||||||
|
return value;
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{field: 'shopName', width: 180, title: '店铺名称', align:'center',
|
{field: 'shopName', width: 180, title: '店铺名称', align:'center',
|
||||||
@ -135,7 +141,6 @@
|
|||||||
{field: 'isCertification', width: 180, title: '是否认证', align:'center',
|
{field: 'isCertification', width: 180, title: '是否认证', align:'center',
|
||||||
templet: function(row) {
|
templet: function(row) {
|
||||||
var rowData = row[this.field];
|
var rowData = row[this.field];
|
||||||
console.log(rowData)
|
|
||||||
if(rowData == 0){
|
if(rowData == 0){
|
||||||
return "未认证";
|
return "未认证";
|
||||||
}
|
}
|
||||||
@ -155,6 +160,8 @@
|
|||||||
'count': data.total,
|
'count': data.total,
|
||||||
'data': data.rows
|
'data': data.rows
|
||||||
};
|
};
|
||||||
|
},done:function(){
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -220,6 +227,11 @@
|
|||||||
$(document).on('click', '#search', function() {
|
$(document).on('click', '#search', function() {
|
||||||
reloadTable(1);
|
reloadTable(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.imgShow', function() {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
// 事件 - 增删改
|
// 事件 - 增删改
|
||||||
table.on('toolbar(dataTable)', function(obj) {
|
table.on('toolbar(dataTable)', function(obj) {
|
||||||
var layEvent = obj.event;
|
var layEvent = obj.event;
|
||||||
|
Loading…
Reference in New Issue
Block a user