feat:正元余额不足
This commit is contained in:
1 parent
8aa9265874
commit
182dacc855
13 files changed
+134
-100
No files matched your search
+4
-4
@@ -1,7 +1,6 @@
|
||||
package com.bsd.pjcloud.hard.api.dto.hard;
|
||||
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import com.bsd.pjcloud.hard.api.constant.HardTypeEnum;
|
||||
import com.bsd.pjcloud.common.core.constant.enums.MerchantTypeEnum;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -29,10 +28,11 @@ public class CurrentUserHardTypeInfoDto {
|
||||
List<String> list = new ArrayList<>();
|
||||
if (isAll()) return list;
|
||||
if (this.getCanteenView() != null && this.getCanteenView()) {
|
||||
list.add(HardTypeEnum.CANTEEN.getType());
|
||||
list.add(MerchantTypeEnum.CANTEEN.getType());
|
||||
}
|
||||
if (this.getSupermarket() != null && this.getSupermarket()) {
|
||||
list.add(HardTypeEnum.SUPERMARKET.getType());
|
||||
list.add(MerchantTypeEnum.SELF_SUPERMARKET.getType());
|
||||
list.add(MerchantTypeEnum.CANTEEN.getType());
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
+2
-2
@@ -23,12 +23,12 @@ public class HardOrderDto extends HardOrderEntity implements BaseIsIncludeTreeIn
|
||||
|
||||
private List<Long> hardIds;
|
||||
|
||||
private List<String> hardTypeCodes;
|
||||
|
||||
private String hardTypeCode;
|
||||
|
||||
private List<Long> mchIds;
|
||||
|
||||
private List<String> mchTypeCodes;
|
||||
|
||||
private List<String> orderStatusCodes;
|
||||
|
||||
private LocalDate[] createTimeList;
|
||||
|
||||
+7
@@ -56,6 +56,13 @@ public class HardOrderEntity extends Model<HardOrderEntity> {
|
||||
@Schema(description = "商户id")
|
||||
private Long merchantId;
|
||||
|
||||
/**
|
||||
* 商户类型
|
||||
*/
|
||||
@Schema(description = "商户类型")
|
||||
private String merchantType;
|
||||
|
||||
|
||||
/**
|
||||
* 设备id
|
||||
*/
|
||||
|
||||
+2
@@ -40,6 +40,8 @@ public class HardOrderVo extends HardOrderEntity implements BaseUserInterface, B
|
||||
|
||||
private String hardType;
|
||||
|
||||
private List<String> hardTypeCodes;
|
||||
|
||||
/**
|
||||
* 购物车
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user