fix 校验值处理

This commit is contained in:
2024-04-06 19:32:07 +08:00
parent 53e796ff53
commit c3adc58b24

View File

@@ -140,6 +140,7 @@ public class CanteenSettingService : ICanteenSettingService
//判断0/1 //判断0/1
if (type == CanteenSettingItemEnumType.AllowSendAtMeal || if (type == CanteenSettingItemEnumType.AllowSendAtMeal ||
type == CanteenSettingItemEnumType.AllowRepeatInOneShift || type == CanteenSettingItemEnumType.AllowRepeatInOneShift ||
type == CanteenSettingItemEnumType.AllowNoBalance ||
type == CanteenSettingItemEnumType.AllowCrossTenant) type == CanteenSettingItemEnumType.AllowCrossTenant)
{ {
var intvaule = int.Parse(value); var intvaule = int.Parse(value);