拖动排序
This commit is contained in:
@@ -37,6 +37,12 @@ public class ShopPayType implements Serializable {
|
||||
@Id(keyType = KeyType.Auto)
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 图标
|
||||
*/
|
||||
private String icon;
|
||||
|
||||
|
||||
/**
|
||||
* 支付类型cash,alipay,weixin,deposit,arrears,virtual,member-account
|
||||
*/
|
||||
@@ -57,26 +63,6 @@ public class ShopPayType implements Serializable {
|
||||
*/
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 0允许退款 1-不允许退款
|
||||
*/
|
||||
private Integer isRefundable;
|
||||
|
||||
/**
|
||||
* 是否打开钱箱
|
||||
*/
|
||||
private Integer isOpenCashDrawer;
|
||||
|
||||
/**
|
||||
* 0不是 1是 [系统级支付]
|
||||
*/
|
||||
private Integer isSystem;
|
||||
|
||||
/**
|
||||
* 0-非虚拟 1虚拟 virtual
|
||||
*/
|
||||
private Integer isIdeal;
|
||||
|
||||
/**
|
||||
* 0-不显示1显示
|
||||
*/
|
||||
@@ -91,10 +77,4 @@ public class ShopPayType implements Serializable {
|
||||
private LocalDateTime createTime;
|
||||
@Column(onInsertValue = "now()")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 图标
|
||||
*/
|
||||
private String icon;
|
||||
|
||||
}
|
||||
|
||||
@@ -21,4 +21,12 @@ public interface ShopPayTypeService extends IService<ShopPayType> {
|
||||
Boolean edit(Long shopId, ShopPayTypeDTO shopPayTypeDTO);
|
||||
|
||||
void addInfo(Long shopId);
|
||||
|
||||
/**
|
||||
* 拖动排序
|
||||
* @param shopId 店铺ID
|
||||
* @param payTypeId 当前拖动的支付类型ID
|
||||
* @param targetSort 目标排序号
|
||||
*/
|
||||
void updateSort(Long shopId, Integer payTypeId, Integer targetSort);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user