更新人没写入
This commit is contained in:
@@ -56,7 +56,7 @@ public class LineInfoDAO {
|
||||
return lineInfoMapper.updateByPrimaryKeySelective(param);
|
||||
}
|
||||
|
||||
public Integer updateWorkflowStage(Long lineId, WorkflowSubStageEnum workflowSubStage, WorkflowSubStageStatusEnum workflowSubStageStatus) {
|
||||
public Integer updateWorkflowStage(Long lineId, WorkflowSubStageEnum workflowSubStage, WorkflowSubStageStatusEnum workflowSubStageStatus,String userId) {
|
||||
if(Objects.isNull(workflowSubStageStatus)){
|
||||
log.info("更新线索阶段,子阶段 和 子阶段状态不能同时为空");
|
||||
throw new ServiceException(ErrorCodeEnum.PARAMS_REQUIRED);
|
||||
@@ -66,6 +66,9 @@ public class LineInfoDAO {
|
||||
if(Objects.nonNull(workflowSubStage)){
|
||||
lineInfo.setWorkflowSubStage(workflowSubStage.getCode());
|
||||
}
|
||||
if(StringUtils.isNotEmpty(userId)){
|
||||
lineInfo.setUpdateUserId(userId);
|
||||
}
|
||||
lineInfo.setWorkflowSubStageStatus(workflowSubStageStatus.getCode());
|
||||
return lineInfoMapper.updateByPrimaryKeySelective(lineInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user