评估优化

This commit is contained in:
zhanglipeng
2021-01-07 17:10:01 +08:00
parent ab9fab9465
commit 09462d74a5
5 changed files with 55 additions and 34 deletions

View File

@ -111,8 +111,12 @@ public class ByAssessmentchildController extends BaseController {
}
}
}
if (iCount > 0) {
return toAjax(iCount);
} else {
return AjaxResult.error("选择的评估数据无变化");
}
return toAjax(iCount);
}
/**

View File

@ -27,7 +27,7 @@
<if test="classid != null and classid != ''">and classid = #{classid}</if>
<if test="contentid != null ">and contentid = #{contentid}</if>
<if test="type != null and type != ''">and type = #{type}</if>
<if test="xn != null and xn != ''">and xn = #{xn}</if>
<!-- <if test="xn != null and xn != ''">and xn = #{xn}</if>-->
<if test="userid != null ">and userid = #{userid}</if>
</where>
</select>