隐患排查APP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.8 KiB

1 year ago
<?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">
<mapper namespace="generate.FaceSafeCsKeycarDao">
<resultMap id="BaseResultMap" type="generate.FaceSafeCsKeycar">
<!--@mbg.generated-->
<result column="ID" jdbcType="VARCHAR" property="id" />
<result column="TOTAL_CARCNT" jdbcType="DECIMAL" property="totalCarcnt" />
<result column="GLKY_CARCNT" jdbcType="DECIMAL" property="glkyCarcnt" />
<result column="LYBC_CARCNT" jdbcType="DECIMAL" property="lybcCarcnt" />
<result column="WHPYSC_CARCNT" jdbcType="DECIMAL" property="whpyscCarcnt" />
<result column="CS_ID" jdbcType="VARCHAR" property="csId" />
<result column="BIGCAR_RATE" jdbcType="DECIMAL" property="bigcarRate" />
<result column="COLLECT_TIME" jdbcType="TIMESTAMP" property="collectTime" />
</resultMap>
<insert id="insert" keyColumn="ID" keyProperty="id" parameterType="generate.FaceSafeCsKeycar" useGeneratedKeys="true">
<!--@mbg.generated-->
insert into FACE_SAFE_CS_KEYCAR (TOTAL_CARCNT, GLKY_CARCNT, LYBC_CARCNT,
WHPYSC_CARCNT, CS_ID, BIGCAR_RATE,
COLLECT_TIME)
values (#{totalCarcnt,jdbcType=DECIMAL}, #{glkyCarcnt,jdbcType=DECIMAL}, #{lybcCarcnt,jdbcType=DECIMAL},
#{whpyscCarcnt,jdbcType=DECIMAL}, #{csId,jdbcType=VARCHAR}, #{bigcarRate,jdbcType=DECIMAL},
#{collectTime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" keyColumn="ID" keyProperty="id" parameterType="generate.FaceSafeCsKeycar" useGeneratedKeys="true">
<!--@mbg.generated-->
insert into FACE_SAFE_CS_KEYCAR
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="totalCarcnt != null">
TOTAL_CARCNT,
</if>
<if test="glkyCarcnt != null">
GLKY_CARCNT,
</if>
<if test="lybcCarcnt != null">
LYBC_CARCNT,
</if>
<if test="whpyscCarcnt != null">
WHPYSC_CARCNT,
</if>
<if test="csId != null">
CS_ID,
</if>
<if test="bigcarRate != null">
BIGCAR_RATE,
</if>
<if test="collectTime != null">
COLLECT_TIME,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="totalCarcnt != null">
#{totalCarcnt,jdbcType=DECIMAL},
</if>
<if test="glkyCarcnt != null">
#{glkyCarcnt,jdbcType=DECIMAL},
</if>
<if test="lybcCarcnt != null">
#{lybcCarcnt,jdbcType=DECIMAL},
</if>
<if test="whpyscCarcnt != null">
#{whpyscCarcnt,jdbcType=DECIMAL},
</if>
<if test="csId != null">
#{csId,jdbcType=VARCHAR},
</if>
<if test="bigcarRate != null">
#{bigcarRate,jdbcType=DECIMAL},
</if>
<if test="collectTime != null">
#{collectTime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
</mapper>