From 21bc49712f298f8c2619341279e7906dfb278944 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 28 七月 2023 19:53:07 +0800 Subject: [PATCH] 将操作记录插入fundflow表 --- ruoyi-project/src/main/resources/mapper/project/ServiceFundflowMapper.xml | 71 ++++++++++++++++++++++------------- 1 files changed, 45 insertions(+), 26 deletions(-) diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceFundflowMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceFundflowMapper.xml index 5cc3e52..da421c5 100644 --- a/ruoyi-project/src/main/resources/mapper/project/ServiceFundflowMapper.xml +++ b/ruoyi-project/src/main/resources/mapper/project/ServiceFundflowMapper.xml @@ -1,40 +1,59 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper -PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" -"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.ruoyi.project.mapper.ServiceFundflowMapper"> - + <resultMap type="com.ruoyi.project.domain.ServiceFundflow" id="ServiceFundflowResult"> - <result property="id" column="ID" /> - <result property="fundid" column="FundID" /> - <result property="del_flag" column="del_flag" /> - <result property="createBy" column="create_by" /> - <result property="createTime" column="create_time" /> - <result property="updateBy" column="update_by" /> - <result property="updateTime" column="update_time" /> - <result property="checkuserno" column="CheckUserNo" /> - <result property="checkusername" column="CheckUserName" /> - <result property="flowcontent" column="FlowContent" /> - <result property="flowconclusion" column="FlowConclusion" /> - <result property="fundtype" column="FundType" /> - <result property="applytype" column="ApplyType" /> - <result property="flowlevel" column="FlowLevel" /> + <result property="id" column="ID"/> + <result property="fundid" column="FundID"/> + <result property="del_flag" column="del_flag"/> + <result property="createBy" column="create_by"/> + <result property="createTime" column="create_time"/> + <result property="updateBy" column="update_by"/> + <result property="updateTime" column="update_time"/> + <result property="checkuserno" column="CheckUserNo"/> + <result property="checkusername" column="CheckUserName"/> + <result property="flowcontent" column="FlowContent"/> + <result property="flowconclusion" column="FlowConclusion"/> + <result property="fundtype" column="FundType"/> + <result property="applytype" column="ApplyType"/> + <result property="flowlevel" column="FlowLevel"/> + <result property="checkTime" column="check_time"/> </resultMap> <sql id="selectServiceFundflowVo"> - select ID, FundID, del_flag, create_by, create_time, update_by, update_time, CheckUserNo, CheckUserName, FlowContent, FlowConclusion, FundType, ApplyType,FlowLevel from service_fundflow + select ID, + FundID, + del_flag, + create_by, + create_time, + update_by, + update_time, + CheckUserNo, + CheckUserName, + FlowContent, + FlowConclusion, + FundType, + ApplyType, + FlowLevel, + checkTime + from service_fundflow </sql> - <select id="selectServiceFundflowList" parameterType="com.ruoyi.project.domain.ServiceFundflow" resultMap="ServiceFundflowResult"> + <select id="selectServiceFundflowList" parameterType="com.ruoyi.project.domain.ServiceFundflow" + resultMap="ServiceFundflowResult"> <include refid="selectServiceFundflowVo"/> <where> - <if test="fundid != null "> and FundID = #{fundid}</if> - <if test="checkuserno != null and checkuserno != ''"> and CheckUserNo = #{checkuserno}</if> - <if test="checkusername != null and checkusername != ''"> and CheckUserName like concat('%', #{checkusername}, '%')</if> - <if test="flowcontent != null and flowcontent != ''"> and FlowContent = #{flowcontent}</if> - <if test="flowconclusion != null "> and FlowConclusion = #{flowconclusion}</if> - <if test="fundtype != null "> and FundType = #{fundtype}</if> - <if test="applytype != null and applytype != ''"> and ApplyType = #{applytype}</if> + <if test="fundid != null ">and FundID = #{fundid}</if> + <if test="checkuserno != null and checkuserno != ''">and CheckUserNo = #{checkuserno}</if> + <if test="checkusername != null and checkusername != ''">and CheckUserName like concat('%', + #{checkusername}, '%') + </if> + <if test="flowcontent != null and flowcontent != ''">and FlowContent = #{flowcontent}</if> + <if test="flowconclusion != null ">and FlowConclusion = #{flowconclusion}</if> + <if test="fundtype != null ">and FundType = #{fundtype}</if> + <if test="applytype != null and applytype != ''">and ApplyType = #{applytype}</if> </where> </select> -- Gitblit v1.9.3