|
@@ -11,6 +11,7 @@ import com.github.yulichang.wrapper.MPJLambdaWrapper;
|
|
import com.xjrsoft.common.enums.DeleteMark;
|
|
import com.xjrsoft.common.enums.DeleteMark;
|
|
import com.xjrsoft.common.enums.EnabledMark;
|
|
import com.xjrsoft.common.enums.EnabledMark;
|
|
import com.xjrsoft.common.model.result.RT;
|
|
import com.xjrsoft.common.model.result.RT;
|
|
|
|
+import com.xjrsoft.common.mybatis.SqlRunnerAdapter;
|
|
import com.xjrsoft.common.page.ConventPage;
|
|
import com.xjrsoft.common.page.ConventPage;
|
|
import com.xjrsoft.module.base.entity.BaseClass;
|
|
import com.xjrsoft.module.base.entity.BaseClass;
|
|
import com.xjrsoft.module.evaluate.dto.AddEvaluateResultDto;
|
|
import com.xjrsoft.module.evaluate.dto.AddEvaluateResultDto;
|
|
@@ -313,15 +314,8 @@ public class EvaluateResultServiceImpl extends MPJBaseServiceImpl<EvaluateResult
|
|
|
|
|
|
if(dto.getSubmitType() != null && dto.getSubmitType() == 2){
|
|
if(dto.getSubmitType() != null && dto.getSubmitType() == 2){
|
|
//评价结果保存
|
|
//评价结果保存
|
|
- evaluateResultMapper.delete(
|
|
|
|
- new QueryWrapper<EvaluateResult>().lambda()
|
|
|
|
- .eq(EvaluateResult::getSubmitRecordId, mobileResultPageVo.getEvaluateSubmitRecordId())
|
|
|
|
- );
|
|
|
|
-
|
|
|
|
- evaluateSubmitRecordMapper.delete(
|
|
|
|
- new QueryWrapper<EvaluateSubmitRecord>().lambda()
|
|
|
|
- .eq(EvaluateSubmitRecord::getId, mobileResultPageVo.getEvaluateSubmitRecordId())
|
|
|
|
- );
|
|
|
|
|
|
+ String delSql = "DELETE FROM evaluate_result WHERE submit_record_id = '" + mobileResultPageVo.getEvaluateSubmitRecordId() + "'";
|
|
|
|
+ SqlRunnerAdapter.db().delete(delSql);
|
|
}
|
|
}
|
|
|
|
|
|
List<AddEvaluateResultDto> resultList = dto.getResultList();
|
|
List<AddEvaluateResultDto> resultList = dto.getResultList();
|