| | |
| | | t.come_factory_time as comeFactoryTime, |
| | | t.current_cycle_time as currentCycleTime, |
| | | t.status as status, |
| | | t.grouting_holes as groutingHoles |
| | | t.grouting_holes as groutingHoles, |
| | | t.warning_value as warningValue, |
| | | t.warning_day as warningDay |
| | | </sql> |
| | | |
| | | <sql id="condition_query"> |
| | |
| | | <if test="groutingHoles != null and groutingHoles!=''"> |
| | | grouting_holes, |
| | | </if> |
| | | <if test="warningValue != null"> |
| | | warning_value, |
| | | </if> |
| | | <if test="warningDay != null"> |
| | | warning_day, |
| | | </if> |
| | | </trim> |
| | | |
| | | <trim prefix="values (" suffix=")" suffixOverrides="," > |
| | |
| | | <if test="groutingHoles != null and groutingHoles!=''"> |
| | | #{groutingHoles}, |
| | | </if> |
| | | <if test="warningValue != null"> |
| | | #{warningValue}, |
| | | </if> |
| | | <if test="warningDay != null"> |
| | | #{warningDay}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="updateTime != null"> |
| | | update_time = #{updateTime}, |
| | | </if> |
| | | <if test="warningValue != null"> |
| | | warning_value=#{warningValue}, |
| | | </if> |
| | | <if test="warningDay != null"> |
| | | warning_day=#{warningDay}, |
| | | </if> |
| | | </set> |
| | | where mould_id=#{mouldId} |
| | | </update> |