抢晒镜修改
This commit is contained in:
parent
17e80c2cc2
commit
93a6715af9
@ -358,6 +358,7 @@ public class DingTalkUtil {
|
||||
user.setStatus(1);
|
||||
user.setType(1);
|
||||
user.setRealName(staffEntity.getName());
|
||||
user.setUsername(staffEntity.getMobile());
|
||||
user.setUserNo(staffEntity.getMobile());
|
||||
return sysUserTokenService.createTokenSetTokenCode(user, code);
|
||||
}
|
||||
|
||||
@ -185,6 +185,7 @@ public class SysLoginController extends AbstractController {
|
||||
user.setSalt(staffEntity.getSalt());
|
||||
user.setStatus(1);
|
||||
user.setType(1);
|
||||
user.setUsername(staffEntity.getMobile());
|
||||
user.setRealName(staffEntity.getName());
|
||||
user.setUserNo(staffEntity.getMobile());
|
||||
}else{
|
||||
|
||||
@ -83,6 +83,7 @@ public class OAuth2Realm extends AuthorizingRealm {
|
||||
user.setSalt(staffEntity.getSalt());
|
||||
user.setStatus(1);
|
||||
user.setType(1);
|
||||
user.setUsername(staffEntity.getMobile());
|
||||
user.setRealName(staffEntity.getName());
|
||||
user.setUserNo(staffEntity.getMobile());
|
||||
}
|
||||
|
||||
@ -354,6 +354,8 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
|
||||
approvalList.add(flowRelation.getChild());
|
||||
}
|
||||
}
|
||||
log.info("approvalList approval : " + Arrays.toString(approvalList.toArray()) );
|
||||
|
||||
List<Flow> flows = flowService.selectByFlowId(flowId);
|
||||
FlowRecord lastFlowRecord = flowRecordService.selectLastFlowRecordByRecordId(resultRecordId);
|
||||
FlowRecord notFlowRecord = flowRecordService.selectNotApprovalStaffIdFlowRecords(resultRecord.getId());
|
||||
|
||||
@ -223,7 +223,17 @@
|
||||
and rd.current_approval_staff_id = #{req.approvalStaffId}
|
||||
</if>
|
||||
order by fr.id desc )
|
||||
a GROUP by id order by department_id desc
|
||||
a GROUP by id
|
||||
<choose>
|
||||
<when test="req.statusList != null and req.statusList.size() > 0">
|
||||
order by department_id desc
|
||||
</when>
|
||||
<otherwise>
|
||||
order by id desc
|
||||
</otherwise>
|
||||
</choose>
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
<update id="updateFlowStaffIdRoleToNull">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user