selectNodeBySort,sta_repair_info.insertSelective 方法修改
| | |
| | | from pr_production_node |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </select> |
| | | <select id="selectNodeBySort" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| | | <select id="selectNodeBySort" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from pr_production_node |
| | |
| | | <if test="fromNode != null">from_node,</if> |
| | | <if test="repairReason != null and repairReason !=''">repair_reason,</if> |
| | | <if test="repairBy != null">repair_by,</if> |
| | | <if test="repairTime != null and repairTime !=''">repair_time,</if> |
| | | <if test="repairTime != null">repair_time,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id,jdbcType=BIGINT},</if> |
| | |
| | | <if test="fromNode != null">#{fromNode,jdbcType=BIGINT},</if> |
| | | <if test="repairReason != null and repairReason !=''">#{repairReason,jdbcType=VARCHAR},</if> |
| | | <if test="repairBy != null">#{repairBy,jdbcType=BIGINT},</if> |
| | | <if test="repairTime != null and repairTime !=''">#{repairTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="repairTime != null">#{repairTime,jdbcType=TIMESTAMP},</if> |
| | | </trim> |
| | | </insert> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo"> |