123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!--
- ~ <<
- ~ Davinci
- ~ ==
- ~ Copyright (C) 2016 - 2019 EDP
- ~ ==
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- ~ >>
- ~
- -->
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
- <mapper namespace="edp.davinci.dao.QualityAuditorMapper">
- <insert id="insert" parameterType="edp.davinci.model.QualityAuditor">
- insert into `quality_auditor`
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="auditorCode != null">
- auditor_code,
- </if>
- <if test="auditorTime != null">
- auditor_time,
- </if>
- <if test="taskId != null">
- task_id,
- </if>
- <if test="integrityCorrect != null">
- integrity_correct,
- </if>
- <if test="integrityError != null">
- `integrity_error`,
- </if>
- <if test="uniformityCorrect != null">
- `uniformity_correct`,
- </if>
- <if test="uniformityError != null">
- `uniformity_error`,
- </if>
- <if test="normativeCorrect != null">
- `normative_correct`,
- </if>
- <if test="normativeError != null">
- `normative_error`,
- </if>
- <if test="accuracyCorrect != null">
- `accuracy_correct`,
- </if>
- <if test="accuracyError != null">
- `accuracy_error`,
- </if>
- `create_by`,
- `create_time`
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="auditorCode != null">
- #{auditorCode,jdbcType=VARCHAR},
- </if>
- <if test="auditorTime != null">
- #{auditorTime,jdbcType=TIMESTAMP},
- </if>
- <if test="taskId != null">
- #{taskId,jdbcType=BIGINT},
- </if>
- <if test="integrityCorrect != null">
- #{integrityCorrect,jdbcType=INT},
- </if>
- <if test="integrityError != null">
- #{integrityError,jdbcType=INT},
- </if>
- <if test="uniformityCorrect != null">
- #{uniformityCorrect,jdbcType=INT},
- </if>
- <if test="uniformityError != null">
- #{uniformityError,jdbcType=INT},
- </if>
- <if test="normativeCorrect != null">
- #{normativeCorrect,jdbcType=INT},
- </if>
- <if test="normativeError != null">
- #{normativeError,jdbcType=INT},
- </if>
- <if test="accuracyCorrect != null">
- #{accuracyCorrect,jdbcType=INT},
- </if>
- <if test="accuracyError != null">
- #{accuracyError,jdbcType=INT},
- </if>
- #{createBy,jdbcType=BIGINT},
- #{createTime,jdbcType=TIMESTAMP}
- </trim>
- </insert>
- </mapper>
|