This commit is contained in:
parent
4a19a615b4
commit
bc79605daa
@ -51,10 +51,10 @@ public class ApplyServiceImpl implements IApplyService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int insertApply(Apply apply) throws Exception {
|
public int insertApply(Apply apply) throws Exception {
|
||||||
Apply a = applyMapper.selectApplyPerform(apply);
|
// Apply a = applyMapper.selectApplyPerform(apply);
|
||||||
if (a != null) {
|
// if (a != null) {
|
||||||
throw new Exception("该团您已经申请过,请勿重复申请");
|
// throw new Exception("该团您已经申请过,请勿重复申请");
|
||||||
}
|
// }
|
||||||
apply.setCreateTime(DateUtils.getNowDate());
|
apply.setCreateTime(DateUtils.getNowDate());
|
||||||
apply.setWeverseEmail(apply.getWeverseEmail().trim());
|
apply.setWeverseEmail(apply.getWeverseEmail().trim());
|
||||||
apply.setWeversePassword(apply.getWeversePassword().trim());
|
apply.setWeversePassword(apply.getWeversePassword().trim());
|
||||||
|
Loading…
Reference in New Issue
Block a user