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