fix(用例管理): 重新提审用例更新失败问题
--bug=1039542 --user=王旭 【用例管理】项目与权限中开启重新提审后,更新用例失败 https://www.tapd.cn/55049933/s/1499905
This commit is contained in:
parent
c9edbcf5d1
commit
1527cf6890
|
@ -354,7 +354,7 @@ public class CaseReviewFunctionalCaseService {
|
||||||
provider.updateCaseReview(param);
|
provider.updateCaseReview(param);
|
||||||
|
|
||||||
});
|
});
|
||||||
caseReviewHistoryMapper.batchInsertSelective(historyList);
|
caseReviewHistoryMapper.batchInsert(historyList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -367,6 +367,7 @@ public class CaseReviewFunctionalCaseService {
|
||||||
caseReviewHistory.setCreateUser(UserRoleScope.SYSTEM);
|
caseReviewHistory.setCreateUser(UserRoleScope.SYSTEM);
|
||||||
caseReviewHistory.setCreateTime(System.currentTimeMillis());
|
caseReviewHistory.setCreateTime(System.currentTimeMillis());
|
||||||
caseReviewHistory.setDeleted(false);
|
caseReviewHistory.setDeleted(false);
|
||||||
|
caseReviewHistory.setAbandoned(false);
|
||||||
historyList.add(caseReviewHistory);
|
historyList.add(caseReviewHistory);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -842,7 +843,7 @@ public class CaseReviewFunctionalCaseService {
|
||||||
sqlSession.flushStatements();
|
sqlSession.flushStatements();
|
||||||
SqlSessionUtils.closeSqlSession(sqlSession, sqlSessionFactory);
|
SqlSessionUtils.closeSqlSession(sqlSession, sqlSessionFactory);
|
||||||
extCaseReviewHistoryMapper.batchUpdateAbandoned(null, caseIds);
|
extCaseReviewHistoryMapper.batchUpdateAbandoned(null, caseIds);
|
||||||
caseReviewHistoryMapper.batchInsertSelective(historyList);
|
caseReviewHistoryMapper.batchInsert(historyList);
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<CaseReviewFunctionalCaseUser> getReviewerList(String reviewId, String caseId) {
|
public List<CaseReviewFunctionalCaseUser> getReviewerList(String reviewId, String caseId) {
|
||||||
|
|
Loading…
Reference in New Issue