From 40e6b02f26a7c0a1911a69b951c948f582df4032 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期五, 20 六月 2025 13:23:18 +0800 Subject: [PATCH] 准东数据推送优化 --- src/main/resources/mybatis/tr/TbBaseCheckScoreMapper.xml | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mybatis/tr/TbBaseCheckScoreMapper.xml b/src/main/resources/mybatis/tr/TbBaseCheckScoreMapper.xml index a76db99..7e30393 100644 --- a/src/main/resources/mybatis/tr/TbBaseCheckScoreMapper.xml +++ b/src/main/resources/mybatis/tr/TbBaseCheckScoreMapper.xml @@ -18,14 +18,19 @@ <result property="updateBy" column="update_by"/> <result property="updateDate" column="update_date"/> </resultMap> + <insert id="save" parameterType="com.ruoyi.project.tr.specialCheck.domin.TbBaseCheckScore"> + insert into tb_base_check_score ( id, check_item_id, is_reject, deduct_point, deduct_illustrate, deleted, create_by, create_date, update_by, update_date) + values (#{id}, #{checkItemId}, #{isReject}, #{deductPoint}, #{deductIllustrate}, #{deleted}, #{createBy}, #{createDate}, #{updateBy}, #{updateDate}) -<!-- List<TbBaseCheckScore> selectTbBaseCheckScorePage(TbBaseCheckScoreBO tbBaseCheckScoreBO);--> + </insert> + + <!-- List<TbBaseCheckScore> selectTbBaseCheckScorePage(TbBaseCheckScoreBO tbBaseCheckScoreBO);--> <select id="selectTbBaseCheckScorePage" resultMap="BaseResultMap"> select * from tb_base_check_score <where> deleted = 0 - <if test="id != null"> - and check_item_id = #{id} + <if test="checkItemId != null"> + and check_item_id = #{checkItemId} </if> <if test="isReject != null"> and is_reject = #{isReject} -- Gitblit v1.9.2