|
@ -6848,16 +6848,18 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public Result updataCaseEvaluation(QsjbEvaluation formDTO) { |
|
|
public Result updataCaseEvaluation(QsjbEvaluation formDTO) { |
|
|
|
|
|
log.info(formDTO.getPjjg()+"111111111111111111111111111111"+formDTO.toString()); |
|
|
ItemEntity itemBySqid = baseDao.getItemBySqid(formDTO.getSqid()); |
|
|
ItemEntity itemBySqid = baseDao.getItemBySqid(formDTO.getSqid()); |
|
|
if(null==itemBySqid){ |
|
|
if(null==itemBySqid){ |
|
|
return new Result().error(1,"sqid:"+formDTO.getSqid()+"不存在"); |
|
|
return new Result().error(1,"sqid:"+formDTO.getSqid()+"不存在"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
itemBySqid.setEvaluationState("0"); |
|
|
itemBySqid.setEvaluationState("0"); |
|
|
itemBySqid.setItemState(10); |
|
|
itemBySqid.setItemState(10); |
|
|
if("01".equals(formDTO.getPjjg())){ |
|
|
if("01".equals(formDTO.getPjjg())){ |
|
|
itemBySqid.setEvaluationScore(2); |
|
|
itemBySqid.setEvaluationScore(2); |
|
|
}else if("03".equals(formDTO.getPjsj())){ |
|
|
}else if("03".equals(formDTO.getPjjg())){ |
|
|
itemBySqid.setEvaluationScore(0); |
|
|
itemBySqid.setEvaluationScore(0); |
|
|
}else{ |
|
|
}else{ |
|
|
itemBySqid.setEvaluationScore(1); |
|
|
itemBySqid.setEvaluationScore(1); |
|
@ -6865,6 +6867,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
itemBySqid.setEvaluationTime(DateUtil.parse(formDTO.getPjsj())); |
|
|
itemBySqid.setEvaluationTime(DateUtil.parse(formDTO.getPjsj())); |
|
|
itemBySqid.setEvaluationContent(formDTO.getPjnr()); |
|
|
itemBySqid.setEvaluationContent(formDTO.getPjnr()); |
|
|
itemBySqid.setSolutionInfo(formDTO.getJjqk()); |
|
|
itemBySqid.setSolutionInfo(formDTO.getJjqk()); |
|
|
|
|
|
itemBySqid.setEvaluationSystemFlag(0); |
|
|
baseDao.updateById(itemBySqid); |
|
|
baseDao.updateById(itemBySqid); |
|
|
return new Result(); |
|
|
return new Result(); |
|
|
} |
|
|
} |
|
|