修改实务认知得分和智能评分规则
parent
cf5c7adaf3
commit
d50a87a0ea
@ -1,358 +1,376 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.sztzjy.fund_investment.mapper.TrainingReportMapper">
|
<mapper namespace="com.sztzjy.fund_investment.mapper.TrainingReportMapper">
|
||||||
<resultMap id="BaseResultMap" type="com.sztzjy.fund_investment.entity.TrainingReport">
|
<resultMap id="BaseResultMap" type="com.sztzjy.fund_investment.entity.TrainingReport">
|
||||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
<id column="id" jdbcType="VARCHAR" property="id"/>
|
||||||
<result column="flow_id" jdbcType="VARCHAR" property="flowId" />
|
<result column="flow_id" jdbcType="VARCHAR" property="flowId"/>
|
||||||
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
|
<result column="school_id" jdbcType="VARCHAR" property="schoolId"/>
|
||||||
<result column="url" jdbcType="VARCHAR" property="url" />
|
<result column="url" jdbcType="VARCHAR" property="url"/>
|
||||||
<result column="report_name" jdbcType="VARCHAR" property="reportName" />
|
<result column="report_name" jdbcType="VARCHAR" property="reportName"/>
|
||||||
<result column="step" jdbcType="VARCHAR" property="step" />
|
<result column="step" jdbcType="VARCHAR" property="step"/>
|
||||||
<result column="report_score" jdbcType="DECIMAL" property="reportScore" />
|
<result column="report_score" jdbcType="DECIMAL" property="reportScore"/>
|
||||||
<result column="experience_score" jdbcType="DECIMAL" property="experienceScore" />
|
<result column="experience_score" jdbcType="DECIMAL" property="experienceScore"/>
|
||||||
<result column="uploadTime" jdbcType="DATE" property="uploadtime" />
|
<result column="uploadTime" jdbcType="DATE" property="uploadtime"/>
|
||||||
<result column="version" jdbcType="VARCHAR" property="version" />
|
<result column="version" jdbcType="VARCHAR" property="version"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.fund_investment.entity.TrainingReport">
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.fund_investment.entity.TrainingReport">
|
||||||
<result column="experience" jdbcType="LONGVARCHAR" property="experience" />
|
<result column="experience" jdbcType="LONGVARCHAR" property="experience"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<where>
|
<where>
|
||||||
<foreach collection="oredCriteria" item="criteria" separator="or">
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||||
<if test="criteria.valid">
|
<if test="criteria.valid">
|
||||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
<foreach collection="criteria.criteria" item="criterion">
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
<choose>
|
<choose>
|
||||||
<when test="criterion.noValue">
|
<when test="criterion.noValue">
|
||||||
and ${criterion.condition}
|
and ${criterion.condition}
|
||||||
</when>
|
</when>
|
||||||
<when test="criterion.singleValue">
|
<when test="criterion.singleValue">
|
||||||
and ${criterion.condition} #{criterion.value}
|
and ${criterion.condition} #{criterion.value}
|
||||||
</when>
|
</when>
|
||||||
<when test="criterion.betweenValue">
|
<when test="criterion.betweenValue">
|
||||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
</when>
|
</when>
|
||||||
<when test="criterion.listValue">
|
<when test="criterion.listValue">
|
||||||
and ${criterion.condition}
|
and ${criterion.condition}
|
||||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
<foreach close=")" collection="criterion.value" item="listItem" open="("
|
||||||
#{listItem}
|
separator=",">
|
||||||
</foreach>
|
#{listItem}
|
||||||
</when>
|
</foreach>
|
||||||
</choose>
|
</when>
|
||||||
|
</choose>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
|
</if>
|
||||||
</foreach>
|
</foreach>
|
||||||
</trim>
|
</where>
|
||||||
</if>
|
</sql>
|
||||||
</foreach>
|
<sql id="Update_By_Example_Where_Clause">
|
||||||
</where>
|
<where>
|
||||||
</sql>
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||||
<sql id="Update_By_Example_Where_Clause">
|
<if test="criteria.valid">
|
||||||
<where>
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
<if test="criteria.valid">
|
<choose>
|
||||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
<when test="criterion.noValue">
|
||||||
<foreach collection="criteria.criteria" item="criterion">
|
and ${criterion.condition}
|
||||||
<choose>
|
</when>
|
||||||
<when test="criterion.noValue">
|
<when test="criterion.singleValue">
|
||||||
and ${criterion.condition}
|
and ${criterion.condition} #{criterion.value}
|
||||||
</when>
|
</when>
|
||||||
<when test="criterion.singleValue">
|
<when test="criterion.betweenValue">
|
||||||
and ${criterion.condition} #{criterion.value}
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
</when>
|
</when>
|
||||||
<when test="criterion.betweenValue">
|
<when test="criterion.listValue">
|
||||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
and ${criterion.condition}
|
||||||
</when>
|
<foreach close=")" collection="criterion.value" item="listItem" open="("
|
||||||
<when test="criterion.listValue">
|
separator=",">
|
||||||
and ${criterion.condition}
|
#{listItem}
|
||||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
</foreach>
|
||||||
#{listItem}
|
</when>
|
||||||
</foreach>
|
</choose>
|
||||||
</when>
|
</foreach>
|
||||||
</choose>
|
</trim>
|
||||||
|
</if>
|
||||||
</foreach>
|
</foreach>
|
||||||
</trim>
|
</where>
|
||||||
</if>
|
</sql>
|
||||||
</foreach>
|
<sql id="Base_Column_List">
|
||||||
</where>
|
id
|
||||||
</sql>
|
, flow_id, school_id, url, report_name, step, report_score, experience_score, uploadTime,
|
||||||
<sql id="Base_Column_List">
|
|
||||||
id, flow_id, school_id, url, report_name, step, report_score, experience_score, uploadTime,
|
|
||||||
version
|
version
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Blob_Column_List">
|
<sql id="Blob_Column_List">
|
||||||
experience
|
experience
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.fund_investment.entity.TrainingReportExample" resultMap="ResultMapWithBLOBs">
|
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.fund_investment.entity.TrainingReportExample"
|
||||||
select
|
resultMap="ResultMapWithBLOBs">
|
||||||
<if test="distinct">
|
select
|
||||||
distinct
|
<if test="distinct">
|
||||||
</if>
|
distinct
|
||||||
<include refid="Base_Column_List" />
|
</if>
|
||||||
,
|
<include refid="Base_Column_List"/>
|
||||||
<include refid="Blob_Column_List" />
|
,
|
||||||
from training_report
|
<include refid="Blob_Column_List"/>
|
||||||
<if test="_parameter != null">
|
from training_report
|
||||||
<include refid="Example_Where_Clause" />
|
<if test="_parameter != null">
|
||||||
</if>
|
<include refid="Example_Where_Clause"/>
|
||||||
<if test="orderByClause != null">
|
</if>
|
||||||
order by ${orderByClause}
|
<if test="orderByClause != null">
|
||||||
</if>
|
order by ${orderByClause}
|
||||||
</select>
|
</if>
|
||||||
<select id="selectByExample" parameterType="com.sztzjy.fund_investment.entity.TrainingReportExample" resultMap="BaseResultMap">
|
</select>
|
||||||
select
|
<select id="selectByExample" parameterType="com.sztzjy.fund_investment.entity.TrainingReportExample"
|
||||||
<if test="distinct">
|
resultMap="BaseResultMap">
|
||||||
distinct
|
select
|
||||||
</if>
|
<if test="distinct">
|
||||||
<include refid="Base_Column_List" />
|
distinct
|
||||||
from training_report
|
</if>
|
||||||
<if test="_parameter != null">
|
<include refid="Base_Column_List"/>
|
||||||
<include refid="Example_Where_Clause" />
|
from training_report
|
||||||
</if>
|
<if test="_parameter != null">
|
||||||
<if test="orderByClause != null">
|
<include refid="Example_Where_Clause"/>
|
||||||
order by ${orderByClause}
|
</if>
|
||||||
</if>
|
<if test="orderByClause != null">
|
||||||
</select>
|
order by ${orderByClause}
|
||||||
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
|
</if>
|
||||||
select
|
</select>
|
||||||
<include refid="Base_Column_List" />
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
|
||||||
,
|
select
|
||||||
<include refid="Blob_Column_List" />
|
<include refid="Base_Column_List"/>
|
||||||
from training_report
|
,
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
<include refid="Blob_Column_List"/>
|
||||||
</select>
|
from training_report
|
||||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
delete from training_report
|
</select>
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||||
</delete>
|
delete
|
||||||
<delete id="deleteByExample" parameterType="com.sztzjy.fund_investment.entity.TrainingReportExample">
|
from training_report
|
||||||
delete from training_report
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
</delete>
|
||||||
<include refid="Example_Where_Clause" />
|
<delete id="deleteByExample" parameterType="com.sztzjy.fund_investment.entity.TrainingReportExample">
|
||||||
</if>
|
delete from training_report
|
||||||
</delete>
|
<if test="_parameter != null">
|
||||||
<insert id="insert" parameterType="com.sztzjy.fund_investment.entity.TrainingReport">
|
<include refid="Example_Where_Clause"/>
|
||||||
insert into training_report (id, flow_id, school_id,
|
</if>
|
||||||
url, report_name, step,
|
</delete>
|
||||||
report_score, experience_score, uploadTime,
|
<insert id="insert" parameterType="com.sztzjy.fund_investment.entity.TrainingReport">
|
||||||
version, experience)
|
insert into training_report (id, flow_id, school_id,
|
||||||
values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR},
|
url, report_name, step,
|
||||||
#{url,jdbcType=VARCHAR}, #{reportName,jdbcType=VARCHAR}, #{step,jdbcType=VARCHAR},
|
report_score, experience_score, uploadTime,
|
||||||
#{reportScore,jdbcType=DECIMAL}, #{experienceScore,jdbcType=DECIMAL}, #{uploadtime,jdbcType=DATE},
|
version, experience)
|
||||||
#{version,jdbcType=VARCHAR}, #{experience,jdbcType=LONGVARCHAR})
|
values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR},
|
||||||
</insert>
|
#{url,jdbcType=VARCHAR}, #{reportName,jdbcType=VARCHAR}, #{step,jdbcType=VARCHAR},
|
||||||
<insert id="insertSelective" parameterType="com.sztzjy.fund_investment.entity.TrainingReport">
|
#{reportScore,jdbcType=DECIMAL}, #{experienceScore,jdbcType=DECIMAL}, #{uploadtime,jdbcType=DATE},
|
||||||
insert into training_report
|
#{version,jdbcType=VARCHAR}, #{experience,jdbcType=LONGVARCHAR})
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
</insert>
|
||||||
<if test="id != null">
|
<insert id="insertSelective" parameterType="com.sztzjy.fund_investment.entity.TrainingReport">
|
||||||
id,
|
insert into training_report
|
||||||
</if>
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
<if test="flowId != null">
|
<if test="id != null">
|
||||||
flow_id,
|
id,
|
||||||
</if>
|
</if>
|
||||||
<if test="schoolId != null">
|
<if test="flowId != null">
|
||||||
school_id,
|
flow_id,
|
||||||
</if>
|
</if>
|
||||||
<if test="url != null">
|
<if test="schoolId != null">
|
||||||
url,
|
school_id,
|
||||||
</if>
|
</if>
|
||||||
<if test="reportName != null">
|
<if test="url != null">
|
||||||
report_name,
|
url,
|
||||||
</if>
|
</if>
|
||||||
<if test="step != null">
|
<if test="reportName != null">
|
||||||
step,
|
report_name,
|
||||||
</if>
|
</if>
|
||||||
<if test="reportScore != null">
|
<if test="step != null">
|
||||||
report_score,
|
step,
|
||||||
</if>
|
</if>
|
||||||
<if test="experienceScore != null">
|
<if test="reportScore != null">
|
||||||
experience_score,
|
report_score,
|
||||||
</if>
|
</if>
|
||||||
<if test="uploadtime != null">
|
<if test="experienceScore != null">
|
||||||
uploadTime,
|
experience_score,
|
||||||
</if>
|
</if>
|
||||||
<if test="version != null">
|
<if test="uploadtime != null">
|
||||||
version,
|
uploadTime,
|
||||||
</if>
|
</if>
|
||||||
<if test="experience != null">
|
<if test="version != null">
|
||||||
experience,
|
version,
|
||||||
</if>
|
</if>
|
||||||
</trim>
|
<if test="experience != null">
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
experience,
|
||||||
<if test="id != null">
|
</if>
|
||||||
#{id,jdbcType=VARCHAR},
|
</trim>
|
||||||
</if>
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="flowId != null">
|
<if test="id != null">
|
||||||
#{flowId,jdbcType=VARCHAR},
|
#{id,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="schoolId != null">
|
<if test="flowId != null">
|
||||||
#{schoolId,jdbcType=VARCHAR},
|
#{flowId,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="url != null">
|
<if test="schoolId != null">
|
||||||
#{url,jdbcType=VARCHAR},
|
#{schoolId,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="reportName != null">
|
<if test="url != null">
|
||||||
#{reportName,jdbcType=VARCHAR},
|
#{url,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="step != null">
|
<if test="reportName != null">
|
||||||
#{step,jdbcType=VARCHAR},
|
#{reportName,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="reportScore != null">
|
<if test="step != null">
|
||||||
#{reportScore,jdbcType=DECIMAL},
|
#{step,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="experienceScore != null">
|
<if test="reportScore != null">
|
||||||
#{experienceScore,jdbcType=DECIMAL},
|
#{reportScore,jdbcType=DECIMAL},
|
||||||
</if>
|
</if>
|
||||||
<if test="uploadtime != null">
|
<if test="experienceScore != null">
|
||||||
#{uploadtime,jdbcType=DATE},
|
#{experienceScore,jdbcType=DECIMAL},
|
||||||
</if>
|
</if>
|
||||||
<if test="version != null">
|
<if test="uploadtime != null">
|
||||||
#{version,jdbcType=VARCHAR},
|
#{uploadtime,jdbcType=DATE},
|
||||||
</if>
|
</if>
|
||||||
<if test="experience != null">
|
<if test="version != null">
|
||||||
#{experience,jdbcType=LONGVARCHAR},
|
#{version,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
</trim>
|
<if test="experience != null">
|
||||||
</insert>
|
#{experience,jdbcType=LONGVARCHAR},
|
||||||
<select id="countByExample" parameterType="com.sztzjy.fund_investment.entity.TrainingReportExample" resultType="java.lang.Long">
|
</if>
|
||||||
select count(*) from training_report
|
</trim>
|
||||||
<if test="_parameter != null">
|
</insert>
|
||||||
<include refid="Example_Where_Clause" />
|
<select id="countByExample" parameterType="com.sztzjy.fund_investment.entity.TrainingReportExample"
|
||||||
</if>
|
resultType="java.lang.Long">
|
||||||
</select>
|
select count(*) from training_report
|
||||||
<update id="updateByExampleSelective" parameterType="map">
|
<if test="_parameter != null">
|
||||||
update training_report
|
<include refid="Example_Where_Clause"/>
|
||||||
<set>
|
</if>
|
||||||
<if test="record.id != null">
|
</select>
|
||||||
id = #{record.id,jdbcType=VARCHAR},
|
<update id="updateByExampleSelective" parameterType="map">
|
||||||
</if>
|
update training_report
|
||||||
<if test="record.flowId != null">
|
<set>
|
||||||
|
<if test="record.id != null">
|
||||||
|
id = #{record.id,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.flowId != null">
|
||||||
|
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.schoolId != null">
|
||||||
|
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.url != null">
|
||||||
|
url = #{record.url,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.reportName != null">
|
||||||
|
report_name = #{record.reportName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.step != null">
|
||||||
|
step = #{record.step,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.reportScore != null">
|
||||||
|
report_score = #{record.reportScore,jdbcType=DECIMAL},
|
||||||
|
</if>
|
||||||
|
<if test="record.experienceScore != null">
|
||||||
|
experience_score = #{record.experienceScore,jdbcType=DECIMAL},
|
||||||
|
</if>
|
||||||
|
<if test="record.uploadtime != null">
|
||||||
|
uploadTime = #{record.uploadtime,jdbcType=DATE},
|
||||||
|
</if>
|
||||||
|
<if test="record.version != null">
|
||||||
|
version = #{record.version,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.experience != null">
|
||||||
|
experience = #{record.experience,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause"/>
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||||
|
update training_report
|
||||||
|
set id = #{record.id,jdbcType=VARCHAR},
|
||||||
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.schoolId != null">
|
|
||||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.url != null">
|
|
||||||
url = #{record.url,jdbcType=VARCHAR},
|
url = #{record.url,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.reportName != null">
|
|
||||||
report_name = #{record.reportName,jdbcType=VARCHAR},
|
report_name = #{record.reportName,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.step != null">
|
|
||||||
step = #{record.step,jdbcType=VARCHAR},
|
step = #{record.step,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.reportScore != null">
|
|
||||||
report_score = #{record.reportScore,jdbcType=DECIMAL},
|
report_score = #{record.reportScore,jdbcType=DECIMAL},
|
||||||
</if>
|
|
||||||
<if test="record.experienceScore != null">
|
|
||||||
experience_score = #{record.experienceScore,jdbcType=DECIMAL},
|
experience_score = #{record.experienceScore,jdbcType=DECIMAL},
|
||||||
</if>
|
|
||||||
<if test="record.uploadtime != null">
|
|
||||||
uploadTime = #{record.uploadtime,jdbcType=DATE},
|
uploadTime = #{record.uploadtime,jdbcType=DATE},
|
||||||
</if>
|
|
||||||
<if test="record.version != null">
|
|
||||||
version = #{record.version,jdbcType=VARCHAR},
|
version = #{record.version,jdbcType=VARCHAR},
|
||||||
</if>
|
experience = #{record.experience,jdbcType=LONGVARCHAR}
|
||||||
<if test="record.experience != null">
|
<if test="_parameter != null">
|
||||||
experience = #{record.experience,jdbcType=LONGVARCHAR},
|
<include refid="Update_By_Example_Where_Clause"/>
|
||||||
</if>
|
</if>
|
||||||
</set>
|
</update>
|
||||||
<if test="_parameter != null">
|
<update id="updateByExample" parameterType="map">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
update training_report
|
||||||
</if>
|
set id = #{record.id,jdbcType=VARCHAR},
|
||||||
</update>
|
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
||||||
<update id="updateByExampleWithBLOBs" parameterType="map">
|
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||||
update training_report
|
url = #{record.url,jdbcType=VARCHAR},
|
||||||
set id = #{record.id,jdbcType=VARCHAR},
|
report_name = #{record.reportName,jdbcType=VARCHAR},
|
||||||
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
step = #{record.step,jdbcType=VARCHAR},
|
||||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
report_score = #{record.reportScore,jdbcType=DECIMAL},
|
||||||
url = #{record.url,jdbcType=VARCHAR},
|
experience_score = #{record.experienceScore,jdbcType=DECIMAL},
|
||||||
report_name = #{record.reportName,jdbcType=VARCHAR},
|
uploadTime = #{record.uploadtime,jdbcType=DATE},
|
||||||
step = #{record.step,jdbcType=VARCHAR},
|
version = #{record.version,jdbcType=VARCHAR}
|
||||||
report_score = #{record.reportScore,jdbcType=DECIMAL},
|
<if test="_parameter != null">
|
||||||
experience_score = #{record.experienceScore,jdbcType=DECIMAL},
|
<include refid="Update_By_Example_Where_Clause"/>
|
||||||
uploadTime = #{record.uploadtime,jdbcType=DATE},
|
</if>
|
||||||
version = #{record.version,jdbcType=VARCHAR},
|
</update>
|
||||||
experience = #{record.experience,jdbcType=LONGVARCHAR}
|
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.fund_investment.entity.TrainingReport">
|
||||||
<if test="_parameter != null">
|
update training_report
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<set>
|
||||||
</if>
|
<if test="flowId != null">
|
||||||
</update>
|
flow_id = #{flowId,jdbcType=VARCHAR},
|
||||||
<update id="updateByExample" parameterType="map">
|
</if>
|
||||||
update training_report
|
<if test="schoolId != null">
|
||||||
set id = #{record.id,jdbcType=VARCHAR},
|
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||||
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
</if>
|
||||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
<if test="url != null">
|
||||||
url = #{record.url,jdbcType=VARCHAR},
|
url = #{url,jdbcType=VARCHAR},
|
||||||
report_name = #{record.reportName,jdbcType=VARCHAR},
|
</if>
|
||||||
step = #{record.step,jdbcType=VARCHAR},
|
<if test="reportName != null">
|
||||||
report_score = #{record.reportScore,jdbcType=DECIMAL},
|
report_name = #{reportName,jdbcType=VARCHAR},
|
||||||
experience_score = #{record.experienceScore,jdbcType=DECIMAL},
|
</if>
|
||||||
uploadTime = #{record.uploadtime,jdbcType=DATE},
|
<if test="step != null">
|
||||||
version = #{record.version,jdbcType=VARCHAR}
|
step = #{step,jdbcType=VARCHAR},
|
||||||
<if test="_parameter != null">
|
</if>
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<if test="reportScore != null">
|
||||||
</if>
|
report_score = #{reportScore,jdbcType=DECIMAL},
|
||||||
</update>
|
</if>
|
||||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.fund_investment.entity.TrainingReport">
|
<if test="experienceScore != null">
|
||||||
update training_report
|
experience_score = #{experienceScore,jdbcType=DECIMAL},
|
||||||
<set>
|
</if>
|
||||||
<if test="flowId != null">
|
<if test="uploadtime != null">
|
||||||
flow_id = #{flowId,jdbcType=VARCHAR},
|
uploadTime = #{uploadtime,jdbcType=DATE},
|
||||||
</if>
|
</if>
|
||||||
<if test="schoolId != null">
|
<if test="version != null">
|
||||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
version = #{version,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="url != null">
|
<if test="experience != null">
|
||||||
url = #{url,jdbcType=VARCHAR},
|
experience = #{experience,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="reportName != null">
|
</set>
|
||||||
report_name = #{reportName,jdbcType=VARCHAR},
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
</if>
|
</update>
|
||||||
<if test="step != null">
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.fund_investment.entity.TrainingReport">
|
||||||
step = #{step,jdbcType=VARCHAR},
|
update training_report
|
||||||
</if>
|
set flow_id = #{flowId,jdbcType=VARCHAR},
|
||||||
<if test="reportScore != null">
|
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||||
report_score = #{reportScore,jdbcType=DECIMAL},
|
url = #{url,jdbcType=VARCHAR},
|
||||||
</if>
|
report_name = #{reportName,jdbcType=VARCHAR},
|
||||||
<if test="experienceScore != null">
|
step = #{step,jdbcType=VARCHAR},
|
||||||
experience_score = #{experienceScore,jdbcType=DECIMAL},
|
report_score = #{reportScore,jdbcType=DECIMAL},
|
||||||
</if>
|
experience_score = #{experienceScore,jdbcType=DECIMAL},
|
||||||
<if test="uploadtime != null">
|
uploadTime = #{uploadtime,jdbcType=DATE},
|
||||||
uploadTime = #{uploadtime,jdbcType=DATE},
|
version = #{version,jdbcType=VARCHAR},
|
||||||
</if>
|
experience = #{experience,jdbcType=LONGVARCHAR}
|
||||||
<if test="version != null">
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
version = #{version,jdbcType=VARCHAR},
|
</update>
|
||||||
</if>
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.fund_investment.entity.TrainingReport">
|
||||||
<if test="experience != null">
|
update training_report
|
||||||
experience = #{experience,jdbcType=LONGVARCHAR},
|
set flow_id = #{flowId,jdbcType=VARCHAR},
|
||||||
</if>
|
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||||
</set>
|
url = #{url,jdbcType=VARCHAR},
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
report_name = #{reportName,jdbcType=VARCHAR},
|
||||||
</update>
|
step = #{step,jdbcType=VARCHAR},
|
||||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.fund_investment.entity.TrainingReport">
|
report_score = #{reportScore,jdbcType=DECIMAL},
|
||||||
update training_report
|
experience_score = #{experienceScore,jdbcType=DECIMAL},
|
||||||
set flow_id = #{flowId,jdbcType=VARCHAR},
|
uploadTime = #{uploadtime,jdbcType=DATE},
|
||||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
version = #{version,jdbcType=VARCHAR}
|
||||||
url = #{url,jdbcType=VARCHAR},
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
report_name = #{reportName,jdbcType=VARCHAR},
|
</update>
|
||||||
step = #{step,jdbcType=VARCHAR},
|
|
||||||
report_score = #{reportScore,jdbcType=DECIMAL},
|
<update id="updateByList" parameterType="java.util.List">
|
||||||
experience_score = #{experienceScore,jdbcType=DECIMAL},
|
<foreach collection="finalReportList" item="item" separator=";">
|
||||||
uploadTime = #{uploadtime,jdbcType=DATE},
|
UPDATE training_report
|
||||||
version = #{version,jdbcType=VARCHAR},
|
set
|
||||||
experience = #{experience,jdbcType=LONGVARCHAR}
|
report_score = #{item.reportScore,jdbcType=DECIMAL},
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
experience_score = #{item.experienceScore,jdbcType=DECIMAL}
|
||||||
</update>
|
WHERE id = #{item.id,jdbcType=VARCHAR}
|
||||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.fund_investment.entity.TrainingReport">
|
</foreach>
|
||||||
update training_report
|
</update>
|
||||||
set flow_id = #{flowId,jdbcType=VARCHAR},
|
|
||||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
|
||||||
url = #{url,jdbcType=VARCHAR},
|
|
||||||
report_name = #{reportName,jdbcType=VARCHAR},
|
|
||||||
step = #{step,jdbcType=VARCHAR},
|
|
||||||
report_score = #{reportScore,jdbcType=DECIMAL},
|
|
||||||
experience_score = #{experienceScore,jdbcType=DECIMAL},
|
|
||||||
uploadTime = #{uploadtime,jdbcType=DATE},
|
|
||||||
version = #{version,jdbcType=VARCHAR}
|
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
|
||||||
</update>
|
|
||||||
</mapper>
|
</mapper>
|
Loading…
Reference in New Issue