liurunyu
7 天以前 0bd3125739c0d8bded4f7bd405fd99f1723df964
pms-parent/pms-global/src/main/resources/mapper/PltProductionLineMapper.xml
@@ -37,7 +37,7 @@
        delete from plt_production_line
        where  id = #{id,jdbcType=BIGINT} 
    </delete>
    <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductionLine" useGeneratedKeys="true">
    <insert id="insert" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductionLine">
        insert into plt_production_line
        ( id,name,type
        ,factory,director,d_mobile
@@ -48,7 +48,7 @@
        ,#{installTime,jdbcType=VARCHAR},#{deleted,jdbcType=TINYINT},#{remark,jdbcType=VARCHAR}
        )
    </insert>
    <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductionLine" useGeneratedKeys="true">
    <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPlt.PltProductionLine">
        insert into plt_production_line
        <trim prefix="(" suffix=")" suffixOverrides=",">
                <if test="id != null">id,</if>