记得上下班打卡 | git大法好,push需谨慎

Commit a6de81a5 authored by GaoHu's avatar GaoHu

审核通过

parent 326c3204
......@@ -153,7 +153,7 @@ public class SmileUserServiceImpl extends ServiceImpl<SmileUserMapper, SmileUser
SmileOrganization smileOrganization = smileOrganizationMapper.selectOne(orgQueryWrapper);
//通过审核
//判断是否是总代
if (StringUtils.isEmpty(smileOrganization.getAgentId()) && smileUserCheckVo.getType().equals(1)) {
if (smileOrganization != null && smileUserCheckVo.getType().equals(1)) {
if (smileOrganization != null && StringUtils.isEmpty(smileOrganization.getAgentId())) {
//没有总代 修改代理
smileOrganization.setUpdatedDate(LocalDateTime.now());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment