新增申请
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
liukang 2025-03-05 16:43:35 +08:00
parent 4a19a615b4
commit bc79605daa

View File

@ -51,10 +51,10 @@ public class ApplyServiceImpl implements IApplyService {
*/
@Override
public int insertApply(Apply apply) throws Exception {
Apply a = applyMapper.selectApplyPerform(apply);
if (a != null) {
throw new Exception("该团您已经申请过,请勿重复申请");
}
// Apply a = applyMapper.selectApplyPerform(apply);
// if (a != null) {
// throw new Exception("该团您已经申请过,请勿重复申请");
// }
apply.setCreateTime(DateUtils.getNowDate());
apply.setWeverseEmail(apply.getWeverseEmail().trim());
apply.setWeversePassword(apply.getWeversePassword().trim());