卡券数量不能0
This commit is contained in:
@@ -340,7 +340,7 @@ public class EmpCardGiftService extends MybatisBaseService<EmpCardGiftMapper, Em
|
||||
return rb.setMsg("卡券数量不是数字,请重新填写");
|
||||
}
|
||||
if(count==0){
|
||||
count=1;
|
||||
return rb.setMsg("卡券数量不能为0,请重新填写");
|
||||
}
|
||||
if (StringUtils.isBlank(dto.getEmpCardSid())) {
|
||||
return rb.setMsg("请选择企业卡");
|
||||
|
||||
Reference in New Issue
Block a user