feat: 审核通过时支持指定店员分组
Some checks failed
Build and Push Backend / docker (push) Failing after 5s

This commit is contained in:
irving
2025-10-25 22:45:31 -04:00
parent 03e9ceee5b
commit 15aea7d779
2 changed files with 9 additions and 0 deletions

View File

@@ -37,4 +37,10 @@ public class PlayClerkUserReviewStateEditVo {
*/
@ApiModelProperty(value = "审核时间", hidden = true, notes = "系统自动生成,无需传入")
private LocalDateTime reviewTime = LocalDateTime.now();
/**
* 店员分组ID
*/
@ApiModelProperty(value = "店员分组ID", required = false, notes = "审核通过时可选,指定店员所属分组")
private String groupId;
}

View File

@@ -173,6 +173,9 @@ public class PlayClerkUserReviewInfoServiceImpl
userInfo.setClerkState("1");
userInfo.setId(entity.getClerkId());
userInfo.setAlbum(entity.getAlbum());
if (StrUtil.isNotBlank(vo.getGroupId())) {
userInfo.setGroupId(vo.getGroupId());
}
if(OrderConstant.Gender.UNKNOWN.getCode().equals(entity.getSex())){
userInfo.setSex(OrderConstant.Gender.FEMALE.getCode());
}