fix
This commit is contained in:
@@ -63,6 +63,16 @@ public enum ShopSubStageEnum {
|
||||
this.planCompleteDays = planCompleteDays;
|
||||
}
|
||||
|
||||
public static Integer getTotalStageIsLocationAndPreparation() {
|
||||
int total=0;
|
||||
for (ShopSubStageEnum shopStageEnum : ShopSubStageEnum.values()) {
|
||||
if (shopStageEnum.getShopStageEnum().getShopStage().equals(ShopStageEnum.SHOP_STAGE_1.getShopStage())
|
||||
||shopStageEnum.getShopStageEnum().getShopStage().equals(ShopStageEnum.SHOP_STAGE_2.getShopStage())) {
|
||||
total++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static List<ShopSubStageEnum> getShopStageEnum(Integer shopStage) {
|
||||
List<ShopSubStageEnum> resultList = new ArrayList<>();
|
||||
for (ShopSubStageEnum shopStageEnum : ShopSubStageEnum.values()) {
|
||||
|
||||
Reference in New Issue
Block a user