From c111e3eff1191b29d2d2baf2f485a4bf3a2edc00 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期六, 16 八月 2025 14:34:07 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/SchemeAutofinshruleMapper.xml | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/SchemeAutofinshruleMapper.xml b/smartor/src/main/resources/mapper/smartor/SchemeAutofinshruleMapper.xml index da3a2cf..993fb7b 100644 --- a/smartor/src/main/resources/mapper/smartor/SchemeAutofinshruleMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/SchemeAutofinshruleMapper.xml @@ -2,9 +2,9 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> -<mapper namespace="com.ruoyi.smartor.mapper.SchemeAutofinshruleMapper"> - - <resultMap type="SchemeAutofinshrule" id="SchemeAutofinshruleResult"> +<mapper namespace="com.smartor.mapper.SchemeAutofinshruleMapper"> + + <resultMap type="com.smartor.domain.SchemeAutofinshrule" id="SchemeAutofinshruleResult"> <result property="id" column="id" /> <result property="schemeid" column="schemeid" /> <result property="ruletype" column="ruletype" /> @@ -23,22 +23,22 @@ select id, schemeid, ruletype, rulevalue, orgid, del_flag, create_by, create_time, update_by, update_time, isupload, upload_time from scheme_autofinshrule </sql> - <select id="selectSchemeAutofinshruleList" parameterType="SchemeAutofinshrule" resultMap="SchemeAutofinshruleResult"> + <select id="selectSchemeAutofinshruleList" parameterType="com.smartor.domain.SchemeAutofinshrule" resultMap="SchemeAutofinshruleResult"> <include refid="selectSchemeAutofinshruleVo"/> - <where> + <where> <if test="schemeid != null "> and schemeid = #{schemeid}</if> <if test="ruletype != null "> and ruletype = #{ruletype}</if> <if test="rulevalue != null and rulevalue != ''"> and rulevalue = #{rulevalue}</if> <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> </where> </select> - + <select id="selectSchemeAutofinshruleById" parameterType="Long" resultMap="SchemeAutofinshruleResult"> <include refid="selectSchemeAutofinshruleVo"/> where id = #{id} </select> - - <insert id="insertSchemeAutofinshrule" parameterType="SchemeAutofinshrule" useGeneratedKeys="true" keyProperty="id"> + + <insert id="insertSchemeAutofinshrule" parameterType="com.smartor.domain.SchemeAutofinshrule" useGeneratedKeys="true" keyProperty="id"> insert into scheme_autofinshrule <trim prefix="(" suffix=")" suffixOverrides=","> <if test="schemeid != null">schemeid,</if> @@ -68,7 +68,7 @@ </trim> </insert> - <update id="updateSchemeAutofinshrule" parameterType="SchemeAutofinshrule"> + <update id="updateSchemeAutofinshrule" parameterType="com.smartor.domain.SchemeAutofinshrule"> update scheme_autofinshrule <trim prefix="SET" suffixOverrides=","> <if test="schemeid != null">schemeid = #{schemeid},</if> @@ -91,9 +91,9 @@ </delete> <delete id="deleteSchemeAutofinshruleByIds" parameterType="String"> - delete from scheme_autofinshrule where id in + delete from scheme_autofinshrule where id in <foreach item="id" collection="array" open="(" separator="," close=")"> #{id} </foreach> </delete> -</mapper> \ No newline at end of file +</mapper> -- Gitblit v1.9.3