| | |
| | | delete from sta_repair_info |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo" useGeneratedKeys="true"> |
| | | <insert id="insert" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo"> |
| | | insert into sta_repair_info |
| | | ( id,device_no,work_id |
| | | ,from_node,repair_reason,repair_by |
| | |
| | | ,#{fromNode,jdbcType=BIGINT},#{repairReason,jdbcType=VARCHAR},#{repairBy,jdbcType=BIGINT} |
| | | ,#{repairTime,jdbcType=TIMESTAMP}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo" useGeneratedKeys="true"> |
| | | <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo"> |
| | | insert into sta_repair_info |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |