Browse Source

修改志愿者报名默认状态

feature/dangjian
曲树通 5 years ago
parent
commit
b872efbf93
  1. 2
      esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/service/impl/VolunteerInfoServiceImpl.java

2
esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/java/com/elink/esua/epdc/service/impl/VolunteerInfoServiceImpl.java

@ -210,7 +210,7 @@ public class VolunteerInfoServiceImpl extends BaseServiceImpl<VolunteerInfoDao,
// 补全其他字段
volunteerEntity.setRegistTime(new Date());// 注册时间
volunteerEntity.setAuditStatus(NumConstant.ONE_STR); // 审核状态 默认审核通过
volunteerEntity.setAuditStatus(NumConstant.ZERO_STR); // 审核状态 默认自动审核通过
volunteerEntity.setAuditTime(volunteerEntity.getRegistTime()); // 审核时间
String address = volunteerEntity.getRoad()
.concat(StringUtils.isNotBlank(volunteerEntity.getVillageName()) ? volunteerEntity.getVillageName() : StringUtils.EMPTY)

Loading…
Cancel
Save