测试bug
This commit is contained in:
parent
c9735ec966
commit
b4d8a49e2f
@ -979,14 +979,14 @@ public class ResultRecordController extends AbstractController {
|
|||||||
editResultDetails = mapDetails.values().stream().collect(Collectors.toList());
|
editResultDetails = mapDetails.values().stream().collect(Collectors.toList());
|
||||||
if(!isSetKeyResult){
|
if(!isSetKeyResult){
|
||||||
log.info("实际需要写入评论的内容条数{}", updateResultDetails.size());
|
log.info("实际需要写入评论的内容条数{}", updateResultDetails.size());
|
||||||
if(updateResultDetails.size() > 0){
|
if(editResultDetails.size() > 0){
|
||||||
updates.addAll(inserts);
|
updates.addAll(inserts);
|
||||||
|
|
||||||
mapDetails = updates.stream().collect(Collectors.toMap(ResultDetail::getId, Function.identity(), (e, r) -> e));
|
mapDetails = updates.stream().collect(Collectors.toMap(ResultDetail::getId, Function.identity(), (e, r) -> e));
|
||||||
|
|
||||||
String commandValue = "";
|
String commandValue = "";
|
||||||
int commandIndex = 1;
|
int commandIndex = 1;
|
||||||
for (ResultDetail resultDetail1:updateResultDetails
|
for (ResultDetail resultDetail1:editResultDetails
|
||||||
) {
|
) {
|
||||||
log.info("修改的对象为{}", resultDetail1);
|
log.info("修改的对象为{}", resultDetail1);
|
||||||
if(resultDetail1.getIsDelete().intValue() == 1){
|
if(resultDetail1.getIsDelete().intValue() == 1){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user