修改团队资料新增允许体现开关字段
This commit is contained in:
parent
3f9cbf9b9e
commit
289e6e4e11
@ -56,4 +56,9 @@ public class TeamUpdateCmd extends CommonCommand {
|
|||||||
*/
|
*/
|
||||||
private Long updateUser;
|
private Long updateUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 允许提现开关.
|
||||||
|
*/
|
||||||
|
private Boolean withdrawalEnabled;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -78,6 +78,12 @@ public class TeamProfile implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private TeamCounter counter;
|
private TeamCounter counter;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 允许提现开关.
|
||||||
|
*/
|
||||||
|
private Boolean withdrawalEnabled;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 联系方式.
|
* 联系方式.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -78,6 +78,10 @@ public class TeamProfileServiceImpl implements TeamProfileService {
|
|||||||
update.set("status", teamProfile.getStatus());
|
update.set("status", teamProfile.getStatus());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Objects.nonNull(teamProfile.getWithdrawalEnabled())) {
|
||||||
|
update.set("withdrawalEnabled", teamProfile.getWithdrawalEnabled());
|
||||||
|
}
|
||||||
|
|
||||||
if (Objects.nonNull(teamProfile.getSetting())) {
|
if (Objects.nonNull(teamProfile.getSetting())) {
|
||||||
TeamSetting setting = teamProfile.getSetting();
|
TeamSetting setting = teamProfile.getSetting();
|
||||||
if (Objects.nonNull(setting.getMaxMember())) {
|
if (Objects.nonNull(setting.getMaxMember())) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user