店铺相关功能
This commit is contained in:
parent
4c21d37e34
commit
4a00013d10
@ -23,7 +23,7 @@ import java.util.Map;
|
||||
public interface IShopIndusrtyDao {
|
||||
|
||||
/**
|
||||
* 新增
|
||||
* 新增
|
||||
*
|
||||
* @param params
|
||||
* @throws SaveException
|
||||
@ -31,7 +31,7 @@ public interface IShopIndusrtyDao {
|
||||
void save(Map<String, Object> params) throws SaveException;
|
||||
|
||||
/**
|
||||
* 删除
|
||||
* 删除
|
||||
*
|
||||
* @param params
|
||||
* @throws RemoveException
|
||||
@ -39,7 +39,7 @@ public interface IShopIndusrtyDao {
|
||||
void remove(Map<String, Object> params) throws RemoveException;
|
||||
|
||||
/**
|
||||
* 删除(物理)
|
||||
* 删除(物理)
|
||||
*
|
||||
* @param params
|
||||
* @throws RemoveException
|
||||
@ -47,7 +47,7 @@ public interface IShopIndusrtyDao {
|
||||
void delete(Map<String, Object> params) throws RemoveException;
|
||||
|
||||
/**
|
||||
* 修改
|
||||
* 修改
|
||||
*
|
||||
* @param params
|
||||
* @throws UpdateException
|
||||
@ -55,7 +55,7 @@ public interface IShopIndusrtyDao {
|
||||
void update(Map<String, Object> params) throws UpdateException;
|
||||
|
||||
/**
|
||||
* 详情
|
||||
* 详情
|
||||
*
|
||||
* @param params
|
||||
* @return
|
||||
@ -64,7 +64,7 @@ public interface IShopIndusrtyDao {
|
||||
ShopIndusrtyDTO get(Map<String, Object> params) throws SearchException;
|
||||
|
||||
/**
|
||||
* 详情
|
||||
* 详情
|
||||
*
|
||||
* @param params
|
||||
* @return
|
||||
@ -73,7 +73,7 @@ public interface IShopIndusrtyDao {
|
||||
ShopIndusrtyBO getBO(Map<String, Object> params) throws SearchException;
|
||||
|
||||
/**
|
||||
* 详情
|
||||
* 详情
|
||||
*
|
||||
* @param params
|
||||
* @return
|
||||
@ -82,7 +82,7 @@ public interface IShopIndusrtyDao {
|
||||
ShopIndusrtyPO getPO(Map<String, Object> params) throws SearchException;
|
||||
|
||||
/**
|
||||
* 列表
|
||||
* 列表
|
||||
*
|
||||
* @param params
|
||||
* @return
|
||||
@ -91,7 +91,7 @@ public interface IShopIndusrtyDao {
|
||||
List<ShopIndusrtyDTO> list(Map<String, Object> params) throws SearchException;
|
||||
|
||||
/**
|
||||
* 列表
|
||||
* 列表
|
||||
*
|
||||
* @param params
|
||||
* @return
|
||||
@ -100,7 +100,7 @@ public interface IShopIndusrtyDao {
|
||||
List<ShopIndusrtyBO> listBO(Map<String, Object> params) throws SearchException;
|
||||
|
||||
/**
|
||||
* 列表
|
||||
* 列表
|
||||
*
|
||||
* @param params
|
||||
* @return
|
||||
@ -109,7 +109,7 @@ public interface IShopIndusrtyDao {
|
||||
List<ShopIndusrtyPO> listPO(Map<String, Object> params) throws SearchException;
|
||||
|
||||
/**
|
||||
* 统计
|
||||
* 统计
|
||||
*
|
||||
* @param params
|
||||
* @return
|
||||
|
@ -14,13 +14,13 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
@ApiModel
|
||||
public class ShopMemberDTO {
|
||||
|
||||
@ApiModelProperty(name = "shopId", value = "店铺ID")
|
||||
@ApiModelProperty(name = "shopId", value = "商铺ID")
|
||||
private String shopId;
|
||||
@ApiModelProperty(name = "userId", value = "用户ID")
|
||||
@ApiModelProperty(name = "userId", value = "用户ID")
|
||||
private String userId;
|
||||
@ApiModelProperty(name = "memberLevel", value = "会员等级")
|
||||
@ApiModelProperty(name = "memberLevel", value = "会员等级")
|
||||
private Integer memberLevel;
|
||||
@ApiModelProperty(name = "gmtCreate", value = "创建时间")
|
||||
@ApiModelProperty(name = "gmtCreate", value = "创建时间")
|
||||
private String gmtCreate;
|
||||
|
||||
public String getShopId() {
|
||||
|
@ -16,15 +16,15 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
@ApiModel
|
||||
public class ShopMemberVO {
|
||||
|
||||
@ApiModelProperty(name = "shopId", value = "店铺ID")
|
||||
@ApiModelProperty(name = "shopId", value = "商铺ID")
|
||||
private String shopId;
|
||||
@ApiModelProperty(name = "userId", value = "用户ID")
|
||||
@ApiModelProperty(name = "userId", value = "用户ID")
|
||||
private String userId;
|
||||
@ApiModelProperty(name = "memberLevel", value = "会员等级")
|
||||
@CheckNumberAnnotation(name = "会员等级")
|
||||
@ApiModelProperty(name = "memberLevel", value = "会员等级")
|
||||
@CheckNumberAnnotation(name = "<EFBFBD><EFBFBD>Ա<EFBFBD>ȼ<EFBFBD>")
|
||||
private Integer memberLevel;
|
||||
@ApiModelProperty(name = "gmtCreate", value = "创建时间")
|
||||
@CheckEmptyAnnotation(name = "创建时间", verifyType = "datetime")
|
||||
@ApiModelProperty(name = "gmtCreate", value = "创建时间")
|
||||
@CheckEmptyAnnotation(name = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>", verifyType = "datetime")
|
||||
private String gmtCreate;
|
||||
|
||||
public String getShopId() {
|
||||
|
@ -318,9 +318,24 @@
|
||||
});
|
||||
|
||||
table.on('tool(dataTable)', function(obj){
|
||||
var checkStatus = table.checkStatus(obj.config.id);
|
||||
//var checkStatus = table.checkStatus(obj.config.id);
|
||||
var data = obj.data;
|
||||
console.log(data);
|
||||
var event = obj.event;
|
||||
|
||||
if(event === 'show') {
|
||||
layer.open({
|
||||
type: 2,
|
||||
title: false,
|
||||
closeBtn: 0,
|
||||
area: ['100%', '100%'],
|
||||
shadeClose: true,
|
||||
anim: 2,
|
||||
content: top.restAjax.path('route/shop/show.html?shopId={shopId}', [data.showId]),
|
||||
end: function() {
|
||||
reloadTable();
|
||||
}
|
||||
});
|
||||
|
||||
// switch(obj.event){
|
||||
// case 'add':
|
||||
// layer.msg('添加');
|
||||
|
Loading…
Reference in New Issue
Block a user