wuzeyu
2024-12-18 c314c7f4898e368202ddbdfaf026678a2d37b94b
pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml
@@ -709,4 +709,21 @@
        WHERE id != #{id}
        and `name` = #{intakeName}
    </select>
    <!--app修改取水口经纬度-->
    <update id="updateByPrimaryKeySelective1" parameterType="com.dy.pipIrrGlobal.voPr.IntakeUpdateLngLat">
        <!--@mbg.generated-->
        update pr_intake
        <set>
            <if test="lng != null">
                lng = #{lng,jdbcType=DOUBLE},
            </if>
            <if test="lat != null">
                lat = #{lat,jdbcType=DOUBLE},
            </if>
            <if test="operateDt != null">
                operateDt = #{operateDt,jdbcType=TIMESTAMP},
            </if>
        </set>
        where id = #{id,jdbcType=BIGINT}
    </update>
</mapper>