This commit is contained in:
parent
4a19a615b4
commit
bc79605daa
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user